mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[ACS-9436] Upgrade ACA, ADW, ADF to Angular 19.
This commit is contained in:
parent
eec30b4908
commit
decedd933a
@ -10,7 +10,13 @@
|
||||
"createDefaultProgram": true
|
||||
},
|
||||
"rules": {
|
||||
"jsdoc/tag-lines": ["error", "any", {"startLines": 1}],
|
||||
"jsdoc/tag-lines": [
|
||||
"error",
|
||||
"any",
|
||||
{
|
||||
"startLines": 1
|
||||
}
|
||||
],
|
||||
"@typescript-eslint/naming-convention": "warn",
|
||||
"@typescript-eslint/consistent-type-assertions": "warn",
|
||||
"@typescript-eslint/prefer-for-of": "warn",
|
||||
@ -44,7 +50,6 @@
|
||||
"style": "kebab-case"
|
||||
}
|
||||
],
|
||||
"@angular-eslint/no-host-metadata-property": "off",
|
||||
"@angular-eslint/no-input-prefix": "error",
|
||||
"@typescript-eslint/consistent-type-definitions": "error",
|
||||
"@typescript-eslint/dot-notation": "off",
|
||||
@ -75,7 +80,8 @@
|
||||
"rxjs/no-subject-unsubscribe": "error",
|
||||
"rxjs/no-subject-value": "error",
|
||||
"rxjs/no-unsafe-takeuntil": "error",
|
||||
"unicorn/filename-case": "error"
|
||||
"unicorn/filename-case": "error",
|
||||
"@angular-eslint/prefer-standalone": "off"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -26,7 +26,6 @@ import { CommonModule } from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-aspect-list-dialog',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatDialogModule, TranslateModule, MatButtonModule, AspectListComponent, AutoFocusDirective],
|
||||
templateUrl: './aspect-list-dialog.component.html',
|
||||
styleUrls: ['./aspect-list-dialog.component.scss'],
|
||||
|
@ -31,7 +31,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-aspect-list',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatExpansionModule, MatCheckboxModule, MatTableModule, TranslateModule, MatProgressSpinnerModule],
|
||||
templateUrl: './aspect-list.component.html',
|
||||
styleUrls: ['./aspect-list.component.scss'],
|
||||
|
@ -26,7 +26,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-breadcrumb',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatIconModule, TranslateModule, MatSelectModule],
|
||||
templateUrl: './breadcrumb.component.html',
|
||||
styleUrls: ['./breadcrumb.component.scss'],
|
||||
|
@ -25,7 +25,6 @@ import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-dropdown-breadcrumb',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatIconModule, MatSelectModule, TranslateModule],
|
||||
templateUrl: './dropdown-breadcrumb.component.html',
|
||||
styleUrls: ['./dropdown-breadcrumb.component.scss'],
|
||||
|
@ -53,7 +53,6 @@ interface CategoryNameControlErrors {
|
||||
|
||||
@Component({
|
||||
selector: 'adf-categories-management',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
TranslateModule,
|
||||
|
@ -31,7 +31,6 @@ import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-content-metadata-card',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatCardModule, ContentMetadataComponent, MatButtonModule, MatIconModule, TranslateModule],
|
||||
templateUrl: './content-metadata-card.component.html',
|
||||
styleUrls: ['./content-metadata-card.component.scss'],
|
||||
|
@ -22,27 +22,26 @@ import { MatIconModule } from '@angular/material/icon';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatIconModule, MatExpansionModule, TranslateModule],
|
||||
selector: 'adf-content-metadata-header',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
styles: [
|
||||
`
|
||||
adf-content-metadata-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
adf-content-metadata-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.adf-metadata-properties-title {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
font-weight: 700;
|
||||
font-size: 15px;
|
||||
padding-left: 12px;
|
||||
}
|
||||
`
|
||||
.adf-metadata-properties-title {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
font-weight: 700;
|
||||
font-size: 15px;
|
||||
padding-left: 12px;
|
||||
}
|
||||
`
|
||||
],
|
||||
template: `
|
||||
<ng-container>
|
||||
|
@ -63,7 +63,6 @@ enum DefaultPanels {
|
||||
|
||||
@Component({
|
||||
selector: 'adf-content-metadata',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatExpansionModule,
|
||||
|
@ -62,7 +62,6 @@ export const defaultValidation = () => true;
|
||||
|
||||
@Component({
|
||||
selector: 'adf-content-node-selector-panel',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatFormFieldModule,
|
||||
|
@ -17,13 +17,7 @@
|
||||
|
||||
import { Component, DestroyRef, inject, Inject, OnInit, ViewEncapsulation } from '@angular/core';
|
||||
import { MAT_DIALOG_DATA, MatDialogModule, MatDialogRef } from '@angular/material/dialog';
|
||||
import {
|
||||
EmptyListComponent,
|
||||
NotificationService,
|
||||
ToolbarComponent,
|
||||
ToolbarTitleComponent,
|
||||
TranslationService
|
||||
} from '@alfresco/adf-core';
|
||||
import { EmptyListComponent, NotificationService, ToolbarComponent, ToolbarTitleComponent, TranslationService } from '@alfresco/adf-core';
|
||||
import { Node } from '@alfresco/js-api';
|
||||
import { AllowableOperationsEnum } from '../common/models/allowable-operations.enum';
|
||||
import { ContentService } from '../common/services/content.service';
|
||||
@ -47,7 +41,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-content-node-selector',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatDialogModule,
|
||||
@ -70,7 +63,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class ContentNodeSelectorComponent implements OnInit {
|
||||
|
||||
title: string;
|
||||
action: NodeAction;
|
||||
buttonActionName: string;
|
||||
|
@ -35,7 +35,6 @@ export enum Relations {
|
||||
|
||||
@Component({
|
||||
selector: 'adf-sites-dropdown',
|
||||
standalone: true,
|
||||
imports: [CommonModule, TranslateModule, MatFormFieldModule, MatSelectModule, InfiniteSelectScrollDirective],
|
||||
templateUrl: './sites-dropdown.component.html',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
|
@ -41,7 +41,6 @@ interface SharedDialogFormProps {
|
||||
|
||||
@Component({
|
||||
selector: 'adf-share-dialog',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
TranslateModule,
|
||||
|
@ -25,7 +25,6 @@ import { NodeSharedDirective } from '@alfresco/adf-content-services';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-node-share-test-component',
|
||||
standalone: true,
|
||||
imports: [NodeSharedDirective],
|
||||
template: `
|
||||
<button
|
||||
|
@ -28,7 +28,6 @@ import { MatButtonModule } from '@angular/material/button';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-content-type-dialog',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatDialogModule, TranslateModule, MatExpansionModule, MatTableModule, MatButtonModule],
|
||||
templateUrl: './content-type-dialog.component.html',
|
||||
styleUrls: ['./content-type-dialog.component.scss'],
|
||||
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { NgModule, ModuleWithProviders, APP_INITIALIZER } from '@angular/core';
|
||||
import { NgModule, ModuleWithProviders, inject, provideAppInitializer } from '@angular/core';
|
||||
import { provideTranslations } from '@alfresco/adf-core';
|
||||
import { MatDatetimepickerModule, MatNativeDatetimeModule } from '@mat-datetimepicker/core';
|
||||
import { CONTENT_TAG_DIRECTIVES } from './tag/tag.module';
|
||||
@ -115,24 +115,18 @@ export class ContentModule {
|
||||
provideTranslations('adf-content-services', 'assets/adf-content-services'),
|
||||
ContentAuthLoaderService,
|
||||
{ provide: AlfrescoApiService, useClass: AlfrescoApiNoAuthService },
|
||||
{
|
||||
provide: APP_INITIALIZER,
|
||||
useFactory: versionCompatibilityFactory,
|
||||
deps: [VersionCompatibilityService],
|
||||
multi: true
|
||||
},
|
||||
{
|
||||
provide: APP_INITIALIZER,
|
||||
useFactory: contentAuthLoaderFactory,
|
||||
deps: [ContentAuthLoaderService],
|
||||
multi: true
|
||||
},
|
||||
{
|
||||
provide: APP_INITIALIZER,
|
||||
useFactory: createAlfrescoApiInstance,
|
||||
deps: [AlfrescoApiLoaderService],
|
||||
multi: true
|
||||
}
|
||||
provideAppInitializer(() => {
|
||||
const initializerFn = versionCompatibilityFactory(inject(VersionCompatibilityService));
|
||||
return initializerFn();
|
||||
}),
|
||||
provideAppInitializer(() => {
|
||||
const initializerFn = contentAuthLoaderFactory(inject(ContentAuthLoaderService));
|
||||
return initializerFn();
|
||||
}),
|
||||
provideAppInitializer(() => {
|
||||
const initializerFn = createAlfrescoApiInstance(inject(AlfrescoApiLoaderService));
|
||||
return initializerFn();
|
||||
})
|
||||
]
|
||||
};
|
||||
}
|
||||
|
@ -31,7 +31,6 @@ export interface CategorySelectorDialogOptions {
|
||||
|
||||
@Component({
|
||||
selector: 'adf-category-selector-dialog',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatDialogModule, TranslateModule, CategoriesManagementComponent, MatButtonModule],
|
||||
templateUrl: './category-selector.dialog.html',
|
||||
styleUrls: ['./category-selector.dialog.scss'],
|
||||
|
@ -23,7 +23,8 @@ import { FileDownloadStatus } from '@alfresco/js-api';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-download-zip-dialog-storybook',
|
||||
template: `<button mat-raised-button (click)="openDialog()">Open dialog</button>`
|
||||
template: `<button mat-raised-button (click)="openDialog()">Open dialog</button>`,
|
||||
standalone: false
|
||||
})
|
||||
export class DownloadZipDialogStorybookComponent implements OnInit, OnChanges {
|
||||
@Input()
|
||||
|
@ -27,7 +27,8 @@ import { FileDownloadStatus } from '@alfresco/js-api';
|
||||
templateUrl: './download-zip.dialog.html',
|
||||
styleUrls: ['./download-zip.dialog.scss'],
|
||||
host: { class: 'adf-download-zip-dialog' },
|
||||
encapsulation: ViewEncapsulation.None
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
standalone: false
|
||||
})
|
||||
export class DownloadZipDialogComponent implements OnInit {
|
||||
// flag for async threads
|
||||
|
@ -33,7 +33,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-folder-dialog',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatDialogModule,
|
||||
|
@ -43,7 +43,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-library-dialog',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatDialogModule,
|
||||
|
@ -31,7 +31,6 @@ import { AlfrescoApiService } from '../../services/alfresco-api.service';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-node-lock',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
TranslateModule,
|
||||
|
@ -22,7 +22,6 @@ import { By } from '@angular/platform-browser';
|
||||
import { NoopTranslateModule } from '@alfresco/adf-core';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [AutoFocusDirective],
|
||||
template: ` <div tabindex="0" adf-auto-focus>Test</div>`
|
||||
})
|
||||
|
@ -26,7 +26,8 @@ import { HttpClientTestingModule } from '@angular/common/http/testing';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-text-subject',
|
||||
template: ''
|
||||
template: '',
|
||||
standalone: false
|
||||
})
|
||||
class TestComponent implements NodeAllowableOperationSubject {
|
||||
disabled: boolean = false;
|
||||
|
@ -24,7 +24,6 @@ import { NotificationService } from '@alfresco/adf-core';
|
||||
import { ContentTestingModule } from '../testing/content.testing.module';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [LibraryFavoriteDirective],
|
||||
selector: 'app-test-component',
|
||||
template: `<button #favoriteLibrary="favoriteLibrary" [adf-favorite-library]="selection">Favorite</button>`
|
||||
|
@ -22,7 +22,6 @@ import { By } from '@angular/platform-browser';
|
||||
import { NoopTranslateModule } from '@alfresco/adf-core';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [NodeCounterDirective],
|
||||
template: `<div [adf-node-counter]="count"></div>`
|
||||
})
|
||||
|
@ -44,7 +44,6 @@ export class NodeCounterDirective implements OnInit, OnChanges {
|
||||
}
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [TranslateModule],
|
||||
selector: 'adf-node-counter',
|
||||
template: ` <div>{{ 'NODE_COUNTER.SELECTED_COUNT' | translate : { count: counter } }}</div> `
|
||||
|
@ -24,7 +24,6 @@ import { EMPTY, of } from 'rxjs';
|
||||
import { CheckAllowableOperationDirective } from './check-allowable-operation.directive';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [NodeDeleteDirective],
|
||||
template: `<div id="delete-component" [adf-delete]="selection" (delete)="onDelete()"></div>`
|
||||
})
|
||||
@ -38,7 +37,6 @@ class TestComponent {
|
||||
}
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [NodeDeleteDirective, CheckAllowableOperationDirective],
|
||||
template: `<div id="delete-component" [adf-check-allowable-operation]="'delete'" [adf-delete]="selection" (delete)="onDelete($event)"></div>`
|
||||
})
|
||||
@ -52,7 +50,6 @@ class TestWithPermissionsComponent {
|
||||
}
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [NodeDeleteDirective],
|
||||
template: ` delete permanent
|
||||
<div id="delete-permanent" [adf-delete]="selection" [permanent]="permanent" (delete)="onDelete($event)"></div>`
|
||||
|
@ -26,7 +26,6 @@ import { AlfrescoApiService } from '../services/alfresco-api.service';
|
||||
import { AlfrescoApiServiceMock } from '../mock/alfresco-api.service.mock';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [NodeDownloadDirective],
|
||||
template: '<div [adfNodeDownload]="selection" [version]="version"></div>'
|
||||
})
|
||||
|
@ -30,7 +30,8 @@ const fakeNode = {
|
||||
} as Node;
|
||||
|
||||
@Component({
|
||||
template: '<div [adf-node-lock]="node"></div>'
|
||||
template: '<div [adf-node-lock]="node"></div>',
|
||||
standalone: false
|
||||
})
|
||||
class TestComponent {
|
||||
node = null;
|
||||
|
@ -23,7 +23,6 @@ import { NoopTranslateModule, TranslationService } from '@alfresco/adf-core';
|
||||
import { TrashcanApi } from '@alfresco/js-api';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [NodeRestoreDirective],
|
||||
template: ` <div [adf-restore]="selection" (restore)="doneSpy()"></div>`
|
||||
})
|
||||
|
@ -1925,7 +1925,6 @@ describe('DocumentList', () => {
|
||||
});
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [CommonModule, DocumentListComponent, CustomLoadingContentTemplateDirective],
|
||||
template: `
|
||||
<adf-document-list #customDocumentList>
|
||||
|
@ -92,7 +92,6 @@ const BYTES_TO_MB_CONVERSION_VALUE = 1048576;
|
||||
|
||||
@Component({
|
||||
selector: 'adf-document-list',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
DataTableComponent,
|
||||
|
@ -25,7 +25,6 @@ import { NodeDownloadDirective } from '../../../directives/node-download.directi
|
||||
|
||||
@Component({
|
||||
selector: 'adf-file-auto-download',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatDialogModule, TranslateModule, MatButtonModule, NodeDownloadDirective],
|
||||
templateUrl: './file-auto-download.component.html'
|
||||
})
|
||||
|
@ -26,7 +26,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-filter-header',
|
||||
standalone: true,
|
||||
imports: [CommonModule, HeaderFilterTemplateDirective, SearchFilterContainerComponent],
|
||||
templateUrl: './filter-header.component.html'
|
||||
})
|
||||
|
@ -27,7 +27,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-library-name-column',
|
||||
standalone: true,
|
||||
imports: [CommonModule, TranslateModule],
|
||||
template: `
|
||||
<span
|
||||
|
@ -26,7 +26,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-library-role-column',
|
||||
standalone: true,
|
||||
imports: [CommonModule, TranslateModule],
|
||||
template: `
|
||||
<span class="adf-datatable-cell-value" title="{{ displayText$ | async | translate }}">
|
||||
|
@ -26,7 +26,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-library-status-column',
|
||||
standalone: true,
|
||||
imports: [CommonModule, TranslateModule],
|
||||
template: `
|
||||
<span class="adf-datatable-cell-value" title="{{ displayText$ | async | translate }}">
|
||||
|
@ -27,7 +27,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-name-column',
|
||||
standalone: true,
|
||||
imports: [CommonModule, TranslateModule, NodeNameTooltipPipe],
|
||||
template: `
|
||||
<span
|
||||
|
@ -23,7 +23,6 @@ import { NodeNameTooltipPipe } from '../../../pipes/node-name-tooltip.pipe';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-trashcan-name-column',
|
||||
standalone: true,
|
||||
imports: [CommonModule, NodeNameTooltipPipe],
|
||||
template: `
|
||||
<ng-container *ngIf="!isLibrary">
|
||||
|
@ -26,7 +26,8 @@ import { ContentTestingModule } from '../testing/content.testing.module';
|
||||
import { ContentService } from '../common/services/content.service';
|
||||
|
||||
@Component({
|
||||
template: '<div [adf-edit-folder]="folder" (success)="success($event)" title="edit-title"></div>'
|
||||
template: '<div [adf-edit-folder]="folder" (success)="success($event)" title="edit-title"></div>',
|
||||
standalone: false
|
||||
})
|
||||
class TestComponent {
|
||||
folder = {};
|
||||
|
@ -81,7 +81,8 @@ class TestDataSource extends InfiniteScrollDatasource<TestData> {
|
||||
<div *cdkVirtualFor="let item of testDatasource" class="test-item" style="display: block; height: 100%; width: 100%;">
|
||||
{{ item.testDescription }}
|
||||
</div>
|
||||
</cdk-virtual-scroll-viewport>`
|
||||
</cdk-virtual-scroll-viewport>`,
|
||||
standalone: false
|
||||
})
|
||||
class TestComponent implements OnInit {
|
||||
testDatasource = new TestDataSource();
|
||||
|
@ -19,10 +19,10 @@ import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
template: `
|
||||
<button id="sample-button-permission" adf-inherit-permission [nodeId]="nodeId"
|
||||
(updated)="onUpdate($event)"> PERMISSION </button>
|
||||
<button id="sample-button-permission" adf-inherit-permission [nodeId]="nodeId" (updated)="onUpdate($event)">PERMISSION</button>
|
||||
<span id="update-notification" *ngIf="updatedNode"> NODE UPDATED </span>
|
||||
`
|
||||
`,
|
||||
standalone: false
|
||||
})
|
||||
export class SimpleInheritedPermissionTestComponent {
|
||||
message: string = '';
|
||||
|
@ -106,7 +106,6 @@ export const noResult = {
|
||||
</adf-search>
|
||||
<span id="component-result-message">{{ message }}</span>
|
||||
`,
|
||||
standalone: true,
|
||||
imports: [SearchModule, CommonModule]
|
||||
})
|
||||
export class SimpleSearchTestComponent {
|
||||
|
@ -28,7 +28,6 @@ import { VersionListComponent } from '../version-manager/version-list.component'
|
||||
|
||||
@Component({
|
||||
selector: 'adf-new-version-uploader-dialog',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatDialogModule,
|
||||
|
@ -34,7 +34,8 @@ import { NewVersionUploaderService } from './new-version-uploader.service';
|
||||
import { Version, VersionPaging } from '@alfresco/js-api';
|
||||
|
||||
@Component({
|
||||
template: ''
|
||||
template: '',
|
||||
standalone: false
|
||||
})
|
||||
class TestDialogComponent {
|
||||
@Output()
|
||||
|
@ -21,7 +21,6 @@ import { NodeCommentsService } from './services/node-comments.service';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-node-comments',
|
||||
standalone: true,
|
||||
imports: [CommentsComponent],
|
||||
templateUrl: './node-comments.component.html',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
|
@ -32,7 +32,6 @@ import { UserRoleColumnComponent } from '../user-role-column/user-role-column.co
|
||||
|
||||
@Component({
|
||||
selector: 'adf-add-permission-dialog',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatDialogModule,
|
||||
|
@ -33,7 +33,6 @@ import { UserIconColumnComponent } from '../user-icon-column/user-icon-column.co
|
||||
|
||||
@Component({
|
||||
selector: 'adf-add-permission-panel',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatFormFieldModule,
|
||||
|
@ -28,7 +28,6 @@ import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-add-permission',
|
||||
standalone: true,
|
||||
imports: [CommonModule, AddPermissionPanelComponent, MatButtonModule, TranslateModule],
|
||||
templateUrl: './add-permission.component.html',
|
||||
styleUrls: ['./add-permission.component.scss'],
|
||||
|
@ -22,7 +22,6 @@ import { CommonModule } from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-node-path-column',
|
||||
standalone: true,
|
||||
imports: [CommonModule],
|
||||
template: `
|
||||
<span class="adf-user-name-column adf-datatable-cell-value" title="{{ displayText$ | async }}">
|
||||
|
@ -38,7 +38,6 @@ import { UserRoleColumnComponent } from '../user-role-column/user-role-column.co
|
||||
|
||||
@Component({
|
||||
selector: 'adf-permission-container',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
DataTableComponent,
|
||||
|
@ -34,7 +34,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-permission-list',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatCardModule,
|
||||
|
@ -22,7 +22,6 @@ import { OverlayModule } from '@angular/cdk/overlay';
|
||||
import { PopOverDirective } from './pop-over.directive';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [PopOverDirective],
|
||||
template: `
|
||||
<div
|
||||
|
@ -25,7 +25,6 @@ import { MatIconModule } from '@angular/material/icon';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-user-icon-column',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatIconModule, InitialUsernamePipe],
|
||||
template: `
|
||||
<div class="adf-cell-value" [attr.id]="group ? 'group-icon' : 'person-icon'" *ngIf="!isSelected">
|
||||
|
@ -24,7 +24,6 @@ import { CommonModule } from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-user-name-column',
|
||||
standalone: true,
|
||||
imports: [CommonModule],
|
||||
template: `
|
||||
<div class="adf-ellipsis-cell" [attr.data-automation-id]="displayText$ | async">
|
||||
|
@ -29,7 +29,6 @@ export interface RoleModelOption {
|
||||
|
||||
@Component({
|
||||
selector: 'adf-user-role-column',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatFormFieldModule, MatSelectModule, TranslateModule],
|
||||
template: `
|
||||
<mat-form-field class="adf-role-selector-field" *ngIf="!readonly" subscriptSizing="dynamic">
|
||||
|
@ -22,7 +22,8 @@ import { SearchFacetFiltersService } from '../services/search-facet-filters.serv
|
||||
import { SearchQueryBuilderService } from '../services/search-query-builder.service';
|
||||
|
||||
@Component({
|
||||
template: `<button adf-reset-search>Reset</button>`
|
||||
template: `<button adf-reset-search>Reset</button>`,
|
||||
standalone: false
|
||||
})
|
||||
class TestComponent {}
|
||||
|
||||
|
@ -38,7 +38,6 @@ export interface SearchListOption {
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-check-list',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatCheckboxModule, TranslateModule, MatButtonModule, MatIconModule],
|
||||
templateUrl: './search-check-list.component.html',
|
||||
styleUrls: ['./search-check-list.component.scss'],
|
||||
|
@ -44,7 +44,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-chip-autocomplete-input',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatFormFieldModule, MatChipsModule, TranslateModule, MatIconModule, ReactiveFormsModule, MatAutocompleteModule],
|
||||
templateUrl: './search-chip-autocomplete-input.component.html',
|
||||
styleUrls: ['./search-chip-autocomplete-input.component.scss'],
|
||||
|
@ -27,7 +27,6 @@ import { SearchChipListComponent } from './search-chip-list.component';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-test-component',
|
||||
standalone: true,
|
||||
imports: [SearchChipListComponent],
|
||||
template: ` <adf-search-chip-list [searchFilter]="searchFilter" [clearAll]="allowClear" /> `
|
||||
})
|
||||
|
@ -25,7 +25,6 @@ import { MatIconModule } from '@angular/material/icon';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-chip-list',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatChipsModule, TranslateModule, MatIconModule],
|
||||
templateUrl: './search-chip-list.component.html',
|
||||
styleUrls: ['./search-chip-list.component.scss'],
|
||||
|
@ -32,7 +32,8 @@ import { ContentTestingModule } from '../../testing/content.testing.module';
|
||||
<span id="custom-no-result">{{ customMessage }}</span>
|
||||
</adf-empty-search-result>
|
||||
</adf-search-control>
|
||||
`
|
||||
`,
|
||||
standalone: false
|
||||
})
|
||||
export class SimpleSearchTestCustomEmptyComponent {
|
||||
customMessage = '';
|
||||
|
@ -39,7 +39,6 @@ import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-control',
|
||||
standalone: true,
|
||||
imports: [CommonModule, SearchTextInputComponent, SearchComponent, MatListModule, MatIconModule, HighlightPipe, TranslateModule],
|
||||
templateUrl: './search-control.component.html',
|
||||
styleUrls: ['./search-control.component.scss'],
|
||||
|
@ -29,13 +29,15 @@ import { ReplaySubject } from 'rxjs';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-filter-tabbed',
|
||||
template: ``
|
||||
template: ``,
|
||||
standalone: false
|
||||
})
|
||||
export class MockSearchFilterTabbedComponent {}
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-date-range',
|
||||
template: ``
|
||||
template: ``,
|
||||
standalone: false
|
||||
})
|
||||
export class MockSearchDateRangeComponent {
|
||||
@Input()
|
||||
|
@ -36,7 +36,6 @@ const DEFAULT_DATE_DISPLAY_FORMAT = 'dd-MMM-yy';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-date-range-tabbed',
|
||||
standalone: true,
|
||||
imports: [CommonModule, SearchFilterTabbedComponent, SearchDateRangeComponent, SearchFilterTabDirective],
|
||||
templateUrl: './search-date-range-tabbed.component.html',
|
||||
styleUrls: ['./search-date-range-tabbed.component.scss'],
|
||||
|
@ -37,7 +37,6 @@ const DEFAULT_DATE_DISPLAY_FORMAT = 'dd-MMM-yy';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-date-range',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatRadioModule,
|
||||
|
@ -17,25 +17,14 @@
|
||||
|
||||
import { Component, DestroyRef, inject, OnInit, ViewEncapsulation } from '@angular/core';
|
||||
import { FormControl, FormGroup, ReactiveFormsModule, Validators } from '@angular/forms';
|
||||
import {
|
||||
ADF_DATE_FORMATS,
|
||||
ADF_DATETIME_FORMATS,
|
||||
AdfDateFnsAdapter,
|
||||
AdfDateTimeFnsAdapter,
|
||||
DateFnsUtils
|
||||
} from '@alfresco/adf-core';
|
||||
import { ADF_DATE_FORMATS, ADF_DATETIME_FORMATS, AdfDateFnsAdapter, AdfDateTimeFnsAdapter, DateFnsUtils } from '@alfresco/adf-core';
|
||||
import { SearchWidget } from '../../models/search-widget.interface';
|
||||
import { SearchWidgetSettings } from '../../models/search-widget-settings.interface';
|
||||
import { SearchQueryBuilderService } from '../../services/search-query-builder.service';
|
||||
import { LiveErrorStateMatcher } from '../../forms/live-error-state-matcher';
|
||||
import { ReplaySubject } from 'rxjs';
|
||||
import { map } from 'rxjs/operators';
|
||||
import {
|
||||
DatetimeAdapter,
|
||||
MAT_DATETIME_FORMATS,
|
||||
MatDatetimepickerInputEvent,
|
||||
MatDatetimepickerModule
|
||||
} from '@mat-datetimepicker/core';
|
||||
import { DatetimeAdapter, MAT_DATETIME_FORMATS, MatDatetimepickerInputEvent, MatDatetimepickerModule } from '@mat-datetimepicker/core';
|
||||
import { DateAdapter, MAT_DATE_FORMATS } from '@angular/material/core';
|
||||
import { endOfMinute, isBefore, isValid, parseISO, startOfMinute } from 'date-fns';
|
||||
import { CommonModule } from '@angular/common';
|
||||
@ -58,7 +47,6 @@ export const DEFAULT_DATETIME_FORMAT: string = 'dd/MM/yyyy HH:mm';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-datetime-range',
|
||||
standalone: true,
|
||||
imports: [CommonModule, ReactiveFormsModule, MatFormFieldModule, MatInputModule, TranslateModule, MatDatetimepickerModule],
|
||||
templateUrl: './search-datetime-range.component.html',
|
||||
styleUrls: ['./search-datetime-range.component.scss'],
|
||||
|
@ -34,7 +34,6 @@ import { FormsModule } from '@angular/forms';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-facet-field',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatButtonModule, MatIconModule, MatFormFieldModule, MatInputModule, TranslateModule, FormsModule, MatCheckboxModule],
|
||||
templateUrl: './search-facet-field.component.html',
|
||||
styleUrls: ['./search-facet-field.component.scss'],
|
||||
|
@ -33,7 +33,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-filter-autocomplete-chips',
|
||||
standalone: true,
|
||||
imports: [CommonModule, SearchChipAutocompleteInputComponent, TranslateModule, MatButtonModule],
|
||||
templateUrl: './search-filter-autocomplete-chips.component.html',
|
||||
encapsulation: ViewEncapsulation.None
|
||||
|
@ -30,7 +30,6 @@ import { SearchFilterMenuCardComponent } from '../search-filter-menu-card/search
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-facet-chip-tabbed',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatChipsModule,
|
||||
|
@ -31,7 +31,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-facet-tabbed-content',
|
||||
standalone: true,
|
||||
imports: [CommonModule, SearchChipAutocompleteInputComponent, SearchFilterTabbedComponent, SearchFilterTabDirective],
|
||||
templateUrl: './search-facet-tabbed-content.component.html',
|
||||
encapsulation: ViewEncapsulation.None
|
||||
|
@ -29,7 +29,6 @@ import { MatButtonModule } from '@angular/material/button';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-facet-chip',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatChipsModule,
|
||||
|
@ -29,7 +29,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-filter-chips',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatChipsModule, TranslateModule, SearchFacetChipTabbedComponent, SearchFacetChipComponent, SearchWidgetChipComponent],
|
||||
templateUrl: './search-filter-chips.component.html',
|
||||
styleUrls: ['./search-filter-chips.component.scss'],
|
||||
|
@ -24,7 +24,6 @@ import { MatDividerModule } from '@angular/material/divider';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-filter-menu-card',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatButtonModule, TranslateModule, MatIconModule, MatDividerModule],
|
||||
templateUrl: './search-filter-menu-card.component.html',
|
||||
styleUrls: ['./search-filter-menu-card.component.scss'],
|
||||
|
@ -30,7 +30,6 @@ import { first } from 'rxjs/operators';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-widget-chip',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatChipsModule,
|
||||
|
@ -31,7 +31,6 @@ import { MatDialogModule } from '@angular/material/dialog';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-filter-container',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatButtonModule,
|
||||
|
@ -31,7 +31,6 @@ import { NoopTranslateModule } from '@alfresco/adf-core';
|
||||
<div *adf-search-filter-tab="'Tab 3'">Tab 3 content</div>
|
||||
</adf-search-filter-tabbed>
|
||||
`,
|
||||
standalone: true,
|
||||
imports: [SearchFilterTabbedComponent, SearchFilterTabDirective]
|
||||
})
|
||||
class SearchFilterTabbedTestComponent {}
|
||||
|
@ -23,7 +23,6 @@ import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-filter-tabbed',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatTabsModule, TranslateModule],
|
||||
templateUrl: './search-filter-tabbed.component.html',
|
||||
styleUrls: ['./search-filter-tabbed.component.scss'],
|
||||
|
@ -24,7 +24,6 @@ import { MatButtonModule } from '@angular/material/button';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-filter-card',
|
||||
standalone: true,
|
||||
imports: [CommonModule, SearchWidgetContainerComponent, TranslateModule, MatButtonModule],
|
||||
templateUrl: './search-filter-card.component.html',
|
||||
encapsulation: ViewEncapsulation.None
|
||||
|
@ -31,7 +31,6 @@ import { SearchFacetTabbedContentComponent } from '../search-filter-chips';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-filter',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatExpansionModule,
|
||||
|
@ -26,7 +26,6 @@ import { MatIconModule } from '@angular/material/icon';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-form',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatButtonModule, TranslateModule, MatMenuModule, MatIconModule],
|
||||
templateUrl: './search-form.component.html',
|
||||
styleUrls: ['./search-form.component.scss'],
|
||||
|
@ -25,7 +25,6 @@ import { SearchConfiguration } from '../../models';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-input',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatFormFieldModule, MatInputModule, TranslateModule],
|
||||
templateUrl: `./search-input.component.html`,
|
||||
styleUrls: ['./search-input.component.scss'],
|
||||
|
@ -41,7 +41,6 @@ export interface LogicalSearchCondition extends LogicalSearchConditionEnumValued
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-logical-filter',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatFormFieldModule, TranslateModule, FormsModule],
|
||||
templateUrl: './search-logical-filter.component.html',
|
||||
styleUrls: ['./search-logical-filter.component.scss'],
|
||||
|
@ -31,7 +31,6 @@ import { MatButtonModule } from '@angular/material/button';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-number-range',
|
||||
standalone: true,
|
||||
imports: [CommonModule, ReactiveFormsModule, MatFormFieldModule, MatInputModule, TranslateModule, MatButtonModule],
|
||||
templateUrl: './search-number-range.component.html',
|
||||
styleUrls: ['./search-number-range.component.scss'],
|
||||
|
@ -23,7 +23,6 @@ import { SearchFilterComponent } from '../search-filter';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-panel',
|
||||
standalone: true,
|
||||
imports: [CommonModule, SearchFilterComponent],
|
||||
templateUrl: './search-panel.component.html',
|
||||
styleUrls: ['./search-panel.component.scss'],
|
||||
|
@ -36,7 +36,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-properties',
|
||||
standalone: true,
|
||||
imports: [CommonModule, ReactiveFormsModule, TranslateModule, MatFormFieldModule, MatSelectModule, SearchChipAutocompleteInputComponent],
|
||||
templateUrl: './search-properties.component.html',
|
||||
styleUrls: ['./search-properties.component.scss'],
|
||||
|
@ -37,7 +37,6 @@ export interface SearchRadioOption {
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-radio',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatRadioModule, FormsModule, TranslateModule, MatButtonModule, MatIconModule],
|
||||
templateUrl: './search-radio.component.html',
|
||||
styleUrls: ['./search-radio.component.scss'],
|
||||
|
@ -29,7 +29,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-slider',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatSliderModule, FormsModule, MatButtonModule, TranslateModule],
|
||||
templateUrl: './search-slider.component.html',
|
||||
styleUrls: ['./search-slider.component.scss'],
|
||||
|
@ -23,7 +23,6 @@ import { SortingPickerComponent } from '@alfresco/adf-core';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-sorting-picker',
|
||||
standalone: true,
|
||||
imports: [CommonModule, SortingPickerComponent],
|
||||
templateUrl: './search-sorting-picker.component.html',
|
||||
styleUrls: ['./search-sorting-picker.component.scss'],
|
||||
|
@ -32,7 +32,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search-text',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatFormFieldModule, TranslateModule, MatInputModule, MatButtonModule, FormsModule, MatIconModule],
|
||||
templateUrl: './search-text.component.html',
|
||||
styleUrls: ['./search-text.component.scss'],
|
||||
|
@ -40,7 +40,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-search',
|
||||
standalone: true,
|
||||
imports: [CommonModule, TranslateModule],
|
||||
templateUrl: './search.component.html',
|
||||
styleUrls: ['./search.component.scss'],
|
||||
|
@ -36,7 +36,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-tag-node-actions-list',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatListModule, MatIconModule, MatFormFieldModule, MatInputModule, TranslateModule, FormsModule, MatButtonModule],
|
||||
templateUrl: './tag-actions.component.html',
|
||||
styleUrls: ['./tag-actions.component.scss'],
|
||||
|
@ -30,7 +30,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
*/
|
||||
@Component({
|
||||
selector: 'adf-tag-list',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatChipsModule, MatButtonModule, MatIconModule],
|
||||
templateUrl: './tag-list.component.html',
|
||||
styleUrls: ['./tag-list.component.scss'],
|
||||
|
@ -28,7 +28,6 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-tag-node-list',
|
||||
standalone: true,
|
||||
imports: [DynamicChipListComponent],
|
||||
templateUrl: './tag-node-list.component.html',
|
||||
encapsulation: ViewEncapsulation.None
|
||||
|
@ -64,7 +64,6 @@ const DEFAULT_TAGS_SORTING = {
|
||||
*/
|
||||
@Component({
|
||||
selector: 'adf-tags-creator',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatInputModule,
|
||||
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { NgModule, APP_INITIALIZER } from '@angular/core';
|
||||
import { NgModule, inject, provideAppInitializer } from '@angular/core';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { CoreModule, NoopTranslateModule, NoopAuthModule } from '@alfresco/adf-core';
|
||||
import { ContentModule } from '../content.module';
|
||||
@ -29,12 +29,10 @@ import { AlfrescoApiServiceMock } from '../mock';
|
||||
imports: [NoopAnimationsModule, CoreModule, NoopAuthModule, NoopTranslateModule, ContentModule, MatIconTestingModule],
|
||||
providers: [
|
||||
{ provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock },
|
||||
{
|
||||
provide: APP_INITIALIZER,
|
||||
useFactory: versionCompatibilityFactory,
|
||||
deps: [VersionCompatibilityService],
|
||||
multi: true
|
||||
}
|
||||
provideAppInitializer(() => {
|
||||
const initializerFn = versionCompatibilityFactory(inject(VersionCompatibilityService));
|
||||
return initializerFn();
|
||||
})
|
||||
],
|
||||
exports: [NoopAnimationsModule, CoreModule, ContentModule]
|
||||
})
|
||||
|
@ -29,7 +29,6 @@ import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-tree-view-list',
|
||||
standalone: true,
|
||||
imports: [CommonModule, MatTreeModule, MatButtonModule, MatIconModule, TranslateModule],
|
||||
templateUrl: './tree-view.component.html',
|
||||
styleUrls: ['./tree-view.component.scss']
|
||||
|
@ -47,7 +47,6 @@ import { MatIconModule } from '@angular/material/icon';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-tree',
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
TranslateModule,
|
||||
|
@ -27,7 +27,8 @@ import { FileUploadErrorEvent } from '../../../common/events/file.event';
|
||||
|
||||
@Component({
|
||||
selector: 'adf-upload-button-test',
|
||||
template: 'test component'
|
||||
template: 'test component',
|
||||
standalone: false
|
||||
})
|
||||
export class UploadTestComponent extends UploadBase {}
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user