Skip to content

Commit

Permalink
fix: added breakpoint directive to angular-accelerator (onecx#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
markuczy authored Mar 19, 2024
1 parent 3388e3f commit 824b5e3
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 8 deletions.
1 change: 1 addition & 0 deletions libs/angular-accelerator/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// directives
export * from './lib/directives/if-permission.directive'
export * from './lib/directives/if-breakpoint.directive'

// components
export * from './lib/components/column-group-selection/column-group-selection.component'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import { GroupByCountDiagramComponent } from './components/group-by-count-diagra
import { DiagramComponent } from './components/diagram/diagram.component'
import { DynamicPipe } from './pipes/dynamic.pipe'
import { IfPermissionDirective } from './directives/if-permission.directive'
import { IfBreakpointDirective } from './directives/if-breakpoint.directive'
import { OcxTimeAgoPipe } from './pipes/ocxtimeago.pipe'
import { OcxTimeagoIntl } from './utils/ocxtimeagointl.utils'
import { createTranslateLoader } from './utils/create-translate-loader.utils'
Expand Down Expand Up @@ -84,6 +85,7 @@ export class AngularAcceleratorMissingTranslationHandler implements MissingTrans
DiagramComponent,
GroupByCountDiagramComponent,
IfPermissionDirective,
IfBreakpointDirective,
OcxTimeAgoPipe,
],
providers: [
Expand Down Expand Up @@ -128,6 +130,7 @@ export class AngularAcceleratorMissingTranslationHandler implements MissingTrans
DiagramComponent,
GroupByCountDiagramComponent,
IfPermissionDirective,
IfBreakpointDirective,
OcxTimeAgoPipe,
// DataListGridSortingComponent,
],
Expand Down
1 change: 0 additions & 1 deletion libs/portal-integration-angular/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// directives
export * from './lib/core/directives/autofocus.directive'
export * from './lib/core/directives/if-breakpoint.directive'
export * from './lib/core/directives/advanced.directive'
export * from './lib/core/directives/basic.directive'
export * from './lib/core/directives/patch-form-group-values.driective'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'
import { HeaderComponent } from './header.component'
import { AUTH_SERVICE } from '@onecx/angular-accelerator'
import { AUTH_SERVICE, IfBreakpointDirective } from '@onecx/angular-accelerator'
import { MockAuthService } from '../../../mock-auth/mock-auth.service'
import { ConfigurationService } from '../../../services/configuration.service'
import { HttpClientTestingModule } from '@angular/common/http/testing'
import { UserAvatarComponent } from '../user-avatar/user-avatar.component'
import { ActivatedRoute, RouterModule } from '@angular/router'
import { IfBreakpointDirective } from '../../directives/if-breakpoint.directive'
import { TooltipModule } from 'primeng/tooltip'
import { TranslateTestingModule } from 'ngx-translate-testing'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ import { UserAvatarComponent } from '../user-avatar/user-avatar.component'
import { PortalMenuComponent } from '../portal-menu/portal-menu.component'
import { AppInlineProfileComponent } from '../inline-profile/inline-profile.component'
import { NoopAnimationsModule } from '@angular/platform-browser/animations'
import { IfBreakpointDirective } from '../../directives/if-breakpoint.directive'
import { FormsModule, ReactiveFormsModule } from '@angular/forms'
import { TooltipModule } from 'primeng/tooltip'
import { TranslateTestingModule } from 'ngx-translate-testing'
import { AppStateService } from '@onecx/angular-integration-interface'
import { AUTH_SERVICE } from '@onecx/angular-accelerator'
import { AUTH_SERVICE, IfBreakpointDirective } from '@onecx/angular-accelerator'
import { MockAuthService } from '../../../mock-auth/mock-auth.service'
import { PortalCoreModule } from '../../portal-core.module'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {
} from '@ngx-translate/core'
import { APPLICATION_NAME, AUTH_SERVICE, SANITY_CHECK } from '@onecx/angular-accelerator'
import { AutofocusDirective } from './directives/autofocus.directive'
import { IfBreakpointDirective } from './directives/if-breakpoint.directive'
import { AppInlineProfileComponent } from './components/inline-profile/inline-profile.component'
import { LoadingComponent } from './components/loading/loading.component'
import { MfeDebugComponent } from './components/mfe-debug/mfe-debug.component'
Expand Down Expand Up @@ -108,7 +107,6 @@ export class PortalMissingTranslationHandler implements MissingTranslationHandle
GlobalErrorComponent,
HeaderComponent,
HelpItemEditorComponent,
IfBreakpointDirective,
LoadingComponent,
MfeDebugComponent,
NoHelpItemComponent,
Expand Down Expand Up @@ -164,7 +162,6 @@ export class PortalMissingTranslationHandler implements MissingTranslationHandle
GlobalErrorComponent,
HeaderComponent,
HelpItemEditorComponent,
IfBreakpointDirective,
LoadingComponent,
MfeDebugComponent,
NoHelpItemComponent,
Expand Down

0 comments on commit 824b5e3

Please sign in to comment.