Skip to content
Snippets Groups Projects
Commit 19f4cbe9 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-5590 OZG-5591 Change import prefix 'design-system' to '@ods/system'

parent ef394e0b
Branches
Tags
No related merge requests found
Showing
with 23 additions and 44 deletions
import { AdminSettingsModule } from '@admin-client/admin-settings';
import { ApiRootModule } from '@alfa-client/api-root-shared';
import { EnvironmentModule } from '@alfa-client/environment-shared';
import { TechSharedModule } from '@alfa-client/tech-shared';
import { CommonModule } from '@angular/common';
import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { RouterModule } from '@angular/router';
......@@ -10,19 +13,16 @@ import { EffectsModule } from '@ngrx/effects';
import { StoreRouterConnectingModule } from '@ngrx/router-store';
import { StoreModule } from '@ngrx/store';
import { StoreDevtoolsModule } from '@ngrx/store-devtools';
import { TestbtnComponent } from 'design-system';
import { environment } from '../environments/environment';
import { AppComponent } from './app.component';
import { appRoutes } from './app.routes';
import { PostfachPageComponent } from '../pages/postfach/postfach-page/postfach-page.component';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { UserProfileButtonContainerComponent } from '../common/user-profile-button-container/user-profile.button-container.component';
import { AdminSettingsModule } from '@admin-client/admin-settings';
import { TestbtnComponent } from '@ods/system';
import { OAuthModule } from 'angular-oauth2-oidc';
import { HttpUnauthorizedInterceptor } from 'libs/authentication/src/lib/http-unauthorized.interceptor';
import { UserProfileButtonContainerComponent } from '../common/user-profile-button-container/user-profile.button-container.component';
import { environment } from '../environments/environment';
import { OrganisationseinheitPageComponent } from '../pages/organisationseinheit/organisationseinheit-page/organisationseinheit-page.component';
import { PostfachPageComponent } from '../pages/postfach/postfach-page/postfach-page.component';
import { UnavailablePageComponent } from '../pages/unavailable/unavailable-page/unavailable-page.component';
import { TechSharedModule } from '@alfa-client/tech-shared';
import { AppComponent } from './app.component';
import { appRoutes } from './app.routes';
@NgModule({
declarations: [
......
......@@ -11,7 +11,7 @@ import {
RadioButtonCardComponent,
SpinnerIconComponent,
TestbtnComponent,
} from 'design-system';
} from '@ods/system';
import { BescheidDialogExampleComponent } from './components/bescheid-dialog/bescheid-dialog.component';
import { BescheidPaperComponent } from './components/bescheid-paper/bescheid-paper.component';
......
import { Component } from '@angular/core';
import { CdkStepper, CdkStepperModule } from '@angular/cdk/stepper';
import { NgTemplateOutlet } from '@angular/common';
import { TestbtnComponent } from 'design-system';
import { Component } from '@angular/core';
import { TestbtnComponent } from '@ods/system';
@Component({
standalone: true,
......
......@@ -25,7 +25,7 @@ import { TechSharedModule } from '@alfa-client/tech-shared';
import { UiModule } from '@alfa-client/ui';
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { AttachmentComponent, IconComponent, SpinnerIconComponent } from 'design-system';
import { AttachmentComponent, IconComponent, SpinnerIconComponent } from '@ods/system';
import { BinaryFileAttachmentContainerComponent } from './binary-file-attachment-container/binary-file-attachment-container.component';
import { BinaryFileContainerComponent } from './binary-file-container/binary-file-container.component';
import { BinaryFileComponent } from './binary-file-container/binary-file/binary-file.component';
......
......@@ -3,7 +3,7 @@ import { BinaryFileLinkRel, BinaryFileResource } from '@alfa-client/binary-file-
import { SpinnerComponent } from '@alfa-client/ui';
import { ComponentFixture, TestBed, fakeAsync, tick } from '@angular/core/testing';
import { faker } from '@faker-js/faker';
import { AttachmentComponent, IconComponent } from 'design-system';
import { AttachmentComponent, IconComponent } from '@ods/system';
import { createBinaryFileResource } from 'libs/binary-file-shared/test/binary-file';
import { FileSizePlainPipe } from 'libs/tech-shared/src/lib/pipe/file-size-plain.pipe';
import { MockComponent, MockPipe } from 'ng-mocks';
......
......@@ -2,7 +2,7 @@
"name": "design-component",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/design-component/src",
"prefix": "design",
"prefix": "ods",
"tags": [],
"projectType": "library",
"targets": {
......
{
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
"dest": "../../dist/libs/design-system",
"lib": {
"entryFile": "src/index.ts"
}
}
{
"name": "design-system",
"version": "0.0.1",
"peerDependencies": {
"@angular/common": "^16.2.0",
"@angular/core": "^16.2.0"
},
"dependencies": {
"tslib": "^2.3.0"
},
"sideEffects": false
}
......@@ -7,7 +7,7 @@ import { MatFormFieldModule } from '@angular/material/form-field';
import { MatIconModule } from '@angular/material/icon';
import { MatInputModule } from '@angular/material/input';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { FileUploadButtonComponent, SpinnerIconComponent } from 'design-system';
import { FileUploadButtonComponent, SpinnerIconComponent } from '@ods/system';
import { MockComponent } from 'ng-mocks';
import { ValidationErrorComponent } from '../../validation-error/validation-error.component';
import { SingleFileUploadEditorComponent } from './single-file-upload-editor.component';
......
......@@ -47,8 +47,8 @@ import { MatSlideToggleModule } from '@angular/material/slide-toggle';
import { MatSnackBarModule } from '@angular/material/snack-bar';
import { MatTabsModule } from '@angular/material/tabs';
import { RouterModule } from '@angular/router';
import { FileUploadButtonComponent, IconComponent, SpinnerIconComponent } from '@ods/system';
import { de } from 'date-fns/locale';
import { FileUploadButtonComponent, IconComponent, SpinnerIconComponent } from 'design-system';
import { AppIconComponent } from '../icon/app-icon/app-icon.component';
import { PostfachIconComponent } from '../icon/postfach-icon/postfach-icon.component';
import { HttpConnectionTimeoutInterceptor } from '../interceptor/http-connection-timeout.interceptor';
......
......@@ -4,7 +4,7 @@ import { DateEditorComponent } from '@alfa-client/ui';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ReactiveFormsModule, UntypedFormBuilder } from '@angular/forms';
import { MatIcon } from '@angular/material/icon';
import { RadioButtonCardComponent } from 'design-system';
import { RadioButtonCardComponent } from '@ods/system';
import { MockComponent } from 'ng-mocks';
import { BescheidenFormService } from '../../../bescheiden.formservice';
import { VorgangDetailBescheidenAntragBescheidenComponent } from './vorgang-detail-bescheiden-antrag-bescheiden.component';
......
......@@ -3,7 +3,7 @@ import { Mock, mock, useFromMock } from '@alfa-client/test-utils';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ReactiveFormsModule, UntypedFormBuilder } from '@angular/forms';
import { MatIcon } from '@angular/material/icon';
import { RadioButtonCardComponent } from 'design-system';
import { RadioButtonCardComponent } from '@ods/system';
import { MockComponent } from 'ng-mocks';
import { BescheidenFormService } from '../../../bescheiden.formservice';
import { VorgangDetailBescheidenBescheidVersendenComponent } from './vorgang-detail-bescheiden-bescheid-versenden.component';
......
......@@ -14,7 +14,7 @@ import {
ButtonComponent,
IconComponent,
SpinnerIconComponent,
} from 'design-system';
} from '@ods/system';
import { createBescheidResource } from 'libs/bescheid-shared/src/test/bescheid';
import { getDataTestIdOf } from 'libs/tech-shared/test/data-test';
import { MockComponent } from 'ng-mocks';
......
......@@ -7,7 +7,7 @@ import { ReactiveFormsModule, UntypedFormBuilder } from '@angular/forms';
import { MatIcon } from '@angular/material/icon';
import faker from '@faker-js/faker';
import { ResourceUri } from '@ngxp/rest';
import { SpinnerIconComponent } from 'design-system';
import { SpinnerIconComponent } from '@ods/system';
import { MockComponent } from 'ng-mocks';
import { of } from 'rxjs';
import { createBescheidStateResource } from '../../../../../../../../../bescheid-shared/src/test/bescheid';
......
......@@ -49,7 +49,7 @@ import {
IconComponent,
RadioButtonCardComponent,
SpinnerIconComponent,
} from 'design-system';
} from '@ods/system';
import { AktenzeichenEditDialogComponent } from './aktenzeichen-edit-dialog/aktenzeichen-edit-dialog.component';
import { AktenzeichenEditableComponent } from './aktenzeichen-editable/aktenzeichen-editable.component';
import { AbschliessenButtonComponent } from './buttons/abschliessen-button/abschliessen-button.component';
......
......@@ -55,8 +55,7 @@
"@alfa-client/wiedervorlage-shared": ["libs/wiedervorlage-shared/src/index.ts"],
"authentication": ["libs/authentication/src/index.ts"],
"@ods/component": ["libs/design-component/src/index.ts"],
"@ods/system": ["libs/design-system/src/index.ts"],
"design-system": ["libs/design-system/src/index.ts"]
"@ods/system": ["libs/design-system/src/index.ts"]
}
},
"exclude": ["node_modules", "tmp"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment