@quadrel-enterprise-ui/framework 21.6.0 → 21.7.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.
@@ -597,6 +597,13 @@ const quadrelIconNames = flatten(quadrelIcons.map(icon => icon.name));
597
597
 
598
598
  /**
599
599
  * The component **QdIcon** can be used to display the icons available in the framework.
600
+ *
601
+ * @parent button[qdButtonStack] {supported}
602
+ * description: Replaces the arrow the stack button renders by default. It is the only slot that names an
603
+ * icon.
604
+ *
605
+ * @parent button[qdIconButton] {supported}
606
+ * description: The icon is what an icon button shows. Its slot takes one qd-icon and nothing else.
600
607
  */
601
608
  class QdIconComponent {
602
609
  elementRef = inject(ElementRef);
@@ -995,6 +1002,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
995
1002
  /**
996
1003
  * The **QdButton** component, as the name suggests, provides a simple button.<br />
997
1004
  * It is possible to bind it to either a `button` tag or to an `a` tag.
1005
+ *
1006
+ * @slot default {text}
1007
+ * description: Holds the label of the button.
1008
+ * enforcedBy: none
1009
+ *
1010
+ * @parent qd-button-grid {supported}
1011
+ * description: Several buttons in a row belong in a button grid, which spaces and wraps them.
1012
+ *
1013
+ * @parent qd-grid {supported}
1014
+ * description: For a single button that takes its own cell in a form layout.
1015
+ *
1016
+ * @parent qd-dialog-action {supported}
1017
+ * description: The buttons of a dialog go into its action area, not into the dialog body.
1018
+ *
1019
+ * @parent qd-tile-button-list {supported}
1020
+ * description: The actions of a tile go into its button list, as the last row of the tile.
1021
+ *
1022
+ * @parent qd-section {unsupported}
1023
+ * description: A bare button in a section has no grid around it, so it lines up with nothing.
1024
+ * instead: Put it into the qd-grid that holds the form fields, in a cell of its own.
998
1025
  */
999
1026
  class QdButtonComponent {
1000
1027
  buttonLink = inject(QdButtonLinkDirective, { optional: true, host: true });
@@ -1075,6 +1102,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
1075
1102
  * Paragraph
1076
1103
  * </qd-text-section-paragraph>
1077
1104
  * </qd-text-section>
1105
+ *
1106
+ * @slot default {quadrel}
1107
+ * description: Holds the qd-text-section-headline and qd-text-section-paragraph elements of the text
1108
+ * section.
1109
+ * enforcedBy: none
1110
+ *
1111
+ * @parent qd-page-control-panel {supported}
1112
+ * description: The panel names the text section in a slot and renders it above the panel sections.
1113
+ *
1114
+ * @parent qd-dialog-confirmation {supported}
1115
+ * description: Marked with qdDialogConfirmInfo, qdDialogConfirmSuccess or qdDialogConfirmError, it is the
1116
+ * text the confirmation dialog shows in that state.
1078
1117
  */
1079
1118
  class QdTextSectionComponent {
1080
1119
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdTextSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -1089,6 +1128,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
1089
1128
  * The **QdTextSectionParagraph** component creates a body text inside the **QdTextSectionContainer**.
1090
1129
  *
1091
1130
  * * @see parent component: **QdTextSection**.
1131
+ *
1132
+ * @slot default {text}
1133
+ * description: Carries the body text of the text section.
1134
+ * enforcedBy: none
1135
+ *
1136
+ * @parent qd-text-section {supported}
1137
+ * description: The body text of a text section, below the headline.
1138
+ *
1139
+ * @parent qd-section {unsupported}
1140
+ * description: A paragraph on its own has no headline to belong to and none of the text spacing.
1141
+ * instead: Wrap it in a qd-text-section, together with the headline.
1092
1142
  */
1093
1143
  class QdTextSectionParagraphComponent {
1094
1144
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdTextSectionParagraphComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -1099,6 +1149,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
1099
1149
  args: [{ selector: 'qd-text-section-paragraph', host: { class: 'qd-text-section-paragraph-wrapper' }, standalone: false, template: "<p class=\"qd-text-section-paragraph\"><ng-content></ng-content></p>\n", styles: [":host{display:block;margin:1rem 1rem 1.5rem}:host{margin:0 0 1.5rem}.qd-text-section-paragraph{padding:0;margin:0;color:#171717;font-size:.875rem;font-weight:300;line-height:1.375rem}\n"] }]
1100
1150
  }] });
1101
1151
 
1152
+ /**
1153
+ * The **QdDialogAction** component holds the buttons of a dialog.
1154
+ *
1155
+ * * @see parent component **QdDialog**.
1156
+ *
1157
+ * @slot default {quadrel}
1158
+ * description: Holds the dialog buttons, written with the qdButton directive.
1159
+ * enforcedBy: none
1160
+ *
1161
+ * @parent qd-dialog {supported}
1162
+ * description: The only place for dialog buttons. The dialog names it in a slot and puts it in the footer.
1163
+ */
1102
1164
  class QdDialogActionComponent {
1103
1165
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdDialogActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1104
1166
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: QdDialogActionComponent, isStandalone: false, selector: "qd-dialog-action", ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:flex;column-gap:.625rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -1293,6 +1355,20 @@ const QD_PAGE_DIALOG_WITH_BREADCRUMBS_HOST = new InjectionToken('QD_PAGE_DIALOG_
1293
1355
  /**
1294
1356
  * **QdDialogService**: Service for managing dialogs in the application.
1295
1357
  * This service provides methods to open, close, and manage the handling of dialog data.
1358
+ *
1359
+ * @slot open {custom-component}
1360
+ * description: Renders your component inside a dialog. Its template should be built with qd-dialog.
1361
+ * enforcedBy: none
1362
+ *
1363
+ * @slot openFullscreen {custom-component}
1364
+ * description: Renders your component inside a fullscreen dialog.
1365
+ * enforcedBy: none
1366
+ *
1367
+ * @slot dialog {custom-markup}
1368
+ * description: Renders a route of your application inside the page dialog. openPageDialogWithBreadcrumbs
1369
+ * opens it and navigates there, navigateInsideDialog moves on to another route. This is an exit
1370
+ * point: whatever the route renders ends up here.
1371
+ * enforcedBy: router-config
1296
1372
  */
1297
1373
  class QdDialogService {
1298
1374
  dialog = inject(Dialog);
@@ -1430,6 +1506,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
1430
1506
  /**
1431
1507
  * The **QdIconButton** can only display icons, in contrast to the **QdButton**. <br />
1432
1508
  * It is possible to bind it to either a `button` tag or to an `a` tag.
1509
+ *
1510
+ * @slot default {quadrel}
1511
+ * description: Holds the qd-icon that is shown inside the button.
1512
+ * enforcedBy: none
1513
+ *
1514
+ * @parent qd-tile-button-list {supported}
1515
+ * description: The compact action of a tile, next to the other tile buttons.
1516
+ *
1517
+ * @parent qd-button-grid {supported}
1518
+ * description: Lines up with the labelled buttons of the same row.
1433
1519
  */
1434
1520
  class QdIconButtonComponent {
1435
1521
  /**
@@ -1513,7 +1599,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
1513
1599
  * You have unsaved changes!
1514
1600
  * </form>
1515
1601
  * </qd-dialog>
1516
- * */
1602
+ *
1603
+ *
1604
+ * @slot qd-page-info-banner {quadrel}
1605
+ * description: Holds the banner strip between the title and the body.
1606
+ * enforcedBy: ng-content-select
1607
+ *
1608
+ * @slot default {custom-markup}
1609
+ * description: Carries the body of the dialog, which the app owns completely.
1610
+ * enforcedBy: none
1611
+ *
1612
+ * @slot qd-dialog-action {quadrel}
1613
+ * description: Takes an extra dialog button that the config cannot express.
1614
+ * enforcedBy: ng-content-select
1615
+ */
1517
1616
  class QdDialogComponent {
1518
1617
  dialogRef = inject(DialogRef);
1519
1618
  dialog = inject(QdConfirmationDialogOpenerService);
@@ -1878,7 +1977,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
1878
1977
  }]
1879
1978
  }] });
1880
1979
 
1881
- // @ts-strict-ignore
1882
1980
  class QdMockButtonComponent {
1883
1981
  disabled = false;
1884
1982
  color = 'primary';
@@ -2043,7 +2141,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
2043
2141
 
2044
2142
  const chipStateDefault = 'info';
2045
2143
 
2046
- // @ts-strict-ignore
2047
2144
  class QdMockChipComponent {
2048
2145
  state = chipStateDefault;
2049
2146
  close = false;
@@ -2146,7 +2243,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
2146
2243
  }]
2147
2244
  }] });
2148
2245
 
2149
- // @ts-strict-ignore
2150
2246
  class QdMockContactCardComponent {
2151
2247
  contactData;
2152
2248
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdMockContactCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -2238,7 +2334,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
2238
2334
  }]
2239
2335
  }] });
2240
2336
 
2241
- // @ts-strict-ignore
2242
2337
  class QdMockPopoverOnClickDirective {
2243
2338
  viewContainerRef = inject(ViewContainerRef);
2244
2339
  hostRef = inject(ElementRef);
@@ -2291,7 +2386,8 @@ class QdMockPopoverOnClickDirective {
2291
2386
  const templateRootNode = this.getTemplateRootNode();
2292
2387
  if (!templateRootNode)
2293
2388
  return false;
2294
- return Array.prototype.some.call([templateRootNode, ...(templateRootNode?.getElementsByTagName(event.target.tagName) || [])], element => element === event.target);
2389
+ const elementsWithSameTag = templateRootNode.getElementsByTagName(event.target.tagName);
2390
+ return [templateRootNode, ...Array.from(elementsWithSameTag)].some(element => element === event.target);
2295
2391
  }
2296
2392
  getTemplateRootNode() {
2297
2393
  return this._embeddedView?.rootNodes?.[0];
@@ -5782,7 +5878,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
5782
5878
  }]
5783
5879
  }] });
5784
5880
 
5785
- // @ts-strict-ignore
5786
5881
  /**
5787
5882
  * @description Renders just a blank element.
5788
5883
  *
@@ -5865,6 +5960,10 @@ const qdHasContent = (value) => value !== '' && value !== undefined && value !==
5865
5960
 
5866
5961
  /**
5867
5962
  * The **QdChip** component can visualize different statuses.
5963
+ *
5964
+ * @slot default {text}
5965
+ * description: Carries the label text of the chip.
5966
+ * enforcedBy: none
5868
5967
  */
5869
5968
  class QdChipComponent {
5870
5969
  element = inject(ElementRef);
@@ -5909,7 +6008,7 @@ class QdChipComponent {
5909
6008
  this.renderer.setAttribute(this.element.nativeElement, 'class', this.classes);
5910
6009
  }
5911
6010
  isLabelEmpty() {
5912
- return this.label?.nativeElement?.innerHTML?.replace(/\s*/g, '') === '';
6011
+ return this.label.nativeElement.innerHTML.replace(/\s*/g, '') === '';
5913
6012
  }
5914
6013
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdChipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
5915
6014
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: QdChipComponent, isStandalone: false, selector: "qd-chip", inputs: { state: "state", close: "close", data: "data", testId: ["data-test-id", "testId"] }, outputs: { closeClickEmitter: "closeClickEmitter" }, viewQueries: [{ propertyName: "label", first: true, predicate: ["label"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<span #label [class]=\"'qd-chip__label'\" [attr.data-test-id]=\"testId + '-caption'\"><ng-content></ng-content></span>\n@if (close) {\n<qd-icon\n [icon]=\"'times'\"\n (click)=\"$event.stopPropagation(); clickClose()\"\n [attr.data-test-id]=\"testId + '-close'\"\n></qd-icon>\n}\n", styles: [".qd-chip{display:inline-flex;padding:0 .5rem;border-width:.0625rem;border-style:solid;border-radius:1rem;cursor:default;font-size:.8125rem;font-weight:400;line-height:1.5rem;white-space:nowrap}.qd-chip .qd-icon{display:flex;cursor:pointer;font-size:1.25rem}.qd-chip.info{border-color:#069;color:#069}.qd-chip.positive{border-color:#00813a;color:#00813a}.qd-chip.warning{border-color:#ff9b00;color:#ff9b00}.qd-chip.critical{border-color:#c70023;color:#c70023}.qd-chip.inactive{border-color:#979797;background:#d5d5d5;color:#979797}qd-filter-category .qd-chip.qd-chip{border-color:#757575;background:#757575;color:#fff;font-size:.75rem}qd-filter-category .qd-chip.qd-chip:hover,qd-filter-category .qd-chip.qd-chip:focus{background:#333}.qd-chip.neutral{border-color:#757575;color:#171717}qd-layout-page-process-header .qd-chip{padding:0 1rem;border-radius:1rem;line-height:1.75rem}.panel-type-control .qd-chip{padding:0 .5rem;border:.0625rem solid;border-radius:1rem;background:none;line-height:1.5rem}.panel-type-control .qd-chip:before{display:inline-block;width:.625rem;height:.625rem;border-radius:50%;margin-right:.625rem;background:red;content:\"\"}.qd-chip.empty{display:none}\n"], dependencies: [{ kind: "component", type: QdIconComponent, selector: "qd-icon", inputs: ["icon", "status"] }], encapsulation: i0.ViewEncapsulation.None });
@@ -6141,7 +6240,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
6141
6240
  type: Input
6142
6241
  }] } });
6143
6242
 
6144
- // @ts-strict-ignore
6145
6243
  /**
6146
6244
  * @description Renders one or multiple chips.
6147
6245
  *
@@ -6177,13 +6275,14 @@ class QdDataFacetsChipComponent {
6177
6275
  this._chipsSubject.next(this.getChips());
6178
6276
  }
6179
6277
  getChips() {
6180
- if (!qdHasContent(this.data))
6278
+ const data = this.data;
6279
+ if (data === undefined || !qdHasContent(data))
6181
6280
  return [];
6182
- const chips = Array.isArray(this.data) ? this.data : [this.data];
6281
+ const chips = Array.isArray(data) ? data : [data];
6183
6282
  return chips.map(chip => this.toChip(chip)).filter(chip => qdHasContent(chip.label));
6184
6283
  }
6185
6284
  toChip(chip) {
6186
- const label = this.getLabel(chip);
6285
+ const label = this.getLabel(chip) ?? '';
6187
6286
  return {
6188
6287
  label,
6189
6288
  state: this.config?.state?.[label] || this.getState(chip) || chipStateDefault
@@ -9896,6 +9995,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
9896
9995
  * ```html
9897
9996
  * <qd-checkbox-chips [(values)]="values" [config]="config"></qd-checkbox-chips>
9898
9997
  * ```
9998
+ *
9999
+ * @parent qd-grid {supported}
10000
+ * description: A form field goes into a grid cell, so labels and field widths line up across the form.
10001
+ *
10002
+ * @parent qd-subgrid {supported}
10003
+ * description: For a field that belongs to a subgroup of the form and follows its own column count.
9899
10004
  */
9900
10005
  class QdCheckboxChipsComponent {
9901
10006
  checkboxChipsService = inject(QdCheckboxChipsService, { self: true });
@@ -10388,6 +10493,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
10388
10493
  * ```html
10389
10494
  * <qd-checkboxes [(values)]="values" [config]="config"></qd-checkboxes>
10390
10495
  * ```
10496
+ *
10497
+ * @parent qd-grid {supported}
10498
+ * description: A form field goes into a grid cell, so labels and field widths line up across the form.
10499
+ *
10500
+ * @parent qd-subgrid {supported}
10501
+ * description: For a field that belongs to a subgroup of the form and follows its own column count.
10391
10502
  */
10392
10503
  class QdCheckboxesComponent {
10393
10504
  checkboxesService = inject(QdCheckboxesService);
@@ -11344,21 +11455,22 @@ function qdDelayAndHold(options = {}) {
11344
11455
  : of(state)));
11345
11456
  }
11346
11457
 
11347
- // @ts-strict-ignore
11348
11458
  class QdTranslateService {
11349
11459
  translateService = inject(TranslateService);
11350
11460
  translate(translatable) {
11351
- let translation;
11352
11461
  if (translatable.i18n) {
11353
- translation = this.translateService.instant(translatable.i18n);
11462
+ const translation = this.translateService.instant(translatable.i18n);
11463
+ return translation || '';
11354
11464
  }
11355
- else if (translatable.translation) {
11356
- translation = translatable.translation[this.translateService.currentLang || 'de'];
11465
+ if (translatable.translation) {
11466
+ const language = this.translateService.currentLang || 'de';
11467
+ const translation = translatable.translation[language];
11357
11468
  if (translation === undefined) {
11358
11469
  console.error(`Quadrel Framework | QdTranslate - Language "${this.translateService.currentLang}" is not implemented.`);
11359
11470
  }
11471
+ return translation || '';
11360
11472
  }
11361
- return translation || '';
11473
+ return '';
11362
11474
  }
11363
11475
  get currentLang() {
11364
11476
  return this.translateService.currentLang;
@@ -11762,6 +11874,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
11762
11874
  * ```html
11763
11875
  * <qd-dropdown [(value)]="value" [config]="config"></qd-dropdown>
11764
11876
  * ```
11877
+ *
11878
+ * @parent qd-grid {supported}
11879
+ * description: A form field goes into a grid cell, so labels and field widths line up across the form.
11880
+ *
11881
+ * @parent qd-subgrid {supported}
11882
+ * description: For a field that belongs to a subgroup of the form and follows its own column count.
11765
11883
  */
11766
11884
  class QdDropdownComponent {
11767
11885
  translateService = inject(TranslateService);
@@ -12495,6 +12613,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
12495
12613
  * }
12496
12614
  * }
12497
12615
  * ```
12616
+ *
12617
+ * @slot [qdIconButton] {quadrel}
12618
+ * description: Puts an icon button into the suffix of the field, next to the status icons.
12619
+ * enforcedBy: ng-content-select
12620
+ *
12621
+ * @parent qd-grid {supported}
12622
+ * description: A form field goes into a grid cell, so labels and field widths line up across the form.
12623
+ *
12624
+ * @parent qd-subgrid {supported}
12625
+ * description: For a field that belongs to a subgroup of the form and follows its own column count.
12498
12626
  */
12499
12627
  class QdInputComponent {
12500
12628
  actionEmitterService = inject(QdFormsActionEmitterService);
@@ -13086,6 +13214,12 @@ const DEFAULT_LANGUAGE = 'de';
13086
13214
  * ```html
13087
13215
  * <qd-datepicker [(value)]="value" [config]="config"></qd-datepicker>
13088
13216
  * ```
13217
+ *
13218
+ * @parent qd-grid {supported}
13219
+ * description: A form field goes into a grid cell, so labels and field widths line up across the form.
13220
+ *
13221
+ * @parent qd-subgrid {supported}
13222
+ * description: For a field that belongs to a subgroup of the form and follows its own column count.
13089
13223
  */
13090
13224
  class QdDatepickerComponent {
13091
13225
  actionEmitterService = inject(QdFormsActionEmitterService);
@@ -13745,6 +13879,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
13745
13879
  *
13746
13880
  * When the full form is submitted, the file's metadata (such as name, type, and size) is included.
13747
13881
  * This allows the backend to perform cleanup tasks, like removing temporary uploads that were not saved.
13882
+ *
13883
+ * @parent qd-grid {supported}
13884
+ * description: A form field goes into a grid cell, so labels and field widths line up across the form.
13885
+ *
13886
+ * @parent qd-subgrid {supported}
13887
+ * description: For a field that belongs to a subgroup of the form and follows its own column count.
13748
13888
  */
13749
13889
  class QdFileUploadComponent {
13750
13890
  controlContainer = inject(ControlContainer, { optional: true, host: true, skipSelf: true });
@@ -14467,6 +14607,12 @@ const validatorsDroppedWithOptsWarning = 'Quadrel Framework | QdForms - QdFormCo
14467
14607
  * ```html
14468
14608
  * <qd-multi-input [(values)]="values" [config]="config"></qd-multi-input>
14469
14609
  * ```
14610
+ *
14611
+ * @parent qd-grid {supported}
14612
+ * description: A form field goes into a grid cell, so labels and field widths line up across the form.
14613
+ *
14614
+ * @parent qd-subgrid {supported}
14615
+ * description: For a field that belongs to a subgroup of the form and follows its own column count.
14470
14616
  */
14471
14617
  class QdMultiInputComponent {
14472
14618
  hostRef = inject(ElementRef);
@@ -15045,6 +15191,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
15045
15191
  * ```html
15046
15192
  * <qd-pin-code [(value)]="value" [config]="config"></qd-pin-code>
15047
15193
  * ```
15194
+ *
15195
+ * @parent qd-grid {supported}
15196
+ * description: A form field goes into a grid cell, so labels and field widths line up across the form.
15197
+ *
15198
+ * @parent qd-subgrid {supported}
15199
+ * description: For a field that belongs to a subgroup of the form and follows its own column count.
15048
15200
  */
15049
15201
  class QdPinCodeComponent {
15050
15202
  pinCodeService = inject(QdPinCodeService);
@@ -15511,6 +15663,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
15511
15663
  * ```html
15512
15664
  * <qd-radio-buttons [(value)]="value" [config]="config"></qd-radio-buttons>
15513
15665
  * ```
15666
+ *
15667
+ * @parent qd-grid {supported}
15668
+ * description: A form field goes into a grid cell, so labels and field widths line up across the form.
15669
+ *
15670
+ * @parent qd-subgrid {supported}
15671
+ * description: For a field that belongs to a subgroup of the form and follows its own column count.
15514
15672
  */
15515
15673
  class QdRadioButtonsComponent {
15516
15674
  radioButtonsService = inject(QdRadioButtonsService);
@@ -16006,6 +16164,12 @@ const getPlainTextFromHtml = (input, parserFactory = () => new DOMParser()) => {
16006
16164
  * ```html
16007
16165
  * <qd-richtext [(value)]="value" [config]="config"></qd-richtext>
16008
16166
  * ```
16167
+ *
16168
+ * @parent qd-grid {supported}
16169
+ * description: A form field goes into a grid cell, so labels and field widths line up across the form.
16170
+ *
16171
+ * @parent qd-subgrid {supported}
16172
+ * description: For a field that belongs to a subgroup of the form and follows its own column count.
16009
16173
  */
16010
16174
  class QdRichtextComponent {
16011
16175
  controlContainer = inject(ControlContainer, { optional: true, host: true, skipSelf: true });
@@ -16786,6 +16950,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
16786
16950
  * ```html
16787
16951
  * <qd-switches [(values)]="values" [config]="config"></qd-switches>
16788
16952
  * ```
16953
+ *
16954
+ * @parent qd-grid {supported}
16955
+ * description: A form field goes into a grid cell, so labels and field widths line up across the form.
16956
+ *
16957
+ * @parent qd-subgrid {supported}
16958
+ * description: For a field that belongs to a subgroup of the form and follows its own column count.
16789
16959
  */
16790
16960
  class QdSwitchesComponent {
16791
16961
  switchesService = inject(QdSwitchesService);
@@ -17052,6 +17222,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
17052
17222
  * ```html
17053
17223
  * <qd-textarea [(value)]="value" [config]="config"></qd-textarea>
17054
17224
  * ```
17225
+ *
17226
+ * @parent qd-grid {supported}
17227
+ * description: A form field goes into a grid cell, so labels and field widths line up across the form.
17228
+ *
17229
+ * @parent qd-subgrid {supported}
17230
+ * description: For a field that belongs to a subgroup of the form and follows its own column count.
17055
17231
  */
17056
17232
  class QdTextareaComponent {
17057
17233
  actionEmitterService = inject(QdFormsActionEmitterService);
@@ -17898,6 +18074,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
17898
18074
  * | remove() | context: string, id: string | Removes specific notification. | - |
17899
18075
  * | removeAll() | context: string | Removes all notifications in context. | - |
17900
18076
  * | reset() | - | Clear all notifications. | - |
18077
+ *
18078
+ * @slot qd-notification-content {quadrel}
18079
+ * description: Takes the message of an inline notification when the app needs markup instead of plain text.
18080
+ * enforcedBy: ng-content-select
17901
18081
  */
17902
18082
  class QdNotificationComponent {
17903
18083
  notificationService = inject(QdNotificationsService);
@@ -17975,6 +18155,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
17975
18155
 
17976
18156
  /**
17977
18157
  * **QdNotificationContent**: a container for the content of a single **QdNotification** item.
18158
+ *
18159
+ * @slot default {custom-markup}
18160
+ * description: Carries the message of one inline notification, any markup the app owns.
18161
+ * enforcedBy: none
18162
+ *
18163
+ * @parent qd-notification {supported}
18164
+ * description: The only place for it. The notification names this element and nothing else in its slot.
17978
18165
  */
17979
18166
  class QdNotificationContentComponent {
17980
18167
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdNotificationContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -18194,6 +18381,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
18194
18381
  * The **QdTextSectionHeadline** component creates a headline inside the **QdTextSectionContainer**.
18195
18382
  *
18196
18383
  * * @see parent component: **QdTextSection**.
18384
+ *
18385
+ * @slot default {text}
18386
+ * description: Carries the headline text of the text section.
18387
+ * enforcedBy: none
18388
+ *
18389
+ * @parent qd-text-section {supported}
18390
+ * description: The headline of a text section. It carries the heading style the section expects.
18197
18391
  */
18198
18392
  class QdTextSectionHeadlineComponent {
18199
18393
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdTextSectionHeadlineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -18222,6 +18416,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
18222
18416
  * The **QdButtonGrid** component provides a container that allows to arrange multiple buttons horizontally.
18223
18417
  *
18224
18418
  * * @see parent component **QdButton**.
18419
+ *
18420
+ * @slot button {quadrel}
18421
+ * description: Takes the buttons that the app wants to arrange in a row.
18422
+ * enforcedBy: ng-content-select
18423
+ *
18424
+ * @parent qd-section {supported}
18425
+ * description: Groups the buttons that belong to the content of a section, below it.
18225
18426
  */
18226
18427
  class QdButtonGridComponent {
18227
18428
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdButtonGridComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -18236,6 +18437,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
18236
18437
  * With the **QdButtonStackButton** you can display and set up various states in the process.
18237
18438
  *
18238
18439
  * @see parent component **QdButtonStack**.
18440
+ *
18441
+ * @slot default {text}
18442
+ * description: Holds the label of the stack button.
18443
+ * enforcedBy: none
18444
+ *
18445
+ * @slot qd-icon {quadrel}
18446
+ * description: Takes an icon that replaces the one the component renders itself.
18447
+ * enforcedBy: ng-content-select
18448
+ *
18449
+ * @parent qd-button-stack {supported}
18450
+ * description: The only place for it. The stack names this button in a slot and stacks the entries.
18239
18451
  */
18240
18452
  class QdButtonStackButtonComponent {
18241
18453
  /**
@@ -18268,6 +18480,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
18268
18480
  * With the **QdButtonStack** component you can display and set up various states in the process.
18269
18481
  *
18270
18482
  * * @see child component **QdButtonStackButton**.
18483
+ *
18484
+ * @slot button[qdButtonStack] {quadrel}
18485
+ * description: Takes the stack buttons in the order the app writes them.
18486
+ * enforcedBy: ng-content-select
18487
+ *
18488
+ * @slot button[qd-button-stack] {quadrel}
18489
+ * description: The dash-style selector of v20. No directive answers to it any more, so a button written
18490
+ * this way is projected but not a stack button.
18491
+ * enforcedBy: ng-content-select
18492
+ * status: deprecated
18493
+ * instead: Write qdButtonStack, as the v20 to v21 migration guide says.
18271
18494
  */
18272
18495
  class QdButtonStackComponent {
18273
18496
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdButtonStackComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -18319,6 +18542,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
18319
18542
  * <!-- Secondary style (used as an action within a QdSection) -->
18320
18543
  * <button qdButtonGhost [qdMenuButton]="menuConfig">Open Menu</button>
18321
18544
  * ```
18545
+ *
18546
+ * @slot default {text}
18547
+ * description: Holds the label of the button that opens the menu.
18548
+ * enforcedBy: none
18549
+ *
18550
+ * @parent qd-button-grid {supported}
18551
+ * description: Groups the menu button with the other buttons that belong to the same content.
18322
18552
  */
18323
18553
  class QdMenuButtonComponent {
18324
18554
  qdButtonGhost = inject(QdButtonGhostDirective, { optional: true, host: true });
@@ -18335,7 +18565,7 @@ class QdMenuButtonComponent {
18335
18565
  }
18336
18566
  constructor() {
18337
18567
  const isViewportAdaptiveEnabled = inject(QD_VIEWPORT_ADAPTIVE_ENABLED, { optional: true });
18338
- this.onlyIconOnSmallViewport = isViewportAdaptiveEnabled;
18568
+ this.onlyIconOnSmallViewport = isViewportAdaptiveEnabled ?? false;
18339
18569
  }
18340
18570
  ngOnInit() {
18341
18571
  if (!this.config)
@@ -18464,6 +18694,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
18464
18694
  * <qd-input qdColumn="2" />
18465
18695
  * <qd-input qdColumn="3" />
18466
18696
  * </qd-grid>
18697
+ *
18698
+ * @parent qd-grid {supported}
18699
+ * description: Put the marker on a cell of a grid. It reads the column count from the grid around it.
18700
+ *
18701
+ * @parent qd-subgrid {supported}
18702
+ * description: The same inside a subgroup, where the subgrid sets the column count instead.
18703
+ *
18704
+ * @parent [qdColumns] {unsupported}
18705
+ * description: The marker works there, but the qdColumns directive is on its way out.
18706
+ * instead: Put the cell into a qd-grid.
18467
18707
  */
18468
18708
  class QdColumnDirective {
18469
18709
  _renderer = inject(Renderer2);
@@ -18795,6 +19035,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
18795
19035
  * <qd-input qdColumn="2" />
18796
19036
  * <qd-input qdColumn="3" />
18797
19037
  * </div>
19038
+ *
19039
+ * @parent qd-section {unsupported}
19040
+ * description: It turns your own element into a grid, and that is what qd-grid is for. The directive is on
19041
+ * its way out.
19042
+ * instead: Use a qd-grid.
18798
19043
  */
18799
19044
  class QdColumnsDirective {
18800
19045
  _renderer = inject(Renderer2);
@@ -18989,6 +19234,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
18989
19234
  * <qd-grid [formGroup]="form">
18990
19235
  * <qd-input formControlName="name" [config]="{ label: { i18n: 'i18n.name' } }" />
18991
19236
  * </qd-grid>
19237
+ *
19238
+ * @slot default {quadrel}
19239
+ * description: Takes the cells of the grid: form fields and other Quadrel components, each with the
19240
+ * qdColumn directive.
19241
+ * enforcedBy: none
19242
+ *
19243
+ * @parent qd-section {supported}
19244
+ * description: The normal way to lay out the content of a section, above all for form fields.
18992
19245
  */
18993
19246
  class QdGridComponent {
18994
19247
  _renderer = inject(Renderer2);
@@ -19059,6 +19312,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
19059
19312
  * <qd-input qdColumn="4" />
19060
19313
  * <qd-subgrid>
19061
19314
  * </qd-grid>
19315
+ *
19316
+ * @slot default {quadrel}
19317
+ * description: Takes the cells of one subgroup inside a qd-grid, each with the qdColumn directive.
19318
+ * enforcedBy: none
19319
+ *
19320
+ * @parent qd-grid {supported}
19321
+ * description: The only place for a subgrid. It groups cells inside a grid and starts its own column count.
19062
19322
  */
19063
19323
  class QdSubgridComponent {
19064
19324
  gridService = inject(QdGridService);
@@ -19113,6 +19373,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
19113
19373
  * <qd-input qdColumn="3" qdColumnBreakBefore /> <!-- will be placed in a new row -->
19114
19374
  * <qd-input qdColumn="3" />
19115
19375
  * </qd-grid>
19376
+ *
19377
+ * @parent qd-grid {supported}
19378
+ * description: Put it on a grid cell that has to start a new row. It only means something next to qdColumn.
19116
19379
  */
19117
19380
  class QdColumnBreakBeforeDirective {
19118
19381
  _renderer = inject(Renderer2);
@@ -19166,6 +19429,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
19166
19429
  * <qd-input qdColumn="2" />
19167
19430
  * <qd-input qdColumn="3" />
19168
19431
  * </qd-grid>
19432
+ *
19433
+ * @parent qd-grid {supported}
19434
+ * description: Put it on a grid cell that has to keep the next cell in its row. It works next to qdColumn.
19169
19435
  */
19170
19436
  class QdColumnNextInSameRowDirective {
19171
19437
  _renderer = inject(Renderer2);
@@ -19986,6 +20252,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
19986
20252
  * <qd-text-section qdDialogConfirmationError>Your custom error content</qd-text-section>
19987
20253
  * </qd-dialog-confirmation>
19988
20254
  * ```
20255
+ *
20256
+ * @slot [qdDialogConfirmInfo] {custom-markup}
20257
+ * description: Holds the content the dialog shows while it asks for confirmation.
20258
+ * enforcedBy: ng-content-select
20259
+ * status: defect
20260
+ * instead: Write the bare attribute qdDialogConfirmInfo on your element. The qdDialogConfirmationInfo
20261
+ * directive does not reach this slot.
20262
+ *
20263
+ * @slot [qdDialogConfirmSuccess] {custom-markup}
20264
+ * description: Holds the content the dialog shows after the confirmation succeeded.
20265
+ * enforcedBy: ng-content-select
20266
+ * status: defect
20267
+ * instead: Write the bare attribute qdDialogConfirmSuccess on your element. The
20268
+ * qdDialogConfirmationSuccess directive does not reach this slot.
20269
+ *
20270
+ * @slot [qdDialogConfirmError] {custom-markup}
20271
+ * description: Holds the content the dialog shows after the confirmation failed.
20272
+ * enforcedBy: ng-content-select
20273
+ * status: defect
20274
+ * instead: Write the bare attribute qdDialogConfirmError on your element. The qdDialogConfirmationError
20275
+ * directive does not reach this slot.
19989
20276
  */
19990
20277
  class QdDialogConfirmationComponent {
19991
20278
  confirmationResolver = inject(QD_DIALOG_CONFIRMATION_RESOLVER_TOKEN, {
@@ -20051,6 +20338,10 @@ class QdDialogConfirmationComponent {
20051
20338
  this.dialogRef?.close();
20052
20339
  }
20053
20340
  confirm() {
20341
+ if (!this.confirmationResolver) {
20342
+ console.error('Quadrel Framework | QdDialogConfirmation - Please provide a confirmation resolver.');
20343
+ return;
20344
+ }
20054
20345
  this.dialogService.startConfirmation();
20055
20346
  this._confirmSubscription.add(this.confirmationResolver.resolve().subscribe({
20056
20347
  next: () => this.handleSuccess(),
@@ -21226,6 +21517,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
21226
21517
  *
21227
21518
  * If your application needs authorization or custom download logic,
21228
21519
  * handle the download through your backend or file manager.
21520
+ *
21521
+ * @parent qd-section {supported}
21522
+ * description: The file list is the content of its own section, with the section title naming it.
21229
21523
  */
21230
21524
  class QdFileCollectorComponent {
21231
21525
  sectionActionService = inject(QdSectionToolbarActionService, { optional: true });
@@ -23793,6 +24087,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
23793
24087
  * preselection, and "Back to preselection" when the config starts with active items. It restores
23794
24088
  * the initial state. With instant filtering (`isInstantFiltering`) the apply and reset buttons
23795
24089
  * are hidden and the filter applies on every change.
24090
+ *
24091
+ * @parent qd-section {supported}
24092
+ * description: The section toolbar is where a filter belongs. A connector directive wires it to the
24093
+ * content.
23796
24094
  */
23797
24095
  class QdFilterComponent {
23798
24096
  filterService = inject(QdFilterService);
@@ -24292,6 +24590,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
24292
24590
  * The **QdContainerPairsCaption** is the key for a single key-value pair.
24293
24591
  *
24294
24592
  * * @see parent component: **QdContainerPairsItem**
24593
+ *
24594
+ * @slot default {text}
24595
+ * description: Carries the key of a key value pair.
24596
+ * enforcedBy: none
24597
+ *
24598
+ * @parent qd-container-pairs-item {supported}
24599
+ * description: The key half of one pair. The item names it in a slot and puts it before the value.
24295
24600
  */
24296
24601
  class QdContainerPairsCaptionComponent {
24297
24602
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdContainerPairsCaptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -24320,6 +24625,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
24320
24625
  * <qd-container-pairs-value>value</qd-container-pairs-value>
24321
24626
  * </qd-container-pairs-item>
24322
24627
  * </qd-container-pairs>
24628
+ *
24629
+ * @slot qd-container-pairs-header {quadrel}
24630
+ * description: Names the list, above all pairs.
24631
+ * enforcedBy: ng-content-select
24632
+ *
24633
+ * @slot default {quadrel}
24634
+ * description: Holds the qd-container-pairs-item elements of the list.
24635
+ * enforcedBy: none
24323
24636
  */
24324
24637
  class QdContainerPairsContainerComponent {
24325
24638
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdContainerPairsContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -24334,6 +24647,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
24334
24647
  * The **QdContainerPairsHeader** is a header that can be placed inside a **QdContainerPair**.
24335
24648
  *
24336
24649
  * * @see parent component: **QdContainerPairs**
24650
+ *
24651
+ * @slot default {text}
24652
+ * description: Carries the headline of the pairs list.
24653
+ * enforcedBy: none
24654
+ *
24655
+ * @parent qd-container-pairs {supported}
24656
+ * description: The headline of the whole pairs list, rendered above the items.
24337
24657
  */
24338
24658
  class QdContainerPairsHeaderComponent {
24339
24659
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdContainerPairsHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -24349,6 +24669,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
24349
24669
  *
24350
24670
  * * @see parent component: **QdContainerPairs**
24351
24671
  * * @see child components: **QdContainerPairsCaption**, **QdContainerPairsValue**
24672
+ *
24673
+ * @slot qd-container-pairs-caption {quadrel}
24674
+ * description: Holds the key of the pair.
24675
+ * enforcedBy: ng-content-select
24676
+ *
24677
+ * @slot qd-container-pairs-value {quadrel}
24678
+ * description: Holds the value of the pair.
24679
+ * enforcedBy: ng-content-select
24680
+ *
24681
+ * @parent qd-container-pairs {supported}
24682
+ * description: One item per pair. The container gives the list its layout and spacing.
24352
24683
  */
24353
24684
  class QdContainerPairsItemComponent {
24354
24685
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdContainerPairsItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -24363,6 +24694,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
24363
24694
  * The **QdContainerPairsValue** is the value for a single key-value pair.
24364
24695
  *
24365
24696
  * * @see parent component: **QdContainerPairsItem**
24697
+ *
24698
+ * @slot default {text}
24699
+ * description: Carries the value of a key value pair.
24700
+ * enforcedBy: none
24701
+ *
24702
+ * @parent qd-container-pairs-item {supported}
24703
+ * description: The value half of one pair. The item names it in a slot and puts it after the key.
24366
24704
  */
24367
24705
  class QdContainerPairsValueComponent {
24368
24706
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdContainerPairsValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -24377,6 +24715,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
24377
24715
  * The **QdHorizontalPairsCaption** is the key for a single key-value pair.
24378
24716
  *
24379
24717
  * * @see parent component: **QdHorizontalPairsItem**
24718
+ *
24719
+ * @slot default {text}
24720
+ * description: Carries the key of a pair.
24721
+ * enforcedBy: none
24722
+ *
24723
+ * @parent qd-horizontal-pairs-item {supported}
24724
+ * description: The key half of one pair. The item renders key and value in the order they are written.
24380
24725
  */
24381
24726
  class QdHorizontalPairsCaptionComponent {
24382
24727
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdHorizontalPairsCaptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -24401,6 +24746,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
24401
24746
  * <qd-horizontal-pairs-value>value</qd-horizontal-pairs-value>
24402
24747
  * </qd-horizontal-pairs-item>
24403
24748
  * </qd-horizontal-pairs>
24749
+ *
24750
+ * @slot default {quadrel}
24751
+ * description: Holds the qd-horizontal-pairs-item elements of the list.
24752
+ * enforcedBy: none
24404
24753
  */
24405
24754
  class QdHorizontalPairsComponent {
24406
24755
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdHorizontalPairsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -24416,6 +24765,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
24416
24765
  *
24417
24766
  * * @see parent component: **QdHorizontalPairs**
24418
24767
  * * @see child components: **QdHorizontalPairsCaption**, **QdHorizontalPairsValue**
24768
+ *
24769
+ * @slot default {quadrel}
24770
+ * description: Holds one qd-horizontal-pairs-caption and one qd-horizontal-pairs-value.
24771
+ * enforcedBy: none
24772
+ *
24773
+ * @parent qd-horizontal-pairs {supported}
24774
+ * description: One item per pair. The container puts the pairs in a row and spaces them.
24419
24775
  */
24420
24776
  class QdHorizontalPairsItemComponent {
24421
24777
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdHorizontalPairsItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -24430,6 +24786,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
24430
24786
  * The **QdHorizontalPairsValue** is the value for a single key-value pair.
24431
24787
  *
24432
24788
  * * @see parent component: **QdHorizontalPairsItem**
24789
+ *
24790
+ * @slot default {text}
24791
+ * description: Carries the value of a pair.
24792
+ * enforcedBy: none
24793
+ *
24794
+ * @parent qd-horizontal-pairs-item {supported}
24795
+ * description: The value half of one pair, written next to the caption.
24433
24796
  */
24434
24797
  class QdHorizontalPairsValueComponent {
24435
24798
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdHorizontalPairsValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -24444,6 +24807,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
24444
24807
  * The **QdStatusPairsCaption** is the key for a single key-value pair.
24445
24808
  *
24446
24809
  * * @see parent component: **QdStatusPairsItem**
24810
+ *
24811
+ * @slot default {text}
24812
+ * description: Carries the key of a pair.
24813
+ * enforcedBy: none
24814
+ *
24815
+ * @parent qd-status-pairs-item {supported}
24816
+ * description: The key half of one pair, written before the value.
24447
24817
  */
24448
24818
  class QdStatusPairsCaptionComponent {
24449
24819
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdStatusPairsCaptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -24460,6 +24830,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
24460
24830
  * The message is displayed when a single **QdStatusPairsItem** is set to "Error".
24461
24831
  *
24462
24832
  * * @see parent component: **QdStatusPairs**
24833
+ *
24834
+ * @slot default {text}
24835
+ * description: Carries the error message that belongs to the pair. Rendered only while the pair is in an
24836
+ * error state.
24837
+ * enforcedBy: none
24838
+ *
24839
+ * @parent qd-status-pairs {supported}
24840
+ * description: The list picks up the error with a ContentChild query and shows it under the failing pair.
24463
24841
  */
24464
24842
  class QdStatusPairsErrorComponent {
24465
24843
  ref = inject(ChangeDetectorRef);
@@ -24481,6 +24859,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
24481
24859
  *
24482
24860
  * * @see parent component: **QdStatusPairs**
24483
24861
  * * @see child components: **QdStatusPairsCaption**, **QdStatusPairsValue**
24862
+ *
24863
+ * @slot default {quadrel}
24864
+ * description: Holds one qd-status-pairs-caption, one qd-status-pairs-value and at most one
24865
+ * qd-status-pairs-error.
24866
+ * enforcedBy: none
24867
+ *
24868
+ * @parent qd-status-pairs {supported}
24869
+ * description: One item per pair. The container gives the list its layout and reads the error state.
24484
24870
  */
24485
24871
  class QdStatusPairsItemComponent {
24486
24872
  /**
@@ -24523,6 +24909,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
24523
24909
  * </qd-status-pairs-item>
24524
24910
  * <qd-status-pairs-error>error</qd-status-pairs-error>
24525
24911
  * </qd-status-pairs>
24912
+ *
24913
+ * @slot default {quadrel}
24914
+ * description: Holds the qd-status-pairs-item elements of the status list.
24915
+ * enforcedBy: none
24916
+ *
24917
+ * @parent qd-panel-section {supported}
24918
+ * description: The panel section names the status pairs in a slot and renders them below its title.
24526
24919
  */
24527
24920
  class QdStatusPairsComponent {
24528
24921
  statusPairErrorRef;
@@ -24553,6 +24946,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
24553
24946
  * The **QdStatusPairsValue** is the value for a single key-value pair.
24554
24947
  *
24555
24948
  * * @see parent component: **QdStatusPairsItem**
24949
+ *
24950
+ * @slot default {text}
24951
+ * description: Carries the value of a pair.
24952
+ * enforcedBy: none
24953
+ *
24954
+ * @parent qd-status-pairs-item {supported}
24955
+ * description: The value half of one pair, written after the key.
24556
24956
  */
24557
24957
  class QdStatusPairsValueComponent {
24558
24958
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdStatusPairsValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -24646,6 +25046,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
24646
25046
  * <qd-navigation-tiles>
24647
25047
  * <a qd-navigation-tile title="Home" icon="home" routerLink="/home"></a>
24648
25048
  * </qd-navigation-tiles>
25049
+ *
25050
+ * @slot [qd-navigation-tile] {quadrel}
25051
+ * description: Takes the tiles of the navigation, which the app writes as anchors with the
25052
+ * qd-navigation-tile attribute.
25053
+ * enforcedBy: ng-content-select
24649
25054
  */
24650
25055
  class NavigationTilesComponent {
24651
25056
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: NavigationTilesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -27863,6 +28268,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
27863
28268
  * ]
27864
28269
  * };
27865
28270
  * ```
28271
+ *
28272
+ * @parent qd-section {supported}
28273
+ * description: A table is the content of a section. The section frame carries its title, search and filter.
28274
+ *
28275
+ * @parent qd-panel-section {supported}
28276
+ * description: For a compact table inside a control panel, where the panel section names it in a slot.
27866
28277
  */
27867
28278
  class QdTableComponent {
27868
28279
  element = inject(ElementRef);
@@ -28343,6 +28754,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
28343
28754
  * }
28344
28755
  * }
28345
28756
  * ```
28757
+ *
28758
+ * @parent qd-section {supported}
28759
+ * description: Put it on the table inside the section that owns the context, so both read the same state.
28346
28760
  */
28347
28761
  class QdConnectorTableContextDirective {
28348
28762
  tableComponent = inject(QdTableComponent, { host: true });
@@ -28418,6 +28832,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
28418
28832
  * doSomethingFancyWith(filter, …)
28419
28833
  * }
28420
28834
  * ```
28835
+ *
28836
+ * @parent qd-section {supported}
28837
+ * description: Put it on the table inside the section that carries the filter. Both have to share a
28838
+ * section.
28421
28839
  */
28422
28840
  class QdConnectorTableFilterDirective {
28423
28841
  tableComponent = inject(QdTableComponent, { host: true });
@@ -28504,6 +28922,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
28504
28922
  * doSomethingFancyWith(search, …)
28505
28923
  * }
28506
28924
  * ```
28925
+ *
28926
+ * @parent qd-section {supported}
28927
+ * description: Put it on the table inside the section whose toolbar carries the search field.
28507
28928
  */
28508
28929
  class QdConnectorTableSearchDirective {
28509
28930
  tableComponent = inject(QdTableComponent, { host: true });
@@ -28593,6 +29014,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
28593
29014
  * <!-- Section content -->
28594
29015
  * </qd-section>
28595
29016
  * ```
29017
+ *
29018
+ * @parent qd-page {supported}
29019
+ * description: Put the marker on your own component inside a page, so it takes the place of a qd-section.
28596
29020
  */
28597
29021
  class QdSectionAdapterDirective {
28598
29022
  elementRef = inject(ElementRef);
@@ -28867,6 +29291,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
28867
29291
  * };
28868
29292
  * }
28869
29293
  * ```
29294
+ *
29295
+ * @slot default {quadrel}
29296
+ * description: Holds the content of the section, one kind per section: a qd-table, a qd-grid with form
29297
+ * fields, or another Quadrel component.
29298
+ * enforcedBy: none
29299
+ *
29300
+ * @parent qd-page {supported}
29301
+ * description: The standard place for a section on an overview or inspect page.
29302
+ *
29303
+ * @parent qd-page-tab {supported}
29304
+ * description: One section per tab. The tab projects with a bare ng-content, so nothing enforces it.
29305
+ *
29306
+ * @parent qd-page-step {supported}
29307
+ * description: One section per step, the same shape as a tab.
29308
+ *
29309
+ * @parent qd-page-control-panel {unsupported}
29310
+ * description: The panel projects it, but a section brings the frame of the page body, not the spacing of a
29311
+ * panel.
29312
+ * instead: qd-panel-section is the section built for the control panel and carries its spacing.
28870
29313
  */
28871
29314
  class QdSectionComponent {
28872
29315
  searchService = inject(QdSearchService);
@@ -29934,6 +30377,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
29934
30377
 
29935
30378
  /**
29936
30379
  * The **QdTree** allows to visualize hierarchical data.
30380
+ *
30381
+ * @parent qd-section {supported}
30382
+ * description: A tree is the content of a section, the same way a table is.
29937
30383
  */
29938
30384
  class QdTreeComponent {
29939
30385
  element = inject(ElementRef);
@@ -30311,6 +30757,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
30311
30757
  * </qd-page-control-panel>
30312
30758
  * </qd-page>
30313
30759
  * ```
30760
+ *
30761
+ * @slot qd-text-section {quadrel}
30762
+ * description: Takes a qd-text-section, written directly into the panel.
30763
+ * enforcedBy: ng-content-select
30764
+ *
30765
+ * @slot qd-panel-section {quadrel}
30766
+ * description: Takes a qd-panel-section, the place for the content of the panel.
30767
+ * enforcedBy: ng-content-select
30768
+ *
30769
+ * @slot qd-section {quadrel}
30770
+ * description: Takes a qd-section, written directly into the panel.
30771
+ * enforcedBy: ng-content-select
30772
+ *
30773
+ * @parent qd-page {supported}
30774
+ * description: The only place for a control panel.
30314
30775
  */
30315
30776
  class QdPageControlPanelComponent {
30316
30777
  config;
@@ -30406,6 +30867,12 @@ var QdFooterActionType;
30406
30867
  /**
30407
30868
  * **QdPageFooter** provides an empty container inside the **QdPage**. <br />
30408
30869
  * Note: This component is still in WIP status!
30870
+ *
30871
+ * @slot default {text}
30872
+ * visibility: internal
30873
+ * description: Carries the content that qd-page re-projects from its [qdPageFooter] slot, in front of the
30874
+ * configured action buttons.
30875
+ * enforcedBy: none
30409
30876
  */
30410
30877
  class QdPageFooterComponent {
30411
30878
  footerService = inject(QdPageFooterService);
@@ -30500,6 +30967,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
30500
30967
  * ...
30501
30968
  * </qd-dialog>
30502
30969
  * ```
30970
+ *
30971
+ * @parent qd-page {supported}
30972
+ * description: Shows a message that applies to the whole page, above the body.
30973
+ *
30974
+ * @parent qd-page-tab {supported}
30975
+ * description: Shows a message that only applies to this tab. A page level banner stays visible next to it.
30976
+ *
30977
+ * @parent qd-page-step {supported}
30978
+ * description: Shows a message that only applies to this step, the same shape as in a tab.
30979
+ *
30980
+ * @parent qd-dialog {supported}
30981
+ * description: Shows a message that applies to the whole dialog, between its title and its body. The dialog
30982
+ * names the banner in a slot of its own.
30503
30983
  */
30504
30984
  class QdPageInfoBannerComponent {
30505
30985
  /**
@@ -30972,6 +31452,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
30972
31452
  * </div>
30973
31453
  * </qd-page>
30974
31454
  * ```
31455
+ *
31456
+ * @parent qd-page {supported}
31457
+ * description: Put the marker on your own element inside qd-page. The page moves it into the object header,
31458
+ * next to the page actions.
30975
31459
  */
30976
31460
  class QdPageHeaderExtensionDirective {
30977
31461
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdPageHeaderExtensionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
@@ -31981,6 +32465,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
31981
32465
  * </qd-page-step>
31982
32466
  * </qd-page-stepper>
31983
32467
  * ```
32468
+ *
32469
+ * @parent qd-page {supported}
32470
+ * description: Put the marker on your own component inside a page, so it takes the place of a
32471
+ * qd-page-stepper.
31984
32472
  */
31985
32473
  class QdPageStepperAdapterDirective {
31986
32474
  elementRef = inject(ElementRef);
@@ -32107,6 +32595,13 @@ const QD_PAGE_STEP_RESOLVER_TOKEN = new InjectionToken('QD_PAGE_STEP_RESOLVER_TO
32107
32595
  // @ts-strict-ignore
32108
32596
  /**
32109
32597
  * The **QdPageStepper** allows linear navigation through process steps within a **QdPage**.
32598
+ *
32599
+ * @slot qd-page-step {quadrel}
32600
+ * description: Holds the steps of the process. The app writes one qd-page-step per step.
32601
+ * enforcedBy: content-children
32602
+ *
32603
+ * @parent qd-page {supported}
32604
+ * description: The page renders the stepper for the create and custom page types, above the page body.
32110
32605
  */
32111
32606
  class QdPageStepperComponent extends CdkStepper {
32112
32607
  footerService = inject(QdPageFooterService, { optional: true });
@@ -32406,6 +32901,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
32406
32901
  * </qd-page-tab>
32407
32902
  * </qd-page-tabs>
32408
32903
  * ```
32904
+ *
32905
+ * @parent qd-page {supported}
32906
+ * description: Put the marker on your own component inside a page, so it takes the place of a qd-page-tabs.
32409
32907
  */
32410
32908
  class QdPageTabsAdapterDirective {
32411
32909
  elementRef = inject(ElementRef);
@@ -32515,6 +33013,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
32515
33013
  // @ts-strict-ignore
32516
33014
  /**
32517
33015
  * The **QdPageTab** is a single tab inside the **QdPageTabs** within a **QdPage**.
33016
+ *
33017
+ * @slot qd-page-info-banner {quadrel}
33018
+ * description: Shows messages that belong to this tab, in a banner strip above the tab content.
33019
+ * enforcedBy: ng-content-select
33020
+ *
33021
+ * @slot default {quadrel}
33022
+ * description: Carries the content of the tab, usually one qd-section. Rendered only while this tab is
33023
+ * selected.
33024
+ * enforcedBy: none
33025
+ *
33026
+ * @parent qd-page-tabs {supported}
33027
+ * description: The only place for a tab. The tabs component collects them and renders the selected one.
32518
33028
  */
32519
33029
  class QdPageTabComponent {
32520
33030
  _pageTabs = inject(forwardRef(() => QdPageTabsComponent));
@@ -32909,6 +33419,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
32909
33419
  * - Browser back/forward buttons work with tab navigation
32910
33420
  * - If an invalid tab name is provided in URL, the first available tab is selected
32911
33421
  * - If no tab parameter is present, the `selectedIndex` or first non-disabled tab is selected
33422
+ *
33423
+ * @slot qd-page-tab {quadrel}
33424
+ * description: Holds the tabs of this page. The app writes one qd-page-tab per tab.
33425
+ * enforcedBy: content-children
33426
+ *
33427
+ * @parent qd-page {supported}
33428
+ * description: The page renders the tabs for the overview, inspect and custom page types, above the body.
32912
33429
  */
32913
33430
  class QdPageTabsComponent {
32914
33431
  footerService = inject(QdPageFooterService, { optional: true });
@@ -33562,6 +34079,54 @@ const SAFE_BOTTOM_OFFSET_PX = 64;
33562
34079
  * <!-- Place content here that doesn’t fit the other page types -->
33563
34080
  * </qd-page>
33564
34081
  * ```
34082
+ *
34083
+ * @slot [qdPageHeaderExtension] {custom-markup}
34084
+ * description: Puts an app owned control into the object header, next to the page actions.
34085
+ * enforcedBy: ng-content-select
34086
+ *
34087
+ * @slot qd-page-info-banner {quadrel}
34088
+ * description: Shows page wide messages in a banner strip under the object header.
34089
+ * enforcedBy: ng-content-select
34090
+ *
34091
+ * @slot qd-page-stepper {quadrel}
34092
+ * description: Holds the step navigation and the step content of the page.
34093
+ * enforcedBy: ng-content-select
34094
+ *
34095
+ * @slot [qdPageStepperAdapter] {custom-component}
34096
+ * description: Takes an app component that wraps its own qd-page-stepper.
34097
+ * enforcedBy: adapter-validation
34098
+ *
34099
+ * @slot qd-page-tabs {quadrel}
34100
+ * description: Holds the tab navigation and the tab content of the page.
34101
+ * enforcedBy: ng-content-select
34102
+ *
34103
+ * @slot [qdPageTabsAdapter] {custom-component}
34104
+ * description: Takes an app component that wraps its own qd-page-tabs.
34105
+ * enforcedBy: adapter-validation
34106
+ *
34107
+ * @slot qd-section {quadrel}
34108
+ * description: Carries the body of the page as one or more sections.
34109
+ * enforcedBy: ng-content-select
34110
+ *
34111
+ * @slot [qdSectionAdapter] {custom-component}
34112
+ * description: Takes an app component that wraps its own qd-section.
34113
+ * enforcedBy: adapter-validation
34114
+ *
34115
+ * @slot [qdPageFooter] {custom-markup}
34116
+ * description: Puts app owned content into the page footer, outside the scrollable main area, in front of
34117
+ * the configured buttons.
34118
+ * enforcedBy: ng-content-select
34119
+ *
34120
+ * @slot qd-page-control-panel {quadrel}
34121
+ * description: Holds the side panel with extra information about the shown object.
34122
+ * enforcedBy: ng-content-select
34123
+ *
34124
+ * @slot default {custom-markup}
34125
+ * description: Carries free page content when config.pageType is 'custom'.
34126
+ * enforcedBy: projection-guard
34127
+ *
34128
+ * @parent qd-shell {supported}
34129
+ * description: A page is what the shell routes to. The shell renders it in its router outlet.
33565
34130
  */
33566
34131
  class QdPageComponent {
33567
34132
  pageStoreService = inject(QdPageStoreService);
@@ -34116,6 +34681,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
34116
34681
  type: Injectable
34117
34682
  }] });
34118
34683
 
34684
+ /**
34685
+ * The **QdPanelSectionTextParagraph** component shows a text paragraph with an optional title
34686
+ * inside a **QdPanelSection**.
34687
+ *
34688
+ * @slot default {text}
34689
+ * description: Carries the text of the paragraph.
34690
+ * enforcedBy: none
34691
+ *
34692
+ * @parent qd-panel-section {supported}
34693
+ * description: The text body of a panel section, rendered as the last part of its body.
34694
+ */
34119
34695
  class QdPanelSectionTextParagraphComponent {
34120
34696
  /**
34121
34697
  * The configuration of the panel section text paragraph.
@@ -34231,6 +34807,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
34231
34807
  * My Panel Section Text
34232
34808
  * </qd-panel-section-text-paragraph>
34233
34809
  * </qd-text-section>
34810
+ *
34811
+ * @slot qd-panel-section-status {quadrel}
34812
+ * description: Shows a status line with a title at the top of the panel body.
34813
+ * enforcedBy: ng-content-select
34814
+ *
34815
+ * @slot qd-status-pairs {quadrel}
34816
+ * description: Shows caption and value pairs inside the panel.
34817
+ * enforcedBy: ng-content-select
34818
+ *
34819
+ * @slot qd-table {quadrel}
34820
+ * description: Shows tabular data inside the panel.
34821
+ * enforcedBy: ng-content-select
34822
+ *
34823
+ * @slot qd-panel-section-text-paragraph {quadrel}
34824
+ * description: Shows one or more text paragraphs, each with an optional title.
34825
+ * enforcedBy: ng-content-select
34826
+ *
34827
+ * @parent qd-page-control-panel {supported}
34828
+ * description: The section built for the control panel. It carries the spacing the panel expects.
34234
34829
  */
34235
34830
  class QdPanelSectionComponent {
34236
34831
  actionService = inject(QdPanelSectionActionService);
@@ -35589,6 +36184,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
35589
36184
  type: Input
35590
36185
  }] } });
35591
36186
 
36187
+ /**
36188
+ * Shows a list of comments and lets the user add one through a dialog.
36189
+ *
36190
+ * The text of a comment is rendered as HTML. See `QdComment.comment`.
36191
+ */
35592
36192
  class QdCommentsComponent {
35593
36193
  translateService = inject(TranslateService);
35594
36194
  dialogService = inject(QdDialogService);
@@ -35670,7 +36270,8 @@ const DEFAULT_SHELL_CONFIG = {
35670
36270
  * path: '',
35671
36271
  * component: AppHomeComponent,
35672
36272
  * data: {
35673
- * isHome: true
36273
+ * isHome: true,
36274
+ * previousHref: qdBackToOverview('/orders') // shell back button restores filter, sort and page like browser back
35674
36275
  * }
35675
36276
  * }```
35676
36277
  *
@@ -35684,6 +36285,18 @@ const DEFAULT_SHELL_CONFIG = {
35684
36285
  * isInternal: true
35685
36286
  * ...
35686
36287
  * }
36288
+ *
36289
+ * @slot primary {custom-markup}
36290
+ * description: Renders the component of the active route, usually a page built with qd-page. This is an
36291
+ * exit point: whatever the route renders ends up here, and nothing checks it.
36292
+ * enforcedBy: router-config
36293
+ *
36294
+ * @slot qd-comments {quadrel}
36295
+ * description: Takes the comments panel of the app, which renders only while the header toggle shows
36296
+ * comments.
36297
+ * enforcedBy: ng-content-select
36298
+ * status: deprecated
36299
+ * instead: Put the comments into qd-page. The slot moves there in v22.
35687
36300
  */
35688
36301
  class QdShellComponent {
35689
36302
  searchService = inject(QdSearchService);
@@ -35912,6 +36525,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
35912
36525
  }]
35913
36526
  }] });
35914
36527
 
36528
+ /**
36529
+ * **QdTilesTitle** renders the headline above a group of tiles.
36530
+ *
36531
+ * The component answers to two selectors. `qd-tiles-container-title` is the
36532
+ * older one and is kept so existing apps keep working.
36533
+ *
36534
+ * @slot default {text}
36535
+ * description: Carries the headline text of the tile group.
36536
+ * enforcedBy: none
36537
+ *
36538
+ * @parent qd-tiles {supported}
36539
+ * description: The headline above a group of tiles. The container names it in a slot and renders it first.
36540
+ */
35915
36541
  class QdTilesTitleComponent {
35916
36542
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdTilesTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
35917
36543
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: QdTilesTitleComponent, isStandalone: false, selector: "qd-tiles-title, qd-tiles-container-title", ngImport: i0, template: "<section class=\"qd-tiles-container-headline-wrapper\">\n <h2 class=\"qd-tiles-container-headline\"><ng-content></ng-content></h2>\n</section>\n" });
@@ -35921,6 +36547,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
35921
36547
  args: [{ selector: 'qd-tiles-title, qd-tiles-container-title', standalone: false, template: "<section class=\"qd-tiles-container-headline-wrapper\">\n <h2 class=\"qd-tiles-container-headline\"><ng-content></ng-content></h2>\n</section>\n" }]
35922
36548
  }] });
35923
36549
 
36550
+ /**
36551
+ * **QdTileButtonList** groups the actions of a tile and lays them out in a row.
36552
+ *
36553
+ * @slot default {quadrel}
36554
+ * description: Holds the actions of the tile: Quadrel buttons such as qdButton or qdIconButton.
36555
+ * enforcedBy: none
36556
+ *
36557
+ * @parent qd-tile {supported}
36558
+ * description: The actions of one tile. The tile names it in a slot and renders it as the last row.
36559
+ */
35924
36560
  class QdTileButtonListComponent {
35925
36561
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdTileButtonListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
35926
36562
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: QdTileButtonListComponent, isStandalone: false, selector: "qd-tile-button-list", host: { classAttribute: "qd-tile-button-list" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
@@ -35935,6 +36571,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
35935
36571
  }]
35936
36572
  }] });
35937
36573
 
36574
+ /**
36575
+ * **QdTileTextList** groups the text lines of a tile and spaces them evenly.
36576
+ *
36577
+ * @slot default {quadrel}
36578
+ * description: Holds the qd-tile-text-list-item elements of the tile.
36579
+ * enforcedBy: none
36580
+ *
36581
+ * @parent qd-tile {supported}
36582
+ * description: The text body of one tile, between the title and the buttons.
36583
+ */
35938
36584
  class QdTileTextListComponent {
35939
36585
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdTileTextListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
35940
36586
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: QdTileTextListComponent, isStandalone: false, selector: "qd-tile-text-list", ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [":host{display:flex;flex-direction:column;color:#757575;gap:.625rem}\n"] });
@@ -35944,6 +36590,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
35944
36590
  args: [{ selector: 'qd-tile-text-list', template: `<ng-content></ng-content>`, standalone: false, styles: [":host{display:flex;flex-direction:column;color:#757575;gap:.625rem}\n"] }]
35945
36591
  }] });
35946
36592
 
36593
+ /**
36594
+ * **QdTileTextListItem** renders one text line inside a tile text list.
36595
+ *
36596
+ * @slot default {text}
36597
+ * description: Carries the text of one line.
36598
+ * enforcedBy: none
36599
+ *
36600
+ * @parent qd-tile-text-list {supported}
36601
+ * description: One item per line. The list keeps the lines evenly spaced.
36602
+ */
35947
36603
  class QdTileTextListItemComponent {
35948
36604
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdTileTextListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
35949
36605
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: QdTileTextListItemComponent, isStandalone: false, selector: "qd-tile-text-list-item", ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [":host{font-size:.875rem;line-height:1.5}\n"] });
@@ -35953,6 +36609,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
35953
36609
  args: [{ selector: 'qd-tile-text-list-item', template: `<ng-content></ng-content>`, standalone: false, styles: [":host{font-size:.875rem;line-height:1.5}\n"] }]
35954
36610
  }] });
35955
36611
 
36612
+ /**
36613
+ * **QdTileTitle** renders the headline of one tile.
36614
+ *
36615
+ * @slot default {text}
36616
+ * description: Carries the headline text of the tile.
36617
+ * enforcedBy: none
36618
+ *
36619
+ * @parent qd-tile {supported}
36620
+ * description: The heading of one tile. The tile names it in a slot and renders it first.
36621
+ */
35956
36622
  class QdTileTitleComponent {
35957
36623
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdTileTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
35958
36624
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: QdTileTitleComponent, isStandalone: false, selector: "qd-tile-title", ngImport: i0, template: "<h2 class=\"qd-tile-title\"><ng-content></ng-content></h2>\n", styles: ["qd-tile{position:relative;display:flex;min-width:15.625rem;flex-direction:column;padding:1rem;border:.0625rem solid rgb(213,213,213);margin-bottom:1.5rem;background:#fff;gap:.9375rem}qd-tile.row{flex-direction:row}qd-tile.row .illustration{height:6.25rem}qd-tile.row .illustration img{max-width:none;max-height:100%}qd-tile.disabled{cursor:not-allowed}qd-tile.disabled>*{opacity:.7}qd-tile:first-child{margin-left:0}qd-tile-buttons{margin-top:auto}qd-tile-buttons button{display:block}.qd-tile-button-list button:last-child{margin-bottom:.75rem}.illustration{width:6.25rem}.illustration img{max-width:100%}.content{display:flex;flex-direction:column;align-items:start;justify-content:start;gap:.5rem}.overlay{position:absolute;inset:0}.qd-tile-title{margin:.875rem 0 0;font-size:.875rem;font-weight:500}\n"] });
@@ -35970,6 +36636,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
35970
36636
  * - **Content**: Show title, texts and buttons in QdTile.
35971
36637
  * - **Disable**: Configure the QdTile to be disabled and do not allow interacting with it.
35972
36638
  * - **Illustration**: Add an illustration in the QdTile and make it appear in row or column with the content.
36639
+ *
36640
+ * @slot qd-tile-title {quadrel}
36641
+ * description: Names the tile, so the user knows what the tile is about.
36642
+ * enforcedBy: ng-content-select
36643
+ *
36644
+ * @slot qd-tile-text-list {quadrel}
36645
+ * description: Describes the tile in one or more lines of text.
36646
+ * enforcedBy: ng-content-select
36647
+ *
36648
+ * @slot qd-tile-button-list {quadrel}
36649
+ * description: Offers the actions of the tile.
36650
+ * enforcedBy: ng-content-select
36651
+ *
36652
+ * @parent qd-tiles {supported}
36653
+ * description: One tile per entry. The container arranges the tiles and keeps their spacing.
35973
36654
  */
35974
36655
  class QdTileComponent {
35975
36656
  config;
@@ -36003,6 +36684,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
36003
36684
 
36004
36685
  /**
36005
36686
  * The **QdTilesContainer** component creates a tile structure and allows you to position tiles in a row.
36687
+ *
36688
+ * @slot qd-tiles-title {quadrel}
36689
+ * description: Names the whole group of tiles.
36690
+ * enforcedBy: ng-content-select
36691
+ *
36692
+ * @slot qd-tiles-container-title {quadrel}
36693
+ * description: The same headline under the older selector of QdTilesTitle.
36694
+ * enforcedBy: ng-content-select
36695
+ *
36696
+ * @slot qd-tile {quadrel}
36697
+ * description: Holds the tiles of the group.
36698
+ * enforcedBy: ng-content-select
36006
36699
  */
36007
36700
  class QdTilesComponent {
36008
36701
  /**
@@ -36213,6 +36906,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
36213
36906
  // @ts-strict-ignore
36214
36907
  /**
36215
36908
  * The **QdPageStep** is a single step inside the **QdPageStepper** within a **QdPage**.
36909
+ *
36910
+ * @slot qd-page-info-banner {quadrel}
36911
+ * description: Shows messages that belong to this step, in a banner strip above the step content.
36912
+ * enforcedBy: ng-content-select
36913
+ *
36914
+ * @slot default {quadrel}
36915
+ * description: Carries the content of the step, usually one qd-section. Rendered only while this step is
36916
+ * selected.
36917
+ * enforcedBy: none
36918
+ *
36919
+ * @parent qd-page-stepper {supported}
36920
+ * description: The only place for a step. The stepper collects its steps and renders the selected one.
36216
36921
  */
36217
36922
  class QdPageStepComponent extends CdkStep {
36218
36923
  translate = inject(TranslateService);
@@ -36548,6 +37253,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
36548
37253
  * - In **template data mode**, validators defined in `config.columns` are applied.
36549
37254
  *
36550
37255
  * **Note: Do not combine both approaches. When using `formArrayName`, only the external FormGroup is used for validation and value access.**
37256
+ *
37257
+ * @parent qd-grid {supported}
37258
+ * description: An editable table sits in a grid cell, so it lines up with the fields around it.
37259
+ *
37260
+ * @parent qd-section {supported}
37261
+ * description: For a section whose whole content is the editable table.
36551
37262
  */
36552
37263
  class QdQuickEditComponent {
36553
37264
  fb = inject(FormBuilder);