This commit is contained in:
VitoAlbano
2025-01-23 23:18:06 +00:00
parent 23b64c4dde
commit 78519d0a5f
435 changed files with 7106 additions and 12918 deletions

View File

@@ -33,7 +33,6 @@
"style": "kebab-case"
}
],
"@angular-eslint/no-host-metadata-property": "off",
"@angular-eslint/no-empty-lifecycle-method": "off",
"@angular-eslint/no-input-prefix": "error",
"@typescript-eslint/consistent-type-definitions": "error",
@@ -65,7 +64,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"
}
},
{

View File

@@ -30,7 +30,6 @@ import { AnalyticsReportHeatMapComponent } from './analytics-report-heat-map.com
@Component({
selector: 'adf-analytics-generator',
standalone: true,
imports: [
CommonModule,
MatButtonModule,

View File

@@ -25,7 +25,6 @@ import { DiagramComponent } from '../../diagram/components/diagram.component';
@Component({
selector: 'adf-analytics-report-heat-map, analytics-report-heat-map',
standalone: true,
imports: [CommonModule, ReactiveFormsModule, DropdownWidgetAnalyticsComponent, DiagramComponent],
templateUrl: './analytics-report-heat-map.component.html'
})

View File

@@ -30,7 +30,6 @@ export const LAYOUT_GRID = 'GRID';
@Component({
selector: 'adf-analytics-report-list',
standalone: true,
imports: [CommonModule, MatListModule, MatIconModule, MatCardModule],
templateUrl: './analytics-report-list.component.html',
styleUrls: ['./analytics-report-list.component.scss'],

View File

@@ -108,7 +108,6 @@ export interface ReportFormValues {
@Component({
selector: 'adf-analytics-report-parameters',
standalone: true,
imports: [
CommonModule,
TranslateModule,

View File

@@ -23,7 +23,6 @@ import { AnalyticsReportParametersComponent } from './analytics-report-parameter
@Component({
selector: 'adf-analytics',
standalone: true,
imports: [CommonModule, AnalyticsGeneratorComponent, AnalyticsReportParametersComponent],
templateUrl: './analytics.component.html',
styleUrls: ['./analytics.component.scss'],

View File

@@ -24,7 +24,6 @@ import { MatIconModule } from '@angular/material/icon';
@Component({
selector: 'adf-custom-container',
standalone: true,
imports: [CommonModule, ButtonsMenuComponent, MatMenuModule, MatIconModule],
template: `
<adf-buttons-action-menu>
@@ -42,7 +41,8 @@ export class CustomContainerComponent {
@Component({
selector: 'adf-custom-empty-container',
template: `<adf-buttons-action-menu />`
template: `<adf-buttons-action-menu />`,
standalone: false
})
export class CustomEmptyContainerComponent {}

View File

@@ -23,7 +23,6 @@ import { CommonModule } from '@angular/common';
@Component({
selector: 'adf-buttons-action-menu',
standalone: true,
imports: [CommonModule, MatButtonModule, MatMenuModule, MatIconModule],
templateUrl: './buttons-menu.component.html',
styleUrls: ['./buttons-menu.component.scss'],

View File

@@ -26,7 +26,6 @@ import { MatCheckboxModule } from '@angular/material/checkbox';
@Component({
selector: 'analytics-checkbox-widget',
standalone: true,
imports: [CommonModule, TranslateModule, ReactiveFormsModule, MatCheckboxModule],
templateUrl: './checkbox.widget.html',
encapsulation: ViewEncapsulation.None

View File

@@ -40,7 +40,6 @@ interface DateRangeProps {
@Component({
selector: 'adf-date-range-widget',
standalone: true,
imports: [CommonModule, TranslateModule, ReactiveFormsModule, MatGridListModule, MatFormFieldModule, MatInputModule, MatDatepickerModule],
templateUrl: './date-range.widget.html',
styleUrls: ['./date-range.widget.scss'],

View File

@@ -25,7 +25,6 @@ import { TranslateModule } from '@ngx-translate/core';
@Component({
selector: 'analytics-dropdown-widget',
standalone: true,
imports: [CommonModule, TranslateModule, ReactiveFormsModule],
templateUrl: './dropdown.widget.html',
styleUrls: ['./dropdown.widget.scss'],

View File

@@ -30,7 +30,6 @@ import { MatInputModule } from '@angular/material/input';
@Component({
selector: 'duration-widget',
standalone: true,
imports: [CommonModule, MatFormFieldModule, TranslateModule, FormsModule, DropdownWidgetAnalyticsComponent, MatInputModule],
templateUrl: './duration.widget.html',
styleUrls: ['./duration.widget.scss'],

View File

@@ -27,7 +27,6 @@ import { MatInputModule } from '@angular/material/input';
@Component({
selector: 'analytics-number-widget',
standalone: true,
imports: [CommonModule, TranslateModule, ReactiveFormsModule, MatFormFieldModule, MatInputModule],
templateUrl: './number.widget.html',
styleUrls: ['./number.widget.scss'],

View File

@@ -22,7 +22,6 @@ import { DiagramIconAlfrescoPublishTaskComponent } from '../icons/diagram-icon-a
@Component({
selector: 'adf-diagram-publish-task',
standalone: true,
imports: [DiagramTaskComponent, DiagramIconAlfrescoPublishTaskComponent],
templateUrl: './diagram-alfresco-publish-task.component.html'
})

View File

@@ -24,7 +24,6 @@ import { DiagramIconBoxPublishTaskComponent } from '../icons/diagram-icon-box-pu
@Component({
selector: 'diagram-box-publish-task',
standalone: true,
imports: [DiagramTaskComponent, DiagramIconBoxPublishTaskComponent],
templateUrl: './diagram-box-publish-task.component.html'
})

View File

@@ -24,7 +24,6 @@ import { DiagramIconBusinessRuleTaskComponent } from '../icons/diagram-icon-busi
@Component({
selector: 'diagram-business-rule-task',
standalone: true,
imports: [DiagramTaskComponent, DiagramIconBusinessRuleTaskComponent],
templateUrl: './diagram-business-rule-task.component.html'
})

View File

@@ -24,7 +24,6 @@ import { DiagramIconCamelTaskComponent } from '../icons/diagram-icon-camel-task.
@Component({
selector: 'diagram-camel-task',
standalone: true,
imports: [DiagramTaskComponent, DiagramIconCamelTaskComponent],
templateUrl: './diagram-camel-task.component.html'
})

View File

@@ -31,7 +31,6 @@ import { DiagramServiceTaskComponent } from './diagram-service-task.component';
@Component({
selector: 'diagram-container-service-task',
standalone: true,
imports: [
CommonModule,
DiagramSendTaskComponent,

View File

@@ -24,7 +24,6 @@ import { DiagramIconGoogleDrivePublishTaskComponent } from '../icons/diagram-ico
@Component({
selector: 'diagram-google-drive-publish-task',
standalone: true,
imports: [DiagramTaskComponent, DiagramIconGoogleDrivePublishTaskComponent],
templateUrl: './diagram-google-drive-publish-task.component.html'
})

View File

@@ -24,7 +24,6 @@ import { DiagramIconManualTaskComponent } from '../icons/diagram-icon-manual-tas
@Component({
selector: 'diagram-manual-task',
standalone: true,
imports: [DiagramTaskComponent, DiagramIconManualTaskComponent],
templateUrl: './diagram-manual-task.component.html'
})

View File

@@ -24,7 +24,6 @@ import { DiagramIconMuleTaskComponent } from '../icons/diagram-icon-mule-task.co
@Component({
selector: 'diagram-mule-task',
standalone: true,
imports: [DiagramTaskComponent, DiagramIconMuleTaskComponent],
templateUrl: './diagram-mule-task.component.html'
})

View File

@@ -24,7 +24,6 @@ import { DiagramIconReceiveTaskComponent } from '../icons/diagram-icon-receive-t
@Component({
selector: 'diagram-receive-task',
standalone: true,
imports: [DiagramTaskComponent, DiagramIconReceiveTaskComponent],
templateUrl: './diagram-receive-task.component.html'
})

View File

@@ -24,7 +24,6 @@ import { DiagramIconRestCallTaskComponent } from '../icons/diagram-icon-rest-cal
@Component({
selector: 'diagram-rest-call-task',
standalone: true,
imports: [DiagramTaskComponent, DiagramIconRestCallTaskComponent],
templateUrl: './diagram-rest-call-task.component.html'
})

View File

@@ -24,7 +24,6 @@ import { DiagramIconScriptTaskComponent } from '../icons/diagram-icon-script-tas
@Component({
selector: 'diagram-script-task',
standalone: true,
imports: [DiagramTaskComponent, DiagramIconScriptTaskComponent],
templateUrl: './diagram-script-task.component.html'
})

View File

@@ -24,7 +24,6 @@ import { DiagramIconSendTaskComponent } from '../icons/diagram-icon-send-task.co
@Component({
selector: 'diagram-send-task',
standalone: true,
imports: [DiagramTaskComponent, DiagramIconSendTaskComponent],
templateUrl: './diagram-send-task.component.html'
})

View File

@@ -24,7 +24,6 @@ import { DiagramIconServiceTaskComponent } from '../icons/diagram-icon-service-t
@Component({
selector: 'diagram-service-task',
standalone: true,
imports: [DiagramTaskComponent, DiagramIconServiceTaskComponent],
templateUrl: './diagram-service-task.component.html'
})

View File

@@ -26,7 +26,6 @@ import { DiagramTooltipComponent } from '../tooltip/diagram-tooltip.component';
@Component({
selector: 'diagram-task',
standalone: true,
imports: [RaphaelRectDirective, RaphaelMultilineTextDirective, DiagramTooltipComponent],
templateUrl: './diagram-task.component.html'
})

View File

@@ -24,7 +24,6 @@ import { DiagramIconUserTaskComponent } from '../icons/diagram-icon-user-task.co
@Component({
selector: 'diagram-user-task',
standalone: true,
imports: [DiagramTaskComponent, DiagramIconUserTaskComponent],
templateUrl: './diagram-user-task.component.html'
})

View File

@@ -26,7 +26,6 @@ import { DiagramTooltipComponent } from '../tooltip/diagram-tooltip.component';
@Component({
selector: 'diagram-boundary-event',
standalone: true,
imports: [RaphaelCircleDirective, DiagramContainerIconEventTaskComponent, DiagramTooltipComponent],
templateUrl: './diagram-boundary-event.component.html'
})

View File

@@ -26,7 +26,6 @@ import { DiagramTooltipComponent } from '../tooltip/diagram-tooltip.component';
@Component({
selector: 'diagram-throw-event',
standalone: true,
imports: [RaphaelCircleDirective, DiagramContainerIconEventTaskComponent, DiagramTooltipComponent],
templateUrl: './diagram-throw-event.component.html'
})

View File

@@ -21,7 +21,6 @@ import { DiagramTooltipComponent } from './tooltip/diagram-tooltip.component';
@Component({
selector: 'adf-diagram-sequence-flow',
standalone: true,
imports: [RaphaelFlowArrowDirective, DiagramTooltipComponent],
templateUrl: './diagram-sequence-flow.component.html'
})

View File

@@ -47,7 +47,6 @@ const PADDING_HEIGHT: number = 60;
@Component({
selector: 'adf-diagram',
standalone: true,
imports: [
CommonModule,
DiagramStartEventComponent,

View File

@@ -24,7 +24,6 @@ import { DiagramEventComponent } from './diagram-event.component';
@Component({
selector: 'diagram-end-event',
standalone: true,
imports: [DiagramEventComponent],
templateUrl: './diagram-end-event.component.html'
})

View File

@@ -25,7 +25,6 @@ import { RaphaelCircleDirective } from '../raphael/raphael-circle.component';
@Component({
selector: 'diagram-event',
standalone: true,
imports: [DiagramTooltipComponent, DiagramContainerIconEventTaskComponent, RaphaelCircleDirective],
templateUrl: './diagram-event.component.html'
})

View File

@@ -24,7 +24,6 @@ import { DiagramEventComponent } from './diagram-event.component';
@Component({
selector: 'diagram-start-event',
standalone: true,
imports: [DiagramEventComponent],
templateUrl: './diagram-start-event.component.html'
})

View File

@@ -26,7 +26,6 @@ import { RaphaelPentagonDirective } from '../raphael/raphael-pentagon.component'
@Component({
selector: 'diagram-event-gateway',
standalone: true,
imports: [DiagramGatewayComponent, RaphaelCircleDirective, RaphaelPentagonDirective],
templateUrl: './diagram-event-gateway.component.html'
})

View File

@@ -25,7 +25,6 @@ import { RaphaelCrossDirective } from '../raphael/raphael-cross.component';
@Component({
selector: 'diagram-exclusive-gateway',
standalone: true,
imports: [DiagramGatewayComponent, RaphaelCrossDirective],
templateUrl: './diagram-exclusive-gateway.component.html'
})

View File

@@ -25,7 +25,6 @@ import { RaphaelRhombusDirective } from '../raphael/raphael-rhombus.component';
@Component({
selector: 'diagram-gateway',
standalone: true,
imports: [DiagramTooltipComponent, RaphaelRhombusDirective],
templateUrl: './diagram-gateway.component.html'
})

View File

@@ -25,7 +25,6 @@ import { RaphaelCircleDirective } from '../raphael/raphael-circle.component';
@Component({
selector: 'diagram-inclusive-gateway',
standalone: true,
imports: [DiagramGatewayComponent, RaphaelCircleDirective],
templateUrl: './diagram-inclusive-gateway.component.html'
})

View File

@@ -25,7 +25,6 @@ import { RaphaelPlusDirective } from '../raphael/raphael-plus.component';
@Component({
selector: 'diagram-parallel-gateway',
standalone: true,
imports: [DiagramGatewayComponent, RaphaelPlusDirective],
templateUrl: './diagram-parallel-gateway.component.html'
})

View File

@@ -27,7 +27,6 @@ import { DiagramIconMessageComponent } from './diagram-icon-message.component';
@Component({
selector: 'diagram-container-icon-event',
standalone: true,
imports: [CommonModule, DiagramIconTimerComponent, DiagramIconErrorComponent, DiagramIconSignalComponent, DiagramIconMessageComponent],
templateUrl: './diagram-container-icon-event.component.html'
})

View File

@@ -23,7 +23,6 @@ import { RaphaelIconAlfrescoPublishDirective } from '../raphael/icons/raphael-ic
@Component({
selector: 'diagram-icon-alfresco-publish-task',
standalone: true,
imports: [RaphaelIconAlfrescoPublishDirective],
templateUrl: './diagram-icon-alfresco-publish-task.component.html'
})

View File

@@ -23,7 +23,6 @@ import { RaphaelIconBoxPublishDirective } from '../raphael/icons/raphael-icon-bo
@Component({
selector: 'diagram-icon-box-publish-task',
standalone: true,
imports: [RaphaelIconBoxPublishDirective],
templateUrl: './diagram-icon-box-publish-task.component.html'
})

View File

@@ -23,7 +23,6 @@ import { RaphaelIconBusinessRuleDirective } from '../raphael/icons/raphael-icon-
@Component({
selector: 'diagram-icon-business-rule-task',
standalone: true,
imports: [RaphaelIconBusinessRuleDirective],
templateUrl: './diagram-icon-business-rule-task.component.html'
})

View File

@@ -23,7 +23,6 @@ import { RaphaelIconCamelDirective } from '../raphael/icons/raphael-icon-camel.c
@Component({
selector: 'diagram-icon-camel-task',
standalone: true,
imports: [RaphaelIconCamelDirective],
templateUrl: './diagram-icon-camel-task.component.html'
})

View File

@@ -23,7 +23,6 @@ import { RaphaelIconErrorDirective } from '../raphael/icons/raphael-icon-error.c
@Component({
selector: 'diagram-icon-error',
standalone: true,
imports: [RaphaelIconErrorDirective],
templateUrl: './diagram-icon-error.component.html'
})

View File

@@ -23,7 +23,6 @@ import { RaphaelIconGoogleDrivePublishDirective } from '../raphael/icons/raphael
@Component({
selector: 'diagram-icon-google-drive-publish-task',
standalone: true,
imports: [RaphaelIconGoogleDrivePublishDirective],
templateUrl: './diagram-icon-google-drive-publish-task.component.html'
})

View File

@@ -23,7 +23,6 @@ import { RaphaelIconManualDirective } from '../raphael/icons/raphael-icon-manual
@Component({
selector: 'diagram-icon-manual-task',
standalone: true,
imports: [RaphaelIconManualDirective],
templateUrl: './diagram-icon-manual-task.component.html'
})

View File

@@ -23,7 +23,6 @@ import { RaphaelIconMessageDirective } from '../raphael/icons/raphael-icon-messa
@Component({
selector: 'diagram-icon-message',
standalone: true,
imports: [RaphaelIconMessageDirective],
templateUrl: './diagram-icon-message.component.html'
})

View File

@@ -23,7 +23,6 @@ import { RaphaelIconMuleDirective } from '../raphael/icons/raphael-icon-mule.com
@Component({
selector: 'diagram-icon-mule-task',
standalone: true,
imports: [RaphaelIconMuleDirective],
templateUrl: './diagram-icon-mule-task.component.html'
})

View File

@@ -23,7 +23,6 @@ import { RaphaelIconReceiveDirective } from '../raphael/icons/raphael-icon-recei
@Component({
selector: 'diagram-icon-receive-task',
standalone: true,
imports: [RaphaelIconReceiveDirective],
templateUrl: './diagram-icon-receive-task.component.html'
})

View File

@@ -23,7 +23,6 @@ import { RaphaelIconRestCallDirective } from '../raphael/icons/raphael-icon-rest
@Component({
selector: 'diagram-icon-rest-call-task',
standalone: true,
imports: [RaphaelIconRestCallDirective],
templateUrl: './diagram-icon-rest-call-task.component.html'
})

View File

@@ -23,7 +23,6 @@ import { RaphaelIconScriptDirective } from '../raphael/icons/raphael-icon-script
@Component({
selector: 'diagram-icon-script-task',
standalone: true,
imports: [RaphaelIconScriptDirective],
templateUrl: './diagram-icon-script-task.component.html'
})

View File

@@ -24,7 +24,6 @@ import { DiagramTooltipComponent } from '../tooltip/diagram-tooltip.component';
@Component({
selector: 'diagram-icon-send-task',
standalone: true,
imports: [RaphaelIconSendDirective, DiagramTooltipComponent],
templateUrl: './diagram-icon-send-task.component.html'
})

View File

@@ -23,7 +23,6 @@ import { RaphaelIconServiceDirective } from '../raphael/icons/raphael-icon-servi
@Component({
selector: 'diagram-icon-service-task',
standalone: true,
imports: [RaphaelIconServiceDirective],
templateUrl: './diagram-icon-service-task.component.html'
})

View File

@@ -23,7 +23,6 @@ import { RaphaelIconSignalDirective } from '../raphael/icons/raphael-icon-signal
@Component({
selector: 'diagram-icon-signal',
standalone: true,
imports: [RaphaelIconSignalDirective],
templateUrl: './diagram-icon-signal.component.html'
})

View File

@@ -25,7 +25,6 @@ import { DiagramTooltipComponent } from '../tooltip/diagram-tooltip.component';
@Component({
selector: 'diagram-icon-timer',
standalone: true,
imports: [RaphaelCircleDirective, RaphaelIconTimerDirective, DiagramTooltipComponent],
templateUrl: './diagram-icon-timer.component.html'
})

View File

@@ -23,7 +23,6 @@ import { RaphaelIconUserDirective } from '../raphael/icons/raphael-icon-user.com
@Component({
selector: 'diagram-icon-user-task',
standalone: true,
imports: [RaphaelIconUserDirective],
templateUrl: './diagram-icon-user-task.component.html'
})

View File

@@ -26,7 +26,6 @@ import { DiagramTooltipComponent } from '../tooltip/diagram-tooltip.component';
@Component({
selector: 'diagram-intermediate-catching-event',
standalone: true,
imports: [RaphaelCircleDirective, DiagramContainerIconEventTaskComponent, DiagramTooltipComponent],
templateUrl: './diagram-intermediate-catching-event.component.html'
})

View File

@@ -25,7 +25,6 @@ import { DiagramTooltipComponent } from '../tooltip/diagram-tooltip.component';
@Component({
selector: 'diagram-event-subprocess',
standalone: true,
imports: [RaphaelRectDirective, DiagramTooltipComponent],
templateUrl: './diagram-event-subprocess.component.html'
})

View File

@@ -25,7 +25,6 @@ import { DiagramTooltipComponent } from '../tooltip/diagram-tooltip.component';
@Component({
selector: 'diagram-subprocess',
standalone: true,
imports: [RaphaelRectDirective, DiagramTooltipComponent],
templateUrl: './diagram-subprocess.component.html'
})

View File

@@ -23,7 +23,6 @@ import { RaphaelTextDirective } from '../raphael/raphael-text.component';
@Component({
selector: 'diagram-lane',
standalone: true,
imports: [RaphaelRectDirective, RaphaelTextDirective],
templateUrl: './diagram-lane.component.html'
})

View File

@@ -23,7 +23,6 @@ import { NgForOf, NgIf } from '@angular/common';
@Component({
selector: 'diagram-lanes',
standalone: true,
imports: [DiagramLaneComponent, NgIf, NgForOf],
templateUrl: './diagram-lanes.component.html'
})

View File

@@ -23,7 +23,6 @@ import { RaphaelTextDirective } from '../raphael/raphael-text.component';
@Component({
selector: 'diagram-pool',
standalone: true,
imports: [RaphaelRectDirective, RaphaelTextDirective],
templateUrl: './diagram-pool.component.html'
})

View File

@@ -24,7 +24,6 @@ import { DiagramLanesComponent } from './diagram-lanes.component';
@Component({
selector: 'diagram-pools',
standalone: true,
imports: [NgIf, NgForOf, DiagramPoolComponent, DiagramLanesComponent],
templateUrl: './diagram-pools.component.html'
})

View File

@@ -22,7 +22,8 @@ import { DiagramTooltipComponent } from './diagram-tooltip.component';
@Component({
template: ` <div id="diagram-element-id">Hover me</div>
<diagram-tooltip [data]="data" />`
<diagram-tooltip [data]="data" />`,
standalone: false
})
class TestHostComponent {
data = {

View File

@@ -26,7 +26,6 @@ const IS_ACTIVE_CLASS = 'adf-is-active';
@Component({
selector: 'diagram-tooltip',
standalone: true,
templateUrl: './diagram-tooltip.component.html',
imports: [NgIf, NgForOf],
styleUrls: ['./diagram-tooltip.component.scss']