@quadrel-enterprise-ui/framework 21.18.4 → 21.19.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.18.4",
3
+ "version": "21.19.1",
4
4
  "exports": {
5
5
  "./jest-preset": "./jest-preset.js",
6
6
  "./package.json": {
@@ -111,3 +111,15 @@
111
111
  outline: tokens.$focus-ring-width solid tokens.$focus-ring-color;
112
112
  outline-offset: tokens.$focus-ring-offset;
113
113
  }
114
+
115
+ @mixin focus-ring-around($indicator-size) {
116
+ @include focus-ring;
117
+
118
+ position: absolute;
119
+ top: 50%;
120
+ left: 50%;
121
+ width: calc(#{$indicator-size} - 2 * #{tokens.$focus-ring-offset});
122
+ height: calc(#{$indicator-size} - 2 * #{tokens.$focus-ring-offset});
123
+ content: "";
124
+ transform: translate(-50%, -50%);
125
+ }
@@ -6376,7 +6376,6 @@ declare class QdCheckboxChipsComponent implements ControlValueAccessor, OnInit,
6376
6376
  }
6377
6377
 
6378
6378
  declare class QdCheckboxComponent implements ControlValueAccessor {
6379
- private readonly keyboardDetection;
6380
6379
  inputData: QdFormCheckboxOption;
6381
6380
  value: string;
6382
6381
  testId: string;
@@ -8281,7 +8280,6 @@ declare class QdRadioButtonsComponent implements OnInit, OnChanges, ControlValue
8281
8280
  private readonly controlContainer;
8282
8281
  private readonly ngZone;
8283
8282
  private readonly eventBrokerService;
8284
- private readonly keyboardDetection;
8285
8283
  /**
8286
8284
  * The current form item value, if you are working with Model Binding.
8287
8285
  *
@@ -12981,6 +12979,7 @@ interface QdFilterItemEntry {
12981
12979
  declare class QdFilterItemSelectCategoryComponent implements OnInit, AfterViewInit, QdFilterListboxHost {
12982
12980
  private readonly filterService;
12983
12981
  private readonly breakpointService;
12982
+ private readonly keyboardDetection;
12984
12983
  private readonly changeDetectorRef;
12985
12984
  readonly isMobile$: Observable<boolean>;
12986
12985
  filterId: string;
@@ -18367,6 +18366,7 @@ interface QdShellServiceNavigationConfig {
18367
18366
  * @description Determines if the logout should be handled in the service-navigation or not.
18368
18367
  * If set to false, then the application must perform the logout itself.
18369
18368
  * To perform the logout by yourself, a logoutHandler can be configured that will be called with the logoutUrl.
18369
+ * Is set to false automatically if useQdAuthLogout is active.
18370
18370
  *
18371
18371
  * * web component: 'handle-logout'
18372
18372
  *
@@ -18376,10 +18376,25 @@ interface QdShellServiceNavigationConfig {
18376
18376
  /**
18377
18377
  * @description Will be called when the logout is triggered if handleLogout is set to false. Then you can perform
18378
18378
  * the logout by yourself in the handler. The logoutUrl will be passed to the logoutHandler.
18379
+ * If a logoutHandler is configured, it takes precedence over useQdAuthLogout.
18380
+ *
18381
+ * * Note: In earlier versions the handler received the `CustomEvent` of the web component instead of the
18382
+ * logoutUrl. Handlers that read `event.detail` must use the passed logoutUrl directly.
18379
18383
  *
18380
18384
  * * web component: 'logoutTriggered' output
18381
18385
  */
18382
18386
  logoutHandler?: (logoutUrl: string) => void;
18387
+ /**
18388
+ * @description Ends both the Keycloak session and the PAMS session when the user logs out in the service navigation.
18389
+ * The logout is first performed via QD Auth (Keycloak) and then continued with the PAMS logout of the service navigation.
18390
+ * handleLogout is set to false automatically.
18391
+ *
18392
+ * Requires QD Auth with support for `logoutAndContinueTo`. Without it, the logout is handled by the service navigation only.
18393
+ * Ignored if a logoutHandler is configured.
18394
+ *
18395
+ * * @default: false
18396
+ */
18397
+ useQdAuthLogout?: boolean;
18383
18398
  /**
18384
18399
  * @description Links displayed in the profile menu. You can also add a badge for each input, and they also handle different languages.
18385
18400
  *
@@ -19247,6 +19262,7 @@ declare class QdShellServiceNavigationComponent implements OnInit, AfterViewInit
19247
19262
  private _config;
19248
19263
  private readonly _destroyRef;
19249
19264
  private _attributesHaveBeenSet$;
19265
+ private _qdAuthLogoutUnavailableWarningLogged;
19250
19266
  private readonly localeService;
19251
19267
  ngOnInit(): void;
19252
19268
  private setPamsEnvironment;
@@ -19256,8 +19272,10 @@ declare class QdShellServiceNavigationComponent implements OnInit, AfterViewInit
19256
19272
  ngOnChanges(changes: SimpleChanges): void;
19257
19273
  handleLanguageChange($event: any): void;
19258
19274
  handleLoginStatusChange($event: any): void;
19259
- handleLogoutTriggered($event: any): void;
19275
+ handleLogoutTriggered($event: Event | string): void;
19260
19276
  private passConfig;
19277
+ private shouldUseQdAuthLogout;
19278
+ private logQdAuthLogoutUnavailableWarning;
19261
19279
  private setAttributesForServiceNavigation;
19262
19280
  private useLanguage;
19263
19281
  static ɵfac: i0.ɵɵFactoryDeclaration<QdShellServiceNavigationComponent, never>;