@quadrel-enterprise-ui/framework 21.16.0 → 21.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -14039,6 +14039,10 @@ interface QdPageStepConfig {
|
|
|
14039
14039
|
* * @default false
|
|
14040
14040
|
*/
|
|
14041
14041
|
isOptional?: boolean;
|
|
14042
|
+
/**
|
|
14043
|
+
* @description Unique name of this step. Adds a name-based test ID to the caption of the step header (`<testId>-header-<name>`). The step header always keeps its index-based test ID (`<testId>-header-<index>`).
|
|
14044
|
+
*/
|
|
14045
|
+
name?: string;
|
|
14042
14046
|
}
|
|
14043
14047
|
/**
|
|
14044
14048
|
* Interface for the parameters passed to the navigation handler functions.
|
|
@@ -14116,7 +14120,8 @@ declare class QdPageStepperComponent extends CdkStepper implements OnInit, After
|
|
|
14116
14120
|
*/
|
|
14117
14121
|
config: QdPageStepperConfig;
|
|
14118
14122
|
/**
|
|
14119
|
-
* A static test ID for integration tests can be set.
|
|
14123
|
+
* A static test ID for integration tests can be set. Every step header inherits it as
|
|
14124
|
+
* `<testId>-header-<index>` (e.g. `page-stepper-header-0`). The caption of a named step also gets `<testId>-header-<name>`.
|
|
14120
14125
|
*/
|
|
14121
14126
|
testId: string;
|
|
14122
14127
|
/**
|
|
@@ -14140,6 +14145,7 @@ declare class QdPageStepperComponent extends CdkStepper implements OnInit, After
|
|
|
14140
14145
|
showNextButton(selectedIndex: number): boolean;
|
|
14141
14146
|
showPreviousButton(selectedIndex: number): boolean;
|
|
14142
14147
|
showSubmitButton(selectedIndex: number): boolean;
|
|
14148
|
+
_getStepCaptionTestId(step: QdPageStepComponent): string | undefined;
|
|
14143
14149
|
_getIndicatorType(index: number, state?: StepState): StepState;
|
|
14144
14150
|
private isSelectedStepValid$;
|
|
14145
14151
|
private areAllStepsValid$;
|
|
@@ -19515,10 +19521,16 @@ declare class QdPageStepHeaderComponent extends CdkStepHeader {
|
|
|
19515
19521
|
optional: boolean;
|
|
19516
19522
|
/** Whether the given step is not editable and completed. */
|
|
19517
19523
|
locked: boolean;
|
|
19524
|
+
/**
|
|
19525
|
+
* A static test ID for integration tests can be set.
|
|
19526
|
+
*/
|
|
19527
|
+
testId?: string;
|
|
19528
|
+
/** The name-based test ID of the caption. Only set for a named step. */
|
|
19529
|
+
captionTestId?: string;
|
|
19518
19530
|
get stepNumber(): number;
|
|
19519
19531
|
constructor();
|
|
19520
19532
|
static ɵfac: i0.ɵɵFactoryDeclaration<QdPageStepHeaderComponent, never>;
|
|
19521
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QdPageStepHeaderComponent, "qd-page-step-header", never, { "state": { "alias": "state"; "required": false; }; "label": { "alias": "label"; "required": false; }; "index": { "alias": "index"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "active": { "alias": "active"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "locked": { "alias": "locked"; "required": false; }; }, {}, never, never, true, never>;
|
|
19533
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QdPageStepHeaderComponent, "qd-page-step-header", never, { "state": { "alias": "state"; "required": false; }; "label": { "alias": "label"; "required": false; }; "index": { "alias": "index"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "active": { "alias": "active"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "locked": { "alias": "locked"; "required": false; }; "testId": { "alias": "data-test-id"; "required": false; }; "captionTestId": { "alias": "captionTestId"; "required": false; }; }, {}, never, never, true, never>;
|
|
19522
19534
|
}
|
|
19523
19535
|
|
|
19524
19536
|
declare class QdPageStepperModule {
|