@ngx-smz/core 21.10.0-next.20 → 21.10.0-next.21

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": "@ngx-smz/core",
3
- "version": "21.10.0-next.20",
3
+ "version": "21.10.0-next.21",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/smarza/ng-smz.git",
@@ -8703,6 +8703,8 @@ declare class NgxRbkUtilsConfig {
8703
8703
  allowSuperuser: boolean;
8704
8704
  useSingleTenantAplication: boolean;
8705
8705
  allowTenantSwitching: boolean;
8706
+ /** When true, switching tenant reloads the page keeping the current route instead of going to the root. */
8707
+ keepRouteOnTenantSwitch?: boolean;
8706
8708
  login: {
8707
8709
  route: string;
8708
8710
  superuserRoute?: string;
@@ -10186,6 +10188,8 @@ declare class SmzUiAuthenticationLoginBuilder extends SmzBuilderUtilities<SmzUiA
10186
10188
  forceLowercaseUsername(): SmzUiAuthenticationLoginBuilder;
10187
10189
  allowSuperuser(superuserName?: string, route?: string): SmzUiAuthenticationLoginBuilder;
10188
10190
  allowTenantSwitching(): SmzUiAuthenticationLoginBuilder;
10191
+ /** After switching tenant, reloads the page keeping the current route instead of going back to the root. Use together with allowTenantSwitching(). */
10192
+ keepRouteOnTenantSwitch(): SmzUiAuthenticationLoginBuilder;
10189
10193
  addToLoginPayload(property: string, value: string): SmzUiAuthenticationLoginBuilder;
10190
10194
  setMessage(message: string): SmzUiAuthenticationLoginBuilder;
10191
10195
  setLoginButtonLabel(label: string): SmzUiAuthenticationLoginBuilder;