Activities of "muhammedaltug"

Hello,

Can you follow gist

Can you send the response of application-configuration endpoint?

Did you try following the way

 {{ 'MyService::Enum:ContactType.' + option.key | abpLocalization }}

Hello,

The style configuration in the documentation will be automated at application generation in the next versions. I will add the style configuration document toRunning the Angular Application section

Hello,

If you use the different theme from lepton-x please check the document about style configurations

Hello,

Code parameter deleted automatically by angular-oauth2-oidc library. This problem is not related to the code query parameter by the way.

Can you follow the steps below to fix this problem?

  • Save redirectUri to local storage before starting the authorization code flow login
      login() {
        this.oAuthService.redirectUri = 'REDIRECT_URI';
        localStorage.setItem('AuthRedirectUri', 'REDIRECT_URI');
        this.authService.navigateToLogin();
      }
    
  • Add the following provider to your AppModule's providers
    @NgModule({
      declarations: [AppComponent],
      imports: [
        //imports
      ],
      providers: [
        APP_ROUTE_PROVIDER,
        {
          provide: APP_INITIALIZER,
          multi: true,
          useValue: () => {
            const redirectUri = localStorage.getItem('AuthRedirectUri');
            if (redirectUri) {
              environment.oAuthConfig.redirectUri = redirectUri;
              localStorage.removeItem('AuthRedirectUri');
            }
          },
        },
      ],
      bootstrap: [AppComponent],
    })
    export class AppModule {}
    
    

Hello

Sorry i misunderstood your problem. I am able to reproduce this problem. I will respond to you when i find a solution

Hello,

Can you try after adding defaultProject same level as the version property to your angular.json

I opened an issue, you can follow the status of issue

Hello,

Code, state, and session_state query parameters used by angular-oauth2-oidc library. Please use another queryParameter.

Usage detail

Hello,

You can implement with following steps

  • Create a provider for changing Lepton-x theme style defaults

    import { LPX_THEMES, LpxTheme, LPX_THEME_STYLES_DEFAULTS } from '@volosoft/ngx-lepton-x';
    
    export const MY_THEME_PROVIDER: Provider = {
      provide: LPX_THEMES,
      useFactory: () => {
        const defaults = LPX_THEME_STYLES_DEFAULTS;
        const myTheme = new LpxTheme({
          icon: 'bi bi-sun',
          label: 'My Theme',
          bundles: [
            {
              bundleName: 'my-theme',
            },
            {
              bundleName: 'bootstrap-my-theme',
            },
          ],
          styleName: 'myTheme',
        });
        return [...defaults, myTheme];
      },
    };
    
  • Add this provider to AppModule's providers array

    import { MY_THEME_PROVIDER } from './my-theme-provider'
    @NgModule({
      declarations: [AppComponent],
      imports: [
          // imports
      ],
      providers: [
        MY_THEME_PROVIDER,
      ],
      bootstrap: [AppComponent],
    })
    export class AppModule {}
    
  • Add your bundles to projects.YourProject.architect.build.options.styles key which is in angular.json

    {
        "input": "src/my-theme.scss",
        "inject": false,
        "bundleName": "my-theme"
    },
    {
        "input": "src/bootstrap-my-theme.scss",
        "inject": false,
        "bundleName": "bootstrap-my-theme"
    },
    

Hello,

The extensible system is not used at ABP Suite Crud Page Generator. You can modify generated code

Showing 91 to 100 of 254 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30