feat(console): message and login texts, privacy policy (#2016)
* message texts wrapper components
* message-text sub, i18n, grid
* fix routing
* pack
* pack
* update material
* audit
* fix mgmt service for labelplcy
* map conv
* edit text from map
* request map
* fetch data, mgmt admin service
* warn box, i18n
* resetbtn
* login texts
* login text requests
* reset, default, i18n
* disabled, features, message text setter, service
* locale switcher
* policy grid
* password reset, domain claimed i18n
* lint files
* fix admin service, i18n, lang setter
* fix scss duplicate
* privacy policy, cleanup grid, fix message, login texts (#2031)
* policy grid everywhere 🦒
* cleanup home
* log login text request
* patch all data
* refresh toggle
* fix: add dialog for unsaved changes (#2057)
* logintexts dialog
* check for dialog on pairwise operation
* fix: patch value to local state after save
* fix: i18n and custom login texts (#2060)
* fix: i18n and custom login texts
* fix: tos and privacy texts
* fix frontend
* fix: tos and privacy texts and tests
* fix: i18n, tos and privacy texts and tests
* fix frontend maps
* i18n
* add ResetCustomLoginTextToDefault in admin api and fix template remove in handlers
* resetlogintexttodefault
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-07-26 12:44:45 +02:00
|
|
|
import { TextFieldModule } from '@angular/cdk/text-field';
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
|
|
import { MatIconModule } from '@angular/material/icon';
|
|
|
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
|
|
import { MatSelectModule } from '@angular/material/select';
|
|
|
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
|
|
import { TranslateModule } from '@ngx-translate/core';
|
|
|
|
import { HasRoleModule } from 'src/app/directives/has-role/has-role.module';
|
|
|
|
import { DetailLayoutModule } from 'src/app/modules/detail-layout/detail-layout.module';
|
|
|
|
import { InputModule } from 'src/app/modules/input/input.module';
|
|
|
|
import { HasRolePipeModule } from 'src/app/pipes/has-role-pipe/has-role-pipe.module';
|
|
|
|
|
|
|
|
import { EditTextModule } from '../../edit-text/edit-text.module';
|
|
|
|
import { FormFieldModule } from '../../form-field/form-field.module';
|
|
|
|
import { InfoSectionModule } from '../../info-section/info-section.module';
|
|
|
|
import { PolicyGridModule } from '../../policy-grid/policy-grid.module';
|
|
|
|
import { MessageTextsRoutingModule } from './message-texts-routing.module';
|
|
|
|
import { MessageTextsComponent } from './message-texts.component';
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [MessageTextsComponent],
|
|
|
|
imports: [
|
|
|
|
MessageTextsRoutingModule,
|
|
|
|
CommonModule,
|
|
|
|
InfoSectionModule,
|
|
|
|
ReactiveFormsModule,
|
|
|
|
FormsModule,
|
|
|
|
InputModule,
|
|
|
|
FormFieldModule,
|
|
|
|
EditTextModule,
|
|
|
|
MatButtonModule,
|
|
|
|
MatIconModule,
|
|
|
|
HasRoleModule,
|
|
|
|
HasRolePipeModule,
|
|
|
|
MatTooltipModule,
|
|
|
|
TranslateModule,
|
|
|
|
MatTooltipModule,
|
|
|
|
MatSelectModule,
|
|
|
|
DetailLayoutModule,
|
|
|
|
MatProgressSpinnerModule,
|
|
|
|
PolicyGridModule,
|
|
|
|
TextFieldModule,
|
|
|
|
],
|
|
|
|
})
|
2022-04-29 10:25:12 +02:00
|
|
|
export class MessageTextsPolicyModule {}
|