@fuentis/phoenix-ui 0.0.9-alpha.96 → 0.0.9-alpha.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/fuentis-phoenix-ui.mjs +4953 -0
- package/fesm2022/fuentis-phoenix-ui.mjs.map +1 -0
- package/lib/components/data-table/phoenix-data-table/isSelected.pipe.d.ts +7 -0
- package/lib/components/data-table/phoenix-data-table/phoenix-data-table.component.d.ts +84 -0
- package/lib/components/data-table/phoenix-data-table-action/phoenix-data-table-action.component.d.ts +28 -0
- package/lib/components/data-table/phoenix-data-table-tabs/phoenix-data-table-tabs.component.d.ts +16 -0
- package/lib/components/data-table/table/table.component.d.ts +42 -0
- package/lib/components/data-table/table-caption/table-caption.component.d.ts +32 -0
- package/lib/components/data-table/utils/data-cell-value.pipe.d.ts +16 -0
- package/lib/components/data-table/utils/dataTable.enum.d.ts +62 -0
- package/lib/components/data-table/utils/dataTable.interface.d.ts +45 -0
- package/lib/components/data-table/utils/export-type.util.d.ts +4 -0
- package/lib/components/data-table/utils/remove-html-tags.pipe.d.ts +7 -0
- package/lib/components/data-table/utils/table-cell.pipe.d.ts +10 -0
- package/lib/components/meta-form/meta-field-error/inline-field-error.component.d.ts +20 -0
- package/lib/components/meta-form/meta-field-label/meta-label.component.d.ts +10 -0
- package/lib/components/meta-form/meta-form-abstract.d.ts +40 -0
- package/lib/components/meta-form/meta-form-buttons/meta-form-buttons.component.d.ts +21 -0
- package/lib/components/meta-form/meta-form-fields/meta-assign-responsible/meta-assign-responsible.component.d.ts +20 -0
- package/lib/components/meta-form/meta-form-fields/meta-calendar/meta-calendar.component.d.ts +7 -0
- package/lib/components/meta-form/meta-form-fields/meta-checkbox/meta-checkbox.component.d.ts +8 -0
- package/lib/components/meta-form/meta-form-fields/meta-checkbox-color-picker/meta-checkbox-color-picker.component.d.ts +10 -0
- package/lib/components/meta-form/meta-form-fields/meta-color-picker/meta-color-picker.component.d.ts +6 -0
- package/lib/components/meta-form/meta-form-fields/meta-currency/meta-currency.component.d.ts +9 -0
- package/lib/components/meta-form/meta-form-fields/meta-multiple-select/meta-multiple-select.component.d.ts +6 -0
- package/lib/components/meta-form/meta-form-fields/meta-number-input/meta-number-input.component.d.ts +7 -0
- package/lib/components/meta-form/meta-form-fields/meta-password-feild/meta-password-feild.component.d.ts +6 -0
- package/lib/components/meta-form/meta-form-fields/meta-select-button/meta-select-button.component.d.ts +6 -0
- package/lib/components/meta-form/meta-form-fields/meta-single-select/meta-single-select.component.d.ts +12 -0
- package/lib/components/meta-form/meta-form-fields/meta-single-select-object-based/meta-single-select-object_based.component.d.ts +11 -0
- package/lib/components/meta-form/meta-form-fields/meta-start-due-date/meta-start-due-date.component.d.ts +23 -0
- package/lib/components/meta-form/meta-form-fields/meta-switch/meta-switch.component.d.ts +6 -0
- package/lib/components/meta-form/meta-form-fields/meta-text-area/meta-text-area.component.d.ts +7 -0
- package/lib/components/meta-form/meta-form-fields/meta-text-editor/meta-text-editor.component.d.ts +7 -0
- package/lib/components/meta-form/meta-form-fields/meta-text-input/meta-text-input.component.d.ts +7 -0
- package/lib/components/meta-form/meta-form-fields/meta-timeperiod/meta-timeperiod.component.d.ts +19 -0
- package/lib/components/meta-form/meta-form-fields/meta-upload/meta-upload.component.d.ts +12 -0
- package/lib/components/meta-form/meta-form-fields/object-item-dialog/object-item-dialog.component.d.ts +20 -0
- package/lib/components/meta-form/meta-form-interface/interfaces.d.ts +40 -0
- package/lib/components/meta-form/meta-form-templates/groups-form/groups-form.component.d.ts +14 -0
- package/lib/components/meta-form/meta-form-templates/read-only-input/read-only-input.component.d.ts +24 -0
- package/lib/components/meta-form/meta-form.component.d.ts +16 -0
- package/lib/components/meta-form/meta-validators/due-date/start-due-date.validator.d.ts +4 -0
- package/lib/components/meta-form/meta-validators/timeperiod/timeperiod.validator.d.ts +2 -0
- package/lib/components/meta-form/meta-validators/white-space-validator.d.ts +9 -0
- package/lib/components/meta-form/services/meta-form.service.d.ts +36 -0
- package/lib/components/meta-form/utils/base-meta-field.d.ts +24 -0
- package/lib/components/meta-form/utils/control-type.enum.d.ts +23 -0
- package/lib/components/meta-form/utils/error-type.util.d.ts +17 -0
- package/lib/components/meta-form/utils/field-col.pipe.d.ts +7 -0
- package/lib/components/meta-form/utils/field-label.pipe.d.ts +7 -0
- package/lib/components/meta-form/utils/get-field-type.utils.d.ts +1 -0
- package/lib/components/meta-form/utils/global-phase.utils.d.ts +19 -0
- package/lib/components/meta-form/utils/lang.utils.d.ts +1 -0
- package/lib/components/meta-form/utils/so-types.d.ts +22 -0
- package/lib/components/meta-form/utils/translate-dropdown-data.pipe.d.ts +9 -0
- package/lib/components/quick-pick/quick-pick/quick-pick.component.d.ts +9 -0
- package/lib/components/quick-pick/quick-pick-sidepanel/quick-pick-sidepanel.component.d.ts +20 -0
- package/lib/components/search-bar/search-bar.component.d.ts +30 -0
- package/lib/components/shell/shell.component.d.ts +9 -0
- package/lib/components/sidebar/sidebar.component.d.ts +12 -0
- package/lib/components/sidebar-item/sidebar-item.component.d.ts +12 -0
- package/lib/components/status-bar/enums/status-col-type.enum.d.ts +8 -0
- package/lib/components/status-bar/models/status-attribute.model.d.ts +19 -0
- package/lib/components/status-bar/models/status-bar-configuration.model.d.ts +14 -0
- package/lib/components/status-bar/pipes/first-letter.pipe.d.ts +7 -0
- package/lib/components/status-bar/pipes/text-length.pipe.d.ts +14 -0
- package/lib/components/status-bar/status-bar.component.d.ts +20 -0
- package/lib/components/status-header/status-header.component.d.ts +19 -0
- package/lib/components/tag/tag.component.d.ts +17 -0
- package/lib/components/topbar/topbar.component.d.ts +46 -0
- package/lib/components/user/user.component.d.ts +15 -0
- package/lib/models/shell-config.model.d.ts +26 -0
- package/lib/models/status.model.d.ts +20 -0
- package/package.json +3 -3
- package/public-api.d.ts +23 -0
- package/fesm2022/public-api.mjs +0 -4
- package/fesm2022/public-api.mjs.map +0 -1
package/lib/components/meta-form/meta-form-fields/meta-text-editor/meta-text-editor.component.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMetaField } from '../../utils/base-meta-field';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaTextEditorComponent extends BaseMetaField {
|
|
4
|
+
changeValue(value: string): void;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaTextEditorComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaTextEditorComponent, "phoenix-meta-text-editor", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
package/lib/components/meta-form/meta-form-fields/meta-text-input/meta-text-input.component.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMetaField } from '../../utils/base-meta-field';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaTextInputComponent extends BaseMetaField {
|
|
4
|
+
lang: string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaTextInputComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaTextInputComponent, "phoenix-meta-text-input", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
package/lib/components/meta-form/meta-form-fields/meta-timeperiod/meta-timeperiod.component.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ControlValueAccessor, FormGroup } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaTimeperiodComponent implements ControlValueAccessor {
|
|
4
|
+
control: any;
|
|
5
|
+
parentForm: FormGroup;
|
|
6
|
+
value: string;
|
|
7
|
+
ctrl: any;
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
onChanged: (value: string) => void;
|
|
10
|
+
onTouched: () => void;
|
|
11
|
+
isDisabled: boolean;
|
|
12
|
+
getInputValue(event: Event): string;
|
|
13
|
+
writeValue(value: string): void;
|
|
14
|
+
registerOnChange(fn: any): void;
|
|
15
|
+
registerOnTouched(fn: any): void;
|
|
16
|
+
setDisabledState(isDisabled: boolean): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaTimeperiodComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaTimeperiodComponent, "phoenix-meta-timeperiod", never, { "control": { "alias": "control"; "required": false; }; "parentForm": { "alias": "parentForm"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { BaseMetaField } from '../../utils/base-meta-field';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MetaUploadComponent extends BaseMetaField {
|
|
5
|
+
fileInput: ElementRef;
|
|
6
|
+
lang: string;
|
|
7
|
+
file: any;
|
|
8
|
+
fileChange(event: any): any;
|
|
9
|
+
triggerFileInput(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaUploadComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaUploadComponent, "phoenix-meta-upload", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ObjectItemDialogComponent implements OnInit {
|
|
5
|
+
ref: DynamicDialogRef;
|
|
6
|
+
config: DynamicDialogConfig;
|
|
7
|
+
employee: any;
|
|
8
|
+
selectedEmployee: any;
|
|
9
|
+
employees: any;
|
|
10
|
+
columns: any;
|
|
11
|
+
disableButton: boolean;
|
|
12
|
+
constructor(ref: DynamicDialogRef, config: DynamicDialogConfig);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
getEmployees(): void;
|
|
15
|
+
onRowSelect(event: any): void;
|
|
16
|
+
close(): void;
|
|
17
|
+
assignEmployee(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObjectItemDialogComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObjectItemDialogComponent, "phoenix-object-item-dialog", never, {}, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
export interface MetaTabControl {
|
|
3
|
+
title: string;
|
|
4
|
+
uniqueKey: string;
|
|
5
|
+
fields: MetaControl[];
|
|
6
|
+
contentType?: string;
|
|
7
|
+
templateRef: TemplateRef<any>;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
index?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface MetaOptionItem {
|
|
12
|
+
userFriendlyMessage: string;
|
|
13
|
+
key: string;
|
|
14
|
+
}
|
|
15
|
+
export interface ConfigMetaTab {
|
|
16
|
+
title: string;
|
|
17
|
+
uniqueKey: string;
|
|
18
|
+
templateRef: TemplateRef<any>;
|
|
19
|
+
}
|
|
20
|
+
export interface MetaControl {
|
|
21
|
+
id: any;
|
|
22
|
+
position: number;
|
|
23
|
+
readOnly?: boolean;
|
|
24
|
+
userFriendlyMessage: string;
|
|
25
|
+
mandatory: boolean;
|
|
26
|
+
hidden?: boolean;
|
|
27
|
+
style: {
|
|
28
|
+
colWidth: number;
|
|
29
|
+
};
|
|
30
|
+
configuration: {
|
|
31
|
+
id?: number;
|
|
32
|
+
key: string;
|
|
33
|
+
type: string;
|
|
34
|
+
options?: {
|
|
35
|
+
key: string;
|
|
36
|
+
userFriendlyMessage: string;
|
|
37
|
+
}[];
|
|
38
|
+
};
|
|
39
|
+
validators?: any;
|
|
40
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MetaFormAbstract } from '../../meta-form-abstract';
|
|
3
|
+
import { ControlType } from '../../utils/control-type.enum';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class GroupsFormComponent extends MetaFormAbstract implements OnChanges {
|
|
6
|
+
activePanelsIndex: number[];
|
|
7
|
+
ControlType: typeof ControlType;
|
|
8
|
+
optionLabel: string;
|
|
9
|
+
notiffication?: any;
|
|
10
|
+
private trans;
|
|
11
|
+
ngOnChanges(simpleChanges?: SimpleChanges): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GroupsFormComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GroupsFormComponent, "phoenix-groups-form", never, { "activePanelsIndex": { "alias": "activePanelsIndex"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
package/lib/components/meta-form/meta-form-templates/read-only-input/read-only-input.component.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { AfterViewInit, DestroyRef, OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import { GlobalPhase } from '../../utils/global-phase.utils';
|
|
6
|
+
import { ControlType } from '../../utils/control-type.enum';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ReadOnlyInputComponent implements OnInit, AfterViewInit {
|
|
9
|
+
private sanitizer;
|
|
10
|
+
private translateService;
|
|
11
|
+
private dr;
|
|
12
|
+
control: any;
|
|
13
|
+
metaform: FormGroup;
|
|
14
|
+
value: any;
|
|
15
|
+
ctrlType: typeof ControlType;
|
|
16
|
+
constructor(sanitizer: DomSanitizer, translateService: TranslateService, dr: DestroyRef);
|
|
17
|
+
ngAfterViewInit(): void;
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
selectEvent(data: any): void;
|
|
20
|
+
resolvePhase(type: string): GlobalPhase.SC_PHASE | GlobalPhase.RA_PHASE | GlobalPhase.IA_PHASE | "CVE";
|
|
21
|
+
setData(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReadOnlyInputComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReadOnlyInputComponent, "phoenix-read-only-input", never, { "control": { "alias": "control"; "required": false; }; "metaform": { "alias": "metaform"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormBuilder } from '@angular/forms';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { MetaFormAbstract } from './meta-form-abstract';
|
|
5
|
+
import { MetaFormService } from './services/meta-form.service';
|
|
6
|
+
import { HttpClient } from '@angular/common/http';
|
|
7
|
+
import { ControlType } from './utils/control-type.enum';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class MetaFormComponent extends MetaFormAbstract implements OnChanges {
|
|
10
|
+
constructor(fb: FormBuilder, metaService: MetaFormService, translateService: TranslateService, http: HttpClient);
|
|
11
|
+
ControlType: typeof ControlType;
|
|
12
|
+
optionLabel: string;
|
|
13
|
+
ngOnChanges(simpleChanges: SimpleChanges): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaFormComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaFormComponent, "phoenix-meta-form", never, {}, {}, never, ["*"], true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AbstractControl, UntypedFormControl } from '@angular/forms';
|
|
2
|
+
export declare class WhiteSpaceValidator {
|
|
3
|
+
static noWhiteSpaceValidator(control: AbstractControl<any, any>): {
|
|
4
|
+
whitespace: boolean;
|
|
5
|
+
} | null;
|
|
6
|
+
static noWhiteSpaceValidatorForEditor(control: UntypedFormControl): {
|
|
7
|
+
whitespace: boolean;
|
|
8
|
+
} | null;
|
|
9
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaFormService {
|
|
4
|
+
router: Router;
|
|
5
|
+
private formEvent;
|
|
6
|
+
private formReadOnlySubject;
|
|
7
|
+
private formTabContent;
|
|
8
|
+
private formDirtyStatus;
|
|
9
|
+
private formBuildCompletedSubject;
|
|
10
|
+
currentFormState: import("rxjs").Observable<any>;
|
|
11
|
+
formReadOnlyState: import("rxjs").Observable<boolean>;
|
|
12
|
+
currentFormTabContent: import("rxjs").Observable<string>;
|
|
13
|
+
currentFormDirtyStatus: import("rxjs").Observable<boolean>;
|
|
14
|
+
/**
|
|
15
|
+
* Notify when form is completed
|
|
16
|
+
* @description Notifies you about when form bild is completed in meta-form component class. Usefull when you need to attach some listeners on form controls or any other action related to form when all controls are avaiable
|
|
17
|
+
* @returns {boolean}
|
|
18
|
+
*/
|
|
19
|
+
formBuildCompleted: import("rxjs").Observable<boolean>;
|
|
20
|
+
constructor();
|
|
21
|
+
setFormEvent(event: any): void;
|
|
22
|
+
setFormReadOnlyState(state: boolean): void;
|
|
23
|
+
setFormTabContent(tabContent: string): void;
|
|
24
|
+
setFormDirtyStatus(status: boolean): void;
|
|
25
|
+
/**
|
|
26
|
+
* Sets the form build completion status to indicate when the form is created.
|
|
27
|
+
*
|
|
28
|
+
* @param {boolean} isCompleted - A boolean value to indicate whether the form build is completed.
|
|
29
|
+
* Set to `true` when the form is fully created.
|
|
30
|
+
*
|
|
31
|
+
* @description This method is used to notify when the form is created and ready for use.
|
|
32
|
+
*/
|
|
33
|
+
setFormBuildCompletition(isCompleted: boolean): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaFormService, never>;
|
|
35
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MetaFormService>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ControlValueAccessor, FormGroup } from '@angular/forms';
|
|
2
|
+
import { Subject, Subscription } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BaseMetaField implements ControlValueAccessor {
|
|
5
|
+
disable: boolean;
|
|
6
|
+
control: any;
|
|
7
|
+
parentForm: FormGroup;
|
|
8
|
+
fcs$: Subscription | undefined;
|
|
9
|
+
cfc$: Subscription | undefined;
|
|
10
|
+
value: any;
|
|
11
|
+
onChanged: (value: any) => void;
|
|
12
|
+
onTouched: () => void;
|
|
13
|
+
ctrl: any;
|
|
14
|
+
protected changeSub: Subject<boolean>;
|
|
15
|
+
protected changeSubs$: Subscription;
|
|
16
|
+
getInputValue(event: Event | any): any;
|
|
17
|
+
writeValue(value: string): void;
|
|
18
|
+
registerOnChange(fn: any): void;
|
|
19
|
+
registerOnTouched(fn: any): void;
|
|
20
|
+
setDisabledState(isDisabled: boolean): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseMetaField, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseMetaField, never, never, { "disable": { "alias": "disable"; "required": false; }; "control": { "alias": "control"; "required": false; }; "parentForm": { "alias": "parentForm"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare enum ControlType {
|
|
2
|
+
TEXT = "TEXT",
|
|
3
|
+
NUMBER = "NUMBER",
|
|
4
|
+
MS_OPTION = "MS_OPTION",
|
|
5
|
+
SS_OPTION = "SS_OPTION",
|
|
6
|
+
TEXT_AREA = "TEXT_AREA",
|
|
7
|
+
TEXT_EDITOR = "TEXT_EDITOR",
|
|
8
|
+
DATE = "DATE",
|
|
9
|
+
START_DUE_DATE = "START_DUE_DATE",
|
|
10
|
+
CHECKBOX = "CHECKBOX",
|
|
11
|
+
CHECKBOX_COLOR = "CHECKBOX_COLOR",
|
|
12
|
+
LINKS_DATA = "LINKS_DATA",
|
|
13
|
+
PASSWORD = "PASSWORD",
|
|
14
|
+
SWITCH = "SWITCH",
|
|
15
|
+
TIMEPERIOD = "TIMEPERIOD",
|
|
16
|
+
CURRENCY = "CURRENCY",
|
|
17
|
+
ASSIGN = "ASSIGN",
|
|
18
|
+
COLOR = "COLOR",
|
|
19
|
+
SELECT_BUTTON = "SELECT_BUTTON",
|
|
20
|
+
UPLOAD = "UPLOAD",
|
|
21
|
+
SLOT = "SLOT",
|
|
22
|
+
SS_OPTION_OBJECT_BASED = "SS_OPTION_OBJECT_BASED"
|
|
23
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare enum ErrorType {
|
|
2
|
+
REQUIRED = "required",
|
|
3
|
+
MIN_LENGTH = "minlength",
|
|
4
|
+
MAX_LENGTH = "maxlength",
|
|
5
|
+
EMAIL = "email",
|
|
6
|
+
CUSTOM = "custom",
|
|
7
|
+
PATTERN = "pattern",
|
|
8
|
+
UIQUE_ENTRY = "uniqueEntry",
|
|
9
|
+
TIMEPERIOD = "timeperiod",
|
|
10
|
+
TIMEPERIOD_LIMIT_MAX = "timeperiod_limit_max",
|
|
11
|
+
TIMEPERIOD_LIMIT_MIN = "timeperiod_limit_min",
|
|
12
|
+
DUE_DATE = "dueDate",
|
|
13
|
+
UIQUE = "unique",
|
|
14
|
+
BOTH_DATES = "both_dates",
|
|
15
|
+
MAX = "max",
|
|
16
|
+
MIN = "min"
|
|
17
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FieldColPipe implements PipeTransform {
|
|
4
|
+
transform(value: any, ...args: unknown[]): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldColPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FieldColPipe, "fieldCol", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FieldLabelPipe implements PipeTransform {
|
|
4
|
+
transform(value: any, currentLang: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldLabelPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FieldLabelPipe, "fieldLabel", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getFieldType(control: any): any;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare enum GlobalPhase {
|
|
2
|
+
SC_PHASE = "sc",
|
|
3
|
+
RA_PHASE = "ra",
|
|
4
|
+
PRA_PHASE = "pra",
|
|
5
|
+
IA_PHASE = "ia",
|
|
6
|
+
GAP_PHASE = "gap",
|
|
7
|
+
ADMINISTRATION_PHASE = "administration",
|
|
8
|
+
WF_PHASE = "workflow",
|
|
9
|
+
REPORT_PHASE = "reporting",
|
|
10
|
+
MY_TASKS = "my-tasks",
|
|
11
|
+
ALL_TASKS = "all-tasks",
|
|
12
|
+
TASKBOARD = "taskboards",
|
|
13
|
+
SPACES = "spaces",
|
|
14
|
+
CATALOG = "catalog",
|
|
15
|
+
CATEGORIES = "categories",
|
|
16
|
+
DASHBOARD = "dashboard",
|
|
17
|
+
MONITORING = "monitoring",
|
|
18
|
+
RISK_OVERVIEW = "RISK_OVERVIEW"
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getLanguageParam(obj: any, langType: string, paramName: string): string;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare class SoTypes {
|
|
2
|
+
static readonly COMPL_APPLIED_MODULE = "COMPL_APPLIED_MODULE";
|
|
3
|
+
static readonly COMPL_APPLIED_MEASURE = "COMPL_APPLIED_MEASURE";
|
|
4
|
+
static readonly COMPL_APPLIED_REQUIREMENT = "COMPL_APPLIED_REQUIREMENT";
|
|
5
|
+
static readonly COMPL_APPLIED_THREAT = "COMPL_APPLIED_THREAT";
|
|
6
|
+
static readonly COMPL_APPLIED_RISK = "COMPL_APPLIED_RISK";
|
|
7
|
+
static readonly COMPL_APPLIED_CONTROL = "COMPL_APPLIED_CONTROL";
|
|
8
|
+
static resolveUrlType(typeLabelKey: SoTypes | string): SoTypesString.MODULES | SoTypesString.REQUIREMENTS | SoTypesString.MEASURES | SoTypesString.THREATS | SoTypesString.RISKS | SoTypesString.CONTROLS;
|
|
9
|
+
static resolveUrlTypeByString(stringType: SoTypesString | string): "COMPL_APPLIED_MODULE" | "COMPL_APPLIED_REQUIREMENT" | "COMPL_APPLIED_MEASURE" | "COMPL_APPLIED_THREAT" | "COMPL_APPLIED_RISK" | "COMPL_APPLIED_CONTROL";
|
|
10
|
+
}
|
|
11
|
+
export declare enum SoTypesString {
|
|
12
|
+
MODULES = "modules",
|
|
13
|
+
REQUIREMENTS = "requirements",
|
|
14
|
+
MEASURES = "measures",
|
|
15
|
+
THREATS = "threats",
|
|
16
|
+
RISKS = "risks",
|
|
17
|
+
VULNERABILITIES = "vulnerabilities",
|
|
18
|
+
DAMAGE_SCENARIO = "damagescenarios",
|
|
19
|
+
RISK_TREATMENT = "risktreatments",
|
|
20
|
+
CONTROLS = "controls",
|
|
21
|
+
ADDITIONAL_MEASURES = "additionalmeasures"
|
|
22
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TranslateDropdownData implements PipeTransform {
|
|
5
|
+
protected translateService: TranslateService;
|
|
6
|
+
transform(data: any, paramName: string): any;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslateDropdownData, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TranslateDropdownData, "translateDropdownData", true>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class QuickPickComponent {
|
|
4
|
+
onBack: EventEmitter<void>;
|
|
5
|
+
onQuickPick: EventEmitter<void>;
|
|
6
|
+
onForward: EventEmitter<void>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QuickPickComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QuickPickComponent, "phoenix-quick-pick", never, {}, { "onBack": "onBack"; "onQuickPick": "onQuickPick"; "onForward": "onForward"; }, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class QuickPickSidePanelComponent {
|
|
4
|
+
title: string;
|
|
5
|
+
data: any[];
|
|
6
|
+
columns: any[];
|
|
7
|
+
loading: boolean;
|
|
8
|
+
tableConfiguration: any;
|
|
9
|
+
panelState: boolean;
|
|
10
|
+
modal: boolean;
|
|
11
|
+
widthClass: string;
|
|
12
|
+
isFullScreen: boolean;
|
|
13
|
+
onRowClick: EventEmitter<any>;
|
|
14
|
+
lazyLoadData: EventEmitter<any>;
|
|
15
|
+
onClose: EventEmitter<void>;
|
|
16
|
+
handlePanelFullScreen: EventEmitter<any>;
|
|
17
|
+
onCloseEvent: EventEmitter<void>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QuickPickSidePanelComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QuickPickSidePanelComponent, "phoenix-quick-pick-sidepanel", never, { "title": { "alias": "title"; "required": false; }; "data": { "alias": "data"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "tableConfiguration": { "alias": "tableConfiguration"; "required": false; }; "panelState": { "alias": "panelState"; "required": false; }; "modal": { "alias": "modal"; "required": false; }; "widthClass": { "alias": "widthClass"; "required": false; }; "isFullScreen": { "alias": "isFullScreen"; "required": false; }; }, { "onRowClick": "onRowClick"; "lazyLoadData": "lazyLoadData"; "onClose": "onClose"; "handlePanelFullScreen": "handlePanelFullScreen"; "onCloseEvent": "onCloseEvent"; }, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Popover } from 'primeng/popover';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SearchBarComponent {
|
|
5
|
+
isExpanded: boolean;
|
|
6
|
+
searchQuery: string;
|
|
7
|
+
op: Popover;
|
|
8
|
+
expandable: boolean;
|
|
9
|
+
placeholder: string;
|
|
10
|
+
message: string;
|
|
11
|
+
searchQueryChange: EventEmitter<string>;
|
|
12
|
+
tabIndex: number;
|
|
13
|
+
assetActive: boolean;
|
|
14
|
+
ismsActive: boolean;
|
|
15
|
+
tabChange(event: any): void;
|
|
16
|
+
members: {
|
|
17
|
+
name: string;
|
|
18
|
+
image: string;
|
|
19
|
+
email: string;
|
|
20
|
+
role: string;
|
|
21
|
+
}[];
|
|
22
|
+
toggleExpand(): void;
|
|
23
|
+
onInputFocus(event: Event): void;
|
|
24
|
+
clickInside(event: Event): void;
|
|
25
|
+
onInputBlur(event: Event): void;
|
|
26
|
+
clickOutside(event: Event): void;
|
|
27
|
+
onSearchQueryChange(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchBarComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchBarComponent, "pho-search-bar", never, { "expandable": { "alias": "expandable"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, { "searchQueryChange": "searchQueryChange"; }, never, ["*"], true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ShellConfig } from '../../models/shell-config.model';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ShellComponent {
|
|
4
|
+
config: ShellConfig;
|
|
5
|
+
isSidebarOpen: boolean;
|
|
6
|
+
toggleSidebar(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShellComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellComponent, "pho-shell", never, { "config": { "alias": "config"; "required": false; }; "isSidebarOpen": { "alias": "isSidebarOpen"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { SidebarItem } from '../../models/shell-config.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SidebarComponent {
|
|
5
|
+
toggleSidebar: EventEmitter<void>;
|
|
6
|
+
classname: string;
|
|
7
|
+
mainItems: SidebarItem[][];
|
|
8
|
+
footerItem: SidebarItem[];
|
|
9
|
+
isSidebarOpen: boolean;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "pho-sidebar", never, { "classname": { "alias": "classname"; "required": false; }; "mainItems": { "alias": "mainItems"; "required": false; }; "footerItem": { "alias": "footerItem"; "required": false; }; "isSidebarOpen": { "alias": "isSidebarOpen"; "required": false; }; }, { "toggleSidebar": "toggleSidebar"; }, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { SidebarItem } from '../../models/shell-config.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SidebarItemComponent {
|
|
5
|
+
private router;
|
|
6
|
+
item: SidebarItem;
|
|
7
|
+
classname: string;
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
constructor(router: Router);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarItemComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarItemComponent, "pho-sidebar-item", never, { "item": { "alias": "item"; "required": false; }; "classname": { "alias": "classname"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StatusColType } from "../enums/status-col-type.enum";
|
|
2
|
+
export interface StatusAttribute {
|
|
3
|
+
type: StatusColType;
|
|
4
|
+
label: string;
|
|
5
|
+
value: any;
|
|
6
|
+
key?: string;
|
|
7
|
+
color?: string;
|
|
8
|
+
value1?: string;
|
|
9
|
+
tooltip?: {
|
|
10
|
+
label: string;
|
|
11
|
+
value: string;
|
|
12
|
+
value1: string;
|
|
13
|
+
}[];
|
|
14
|
+
item?: {
|
|
15
|
+
name: string;
|
|
16
|
+
url?: string;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
}[] | string | null;
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { StatusColType } from "../enums/status-col-type.enum";
|
|
2
|
+
import { StatusAttribute } from "./status-attribute.model";
|
|
3
|
+
export interface StatusBarConfig {
|
|
4
|
+
icon?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description?: {
|
|
8
|
+
label: string;
|
|
9
|
+
value: any;
|
|
10
|
+
icon?: string;
|
|
11
|
+
type?: StatusColType;
|
|
12
|
+
}[];
|
|
13
|
+
attributes?: StatusAttribute[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FirstLetterPipe implements PipeTransform {
|
|
4
|
+
transform(value: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FirstLetterPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FirstLetterPipe, "firstLetter", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TextLength implements PipeTransform {
|
|
4
|
+
/**
|
|
5
|
+
* Transforms the specified text value
|
|
6
|
+
* If the size of the string is greater than the limit, it returns a substring of the desired size, and adds ellipsis "..."
|
|
7
|
+
* If the size of the string is less than the limit, it returns the original string
|
|
8
|
+
* @param value
|
|
9
|
+
* @param limit
|
|
10
|
+
*/
|
|
11
|
+
transform(value: string, limit: number): string;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextLength, never>;
|
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TextLength, "textLength", true>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { StatusBarConfig } from './models/status-bar-configuration.model';
|
|
3
|
+
import { StatusColType } from './enums/status-col-type.enum';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class StatusBarComponent {
|
|
6
|
+
statusBarConfig: StatusBarConfig;
|
|
7
|
+
iconEnable: boolean;
|
|
8
|
+
enableClosing: boolean;
|
|
9
|
+
description: boolean;
|
|
10
|
+
dateFormat: string;
|
|
11
|
+
onListItemClick: EventEmitter<any>;
|
|
12
|
+
isCollapsed: boolean;
|
|
13
|
+
StatusColType: typeof StatusColType;
|
|
14
|
+
iconStyle: {
|
|
15
|
+
height: number;
|
|
16
|
+
width: number;
|
|
17
|
+
};
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StatusBarComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StatusBarComponent, "phoenix-status-bar", never, { "statusBarConfig": { "alias": "statusBarConfig"; "required": false; }; "iconEnable": { "alias": "iconEnable"; "required": false; }; "enableClosing": { "alias": "enableClosing"; "required": false; }; "description": { "alias": "description"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; }, { "onListItemClick": "onListItemClick"; }, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class StatusHeaderComponent {
|
|
4
|
+
onQuickPickClickEmiter: EventEmitter<void>;
|
|
5
|
+
onToggleClickEmmiter: EventEmitter<"forward" | "back">;
|
|
6
|
+
onCloseEvent: EventEmitter<void>;
|
|
7
|
+
name: string;
|
|
8
|
+
title: string;
|
|
9
|
+
enableQuickPick: boolean;
|
|
10
|
+
actions: any[];
|
|
11
|
+
panelState: boolean;
|
|
12
|
+
customClose: boolean;
|
|
13
|
+
validSeverities: string[];
|
|
14
|
+
onToggleClick(direction: 'forward' | 'back'): void;
|
|
15
|
+
toggleSidePanel(): void;
|
|
16
|
+
closePanel(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StatusHeaderComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StatusHeaderComponent, "phoenix-status-header", never, { "name": { "alias": "name"; "required": false; }; "title": { "alias": "title"; "required": false; }; "enableQuickPick": { "alias": "enableQuickPick"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "panelState": { "alias": "panelState"; "required": false; }; "customClose": { "alias": "customClose"; "required": false; }; }, { "onQuickPickClickEmiter": "onQuickPickClickEmiter"; "onToggleClickEmmiter": "onToggleClickEmmiter"; "onCloseEvent": "onCloseEvent"; }, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TagComponent implements OnChanges {
|
|
4
|
+
key: string;
|
|
5
|
+
content: string;
|
|
6
|
+
customColor: string;
|
|
7
|
+
color: string | undefined;
|
|
8
|
+
customStyle: {
|
|
9
|
+
'background-color': string;
|
|
10
|
+
border: string;
|
|
11
|
+
color: string;
|
|
12
|
+
};
|
|
13
|
+
ngOnChanges(): void;
|
|
14
|
+
invertHex(hex: string): string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "phoenix-tag", never, { "key": { "alias": "key"; "required": false; }; "content": { "alias": "content"; "required": false; }; "customColor": { "alias": "customColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|