@fuentis/phoenix-ui 0.0.9-alpha.3 → 0.0.9-alpha.300
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 +5612 -381
- package/fesm2022/fuentis-phoenix-ui.mjs.map +1 -1
- package/lib/components/actions/action-state.service.d.ts +10 -0
- package/lib/components/actions/actions.component.d.ts +46 -0
- package/lib/components/card/card.component.d.ts +22 -0
- package/lib/components/data-table/phoenix-data-table-action/phoenix-data-table-action.component.d.ts +2 -3
- package/lib/components/data-table/phoenix-data-table-tabs/phoenix-data-table-tabs.component.d.ts +4 -4
- package/lib/components/data-table/table/table.component.d.ts +51 -0
- package/lib/components/data-table/table-caption/table-caption.component.d.ts +46 -0
- package/lib/components/data-table/utils/dataTable.enum.d.ts +2 -0
- package/lib/components/data-table/utils/dataTable.interface.d.ts +2 -0
- package/lib/components/data-table/utils/table-cell.pipe.d.ts +11 -0
- package/lib/components/inner-header/inner-header.component.d.ts +7 -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 +41 -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-asset/meta-assign-asset.component.d.ts +21 -0
- package/lib/components/meta-form/meta-form-fields/meta-assign-responsible/meta-assign-responsible.component.d.ts +21 -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 +9 -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/meta-upload-dragdrop/meta-upload-dragdrop.component.d.ts +16 -0
- package/lib/components/meta-form/meta-form-fields/object-item-dialog/object-item-dialog.component.d.ts +31 -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 +23 -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 +25 -0
- package/lib/components/meta-form/utils/control-type.enum.d.ts +25 -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/form-fields.utils.d.ts +1 -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/strip-html.pipe.d.ts +7 -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 +24 -0
- package/lib/components/search-bar/search-bar.component.d.ts +55 -24
- package/lib/components/search-card/search-card.component.d.ts +32 -0
- package/lib/components/shell/shell.component.d.ts +13 -5
- package/lib/components/sidebar/sidebar.component.d.ts +11 -6
- package/lib/components/sidebar-item/sidebar-item.component.d.ts +5 -10
- 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 +30 -0
- package/lib/components/status-bar/models/status-bar-configuration.model.d.ts +15 -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-attribute-display.component.d.ts +13 -0
- package/lib/components/status-bar/status-bar.component.d.ts +20 -0
- package/lib/components/status-header/status-header.component.d.ts +15 -40
- package/lib/components/tag/tag.component.d.ts +17 -0
- package/lib/components/topbar/topbar.component.d.ts +43 -15
- package/lib/components/user/user.component.d.ts +3 -9
- package/lib/models/assignee.model.d.ts +16 -0
- package/lib/models/base-object.d.ts +15 -0
- package/lib/models/search-result.model.d.ts +14 -0
- package/lib/models/search.model.d.ts +6 -0
- package/lib/models/shell-config.model.d.ts +13 -4
- package/lib/models/status.model.d.ts +20 -0
- package/lib/pipes/time-period.pipe.d.ts +7 -0
- package/lib/services/crud.service.d.ts +10 -0
- package/lib/utils/compl-types.utils.d.ts +22 -0
- package/lib/utils/initials.pipe.d.ts +7 -0
- package/package.json +10 -10
- package/public-api.d.ts +19 -0
- package/styles/global.css +46 -2
- package/lib/utils/date-format.service.d.ts +0 -14
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ActionStateService {
|
|
3
|
+
private _disabledActions;
|
|
4
|
+
get disabledActions(): import("@angular/core").Signal<Set<string>>;
|
|
5
|
+
disableAction(id: string): void;
|
|
6
|
+
enableAction(id: string): void;
|
|
7
|
+
isDisabled(id: string): boolean;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionStateService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ActionStateService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ButtonProps } from 'primeng/button';
|
|
3
|
+
import { Popover } from 'primeng/popover';
|
|
4
|
+
import { ActionStateService } from './action-state.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare enum ActionTypes {
|
|
7
|
+
BASIC = "BASIC",
|
|
8
|
+
SELECT = "SELECT"
|
|
9
|
+
}
|
|
10
|
+
export interface Actions {
|
|
11
|
+
}
|
|
12
|
+
export type RegisteredActionEnums = Actions[keyof Actions];
|
|
13
|
+
export type AllActionValues = RegisteredActionEnums[keyof RegisteredActionEnums];
|
|
14
|
+
export interface Action<T = AllActionValues> {
|
|
15
|
+
id?: string;
|
|
16
|
+
actionId: T;
|
|
17
|
+
label: string;
|
|
18
|
+
icon: string;
|
|
19
|
+
severity: Exclude<ButtonProps['severity'], 'warning'> | 'warn';
|
|
20
|
+
iconPos?: 'right' | 'left';
|
|
21
|
+
type: keyof typeof ActionTypes;
|
|
22
|
+
text?: boolean;
|
|
23
|
+
key?: string;
|
|
24
|
+
requiredPermission?: string;
|
|
25
|
+
data?: any;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
visible?: boolean;
|
|
28
|
+
loading?: boolean;
|
|
29
|
+
class?: string;
|
|
30
|
+
items?: {
|
|
31
|
+
key?: string;
|
|
32
|
+
actionId?: T;
|
|
33
|
+
label?: string;
|
|
34
|
+
separator?: boolean;
|
|
35
|
+
icon?: string;
|
|
36
|
+
requiredPermission?: string;
|
|
37
|
+
}[];
|
|
38
|
+
}
|
|
39
|
+
export declare class ActionsComponent {
|
|
40
|
+
actionStateService: ActionStateService;
|
|
41
|
+
actions: Action[];
|
|
42
|
+
actionClick: EventEmitter<Action<never>>;
|
|
43
|
+
onActionClick($event: any, action: Action, menuRef?: Popover): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionsComponent, "pho-actions", never, { "actions": { "alias": "actions"; "required": false; }; }, { "actionClick": "actionClick"; }, never, never, true, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Action } from '../actions/actions.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface cardConfig {
|
|
4
|
+
name: string;
|
|
5
|
+
subName: string;
|
|
6
|
+
description: string;
|
|
7
|
+
actions: any[];
|
|
8
|
+
additional: any[];
|
|
9
|
+
}
|
|
10
|
+
export declare class CardComponent<T extends Record<string, any>> {
|
|
11
|
+
card: import("@angular/core").InputSignal<T>;
|
|
12
|
+
cardEventEmmiter: import("@angular/core").OutputEmitterRef<{
|
|
13
|
+
data: T;
|
|
14
|
+
action: string;
|
|
15
|
+
}>;
|
|
16
|
+
cardActions: Action[];
|
|
17
|
+
objectKeys<T extends Record<string, any>>(obj: T): string[];
|
|
18
|
+
getObjectValueByKey<T extends Record<string, any>>(obj: T, key: string): any;
|
|
19
|
+
onCardClick(event: any, actionType?: string): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent<any>, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent<any>, "pho-card", never, { "card": { "alias": "card"; "required": true; "isSignal": true; }; "cardActions": { "alias": "cardActions"; "required": false; }; }, { "cardEventEmmiter": "cardEventEmmiter"; }, never, ["[custom]"], true, never>;
|
|
22
|
+
}
|
package/lib/components/data-table/phoenix-data-table-action/phoenix-data-table-action.component.d.ts
CHANGED
|
@@ -15,14 +15,13 @@ interface BtnConfig {
|
|
|
15
15
|
export declare class PhoenixDataTableActionComponent implements OnChanges {
|
|
16
16
|
actionConfig: TableAction;
|
|
17
17
|
rowData: any;
|
|
18
|
-
selectedData: any;
|
|
19
18
|
actionClick: EventEmitter<any>;
|
|
20
19
|
icon: string;
|
|
21
20
|
disabled: boolean | undefined;
|
|
22
21
|
btnConfig: BtnConfig;
|
|
23
22
|
ngOnChanges(): void;
|
|
24
|
-
onActionClick(
|
|
23
|
+
onActionClick(action: any): void;
|
|
25
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<PhoenixDataTableActionComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PhoenixDataTableActionComponent, "phoenix-phoenix-data-table-action", never, { "actionConfig": { "alias": "actionConfig"; "required": true; }; "rowData": { "alias": "rowData"; "required": false; };
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PhoenixDataTableActionComponent, "phoenix-phoenix-data-table-action", never, { "actionConfig": { "alias": "actionConfig"; "required": true; }; "rowData": { "alias": "rowData"; "required": false; }; }, { "actionClick": "actionClick"; }, never, never, true, never>;
|
|
27
26
|
}
|
|
28
27
|
export {};
|
package/lib/components/data-table/phoenix-data-table-tabs/phoenix-data-table-tabs.component.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
2
2
|
import { TableAction } from '../utils/dataTable.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class PhoenixDataTableTabsComponent implements OnInit {
|
|
4
|
+
export declare class PhoenixDataTableTabsComponent implements OnInit, OnChanges {
|
|
5
5
|
actions: TableAction[];
|
|
6
6
|
actionClick: EventEmitter<any>;
|
|
7
|
-
private route;
|
|
8
7
|
private router;
|
|
9
8
|
private dr;
|
|
10
9
|
value: string | undefined;
|
|
10
|
+
private resolveTabFromRoute;
|
|
11
11
|
ngOnInit(): void;
|
|
12
|
-
|
|
12
|
+
ngOnChanges(): void;
|
|
13
13
|
onActionClick(event: any): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<PhoenixDataTableTabsComponent, never>;
|
|
15
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<PhoenixDataTableTabsComponent, "phoenix-data-table-tabs", never, { "actions": { "alias": "actions"; "required": true; }; }, { "actionClick": "actionClick"; }, never, never, true, never>;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { EventEmitter, SimpleChanges, OnChanges } from '@angular/core';
|
|
2
|
+
import { TableLazyLoadEvent } from 'primeng/table';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { tableColumnType, tableSelectionType } from '../utils/dataTable.enum';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TableComponent implements OnChanges {
|
|
7
|
+
set data(value: any[]);
|
|
8
|
+
columns: any[];
|
|
9
|
+
selectedColumnsInput: any[];
|
|
10
|
+
tableConfiguration: any;
|
|
11
|
+
filters: any;
|
|
12
|
+
actionClick: EventEmitter<any>;
|
|
13
|
+
rowSelection: EventEmitter<any>;
|
|
14
|
+
checkBoxSelection: EventEmitter<any>;
|
|
15
|
+
saveColumns: EventEmitter<string[]>;
|
|
16
|
+
translateService: TranslateService;
|
|
17
|
+
allData: any[];
|
|
18
|
+
originalData: any[];
|
|
19
|
+
tableData: any[];
|
|
20
|
+
selectedItems: import("@angular/core").WritableSignal<any[]>;
|
|
21
|
+
selectedColumns: any[];
|
|
22
|
+
searchQuery: string;
|
|
23
|
+
bulkMode: boolean;
|
|
24
|
+
totalRecords: number;
|
|
25
|
+
lastLoadedIndex: number;
|
|
26
|
+
selectionTypeEnum: typeof tableSelectionType;
|
|
27
|
+
columnTypeEnum: typeof tableColumnType;
|
|
28
|
+
dateFormat: string;
|
|
29
|
+
private currentFilters;
|
|
30
|
+
columnTypeMap: Record<string, string>;
|
|
31
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
32
|
+
loadLazyData(event: TableLazyLoadEvent): void;
|
|
33
|
+
private getComparableValue;
|
|
34
|
+
onSearch(query: string): void;
|
|
35
|
+
private getFilteredData;
|
|
36
|
+
applyFilters(filters: {
|
|
37
|
+
key: string;
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
}): void;
|
|
40
|
+
isRowSelectable(event: any): boolean;
|
|
41
|
+
private getNestedValue;
|
|
42
|
+
applyColumns(selected: any[]): void;
|
|
43
|
+
onRowClick(event: Event, rowData: any): void;
|
|
44
|
+
onSelectionChange(selected: any[]): void;
|
|
45
|
+
handleActionClick(event: any): void;
|
|
46
|
+
translateKey(key: string): string;
|
|
47
|
+
private matchesQuery;
|
|
48
|
+
clearSelection(): void;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "phoenix-table", never, { "data": { "alias": "data"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "selectedColumnsInput": { "alias": "selectedColumnsInput"; "required": false; }; "tableConfiguration": { "alias": "tableConfiguration"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, { "actionClick": "actionClick"; "rowSelection": "rowSelection"; "checkBoxSelection": "checkBoxSelection"; "saveColumns": "saveColumns"; }, never, never, true, never>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, DestroyRef } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { Popover } from 'primeng/popover';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import { TableColumn } from '../utils/dataTable.interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TableCaptionComponent implements OnChanges {
|
|
8
|
+
columnsPopover?: Popover;
|
|
9
|
+
tableConfiguration: any;
|
|
10
|
+
columns: any[];
|
|
11
|
+
searchQuery: string;
|
|
12
|
+
selectedItems: any[];
|
|
13
|
+
filters: any;
|
|
14
|
+
applyFiltersEvent: EventEmitter<any>;
|
|
15
|
+
applyColumnsEvent: EventEmitter<any[]>;
|
|
16
|
+
searchChange: EventEmitter<string>;
|
|
17
|
+
actionClick: EventEmitter<any>;
|
|
18
|
+
translateService: TranslateService;
|
|
19
|
+
dr: DestroyRef;
|
|
20
|
+
fb: FormBuilder;
|
|
21
|
+
filtersForm: FormGroup;
|
|
22
|
+
_selectedColumns: TableColumn[];
|
|
23
|
+
globalFilterFields: string[];
|
|
24
|
+
FILTER_KEY: string;
|
|
25
|
+
COLUMN_KEY: string;
|
|
26
|
+
onColumnSelectionChange(newSelection: TableColumn[]): void;
|
|
27
|
+
ngOnChanges(): void;
|
|
28
|
+
private initializeFilterForm;
|
|
29
|
+
private initializeSelectedColumns;
|
|
30
|
+
private initializeGlobalFilterFields;
|
|
31
|
+
private restoreFilterState;
|
|
32
|
+
private restoreColumnState;
|
|
33
|
+
emitSearch(query: string): void;
|
|
34
|
+
hasValues(): boolean;
|
|
35
|
+
hasFormValues(): boolean;
|
|
36
|
+
applyFilters(): void;
|
|
37
|
+
resetFilters(): void;
|
|
38
|
+
applyColumns(): void;
|
|
39
|
+
resetColumns(): void;
|
|
40
|
+
storeTableState(state: any, key: string): void;
|
|
41
|
+
get selectedColumns(): TableColumn[];
|
|
42
|
+
set selectedColumns(val: TableColumn[]);
|
|
43
|
+
handleActionClick(action: any): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableCaptionComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableCaptionComponent, "table-caption", never, { "tableConfiguration": { "alias": "tableConfiguration"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "searchQuery": { "alias": "searchQuery"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, { "applyFiltersEvent": "applyFiltersEvent"; "applyColumnsEvent": "applyColumnsEvent"; "searchChange": "searchChange"; "actionClick": "actionClick"; }, never, never, true, never>;
|
|
46
|
+
}
|
|
@@ -38,11 +38,13 @@ export declare enum tableButtonContext {
|
|
|
38
38
|
}
|
|
39
39
|
export declare enum tableColumnType {
|
|
40
40
|
TEXT = "TEXT",
|
|
41
|
+
TIMEPERIOD = "TIMEPERIOD",
|
|
41
42
|
RICH_TEXT = "RICH_TEXT",
|
|
42
43
|
TEXT_AREA = "TEXT_AREA",
|
|
43
44
|
DATE = "DATE",
|
|
44
45
|
DATE_COMPLEX = "DATE_COMPLEX",//Date and time
|
|
45
46
|
TAG = "TAG",
|
|
47
|
+
OBJ_TAG = "OBJ_TAG",
|
|
46
48
|
NUMBER = "NUMBER",
|
|
47
49
|
PERSON = "PERSON",
|
|
48
50
|
COMPLETNESS = "COMPLETNESS",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { DatePipe } from '@angular/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TableCellPipe implements PipeTransform {
|
|
5
|
+
private datePipe;
|
|
6
|
+
constructor(datePipe: DatePipe);
|
|
7
|
+
transform(obj: any, col: any, dateFormat?: string): any;
|
|
8
|
+
getNestedValue(obj: any, path: string): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableCellPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TableCellPipe, "cell", true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class InnerHeaderComponent {
|
|
3
|
+
title: string;
|
|
4
|
+
tooltipContent: string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InnerHeaderComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InnerHeaderComponent, "pho-inner-header", never, { "title": { "alias": "title"; "required": false; }; "tooltipContent": { "alias": "tooltipContent"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { Subscription } from 'rxjs';
|
|
5
|
+
import { MetaFormService } from '../services/meta-form.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class InlineFieldError implements OnDestroy, OnChanges {
|
|
8
|
+
private translateService;
|
|
9
|
+
ctrl: AbstractControl;
|
|
10
|
+
note: any;
|
|
11
|
+
constructor(translateService: TranslateService);
|
|
12
|
+
sub$: Subscription;
|
|
13
|
+
metaFormService: MetaFormService;
|
|
14
|
+
loaded: Boolean;
|
|
15
|
+
ngOnChanges(): void;
|
|
16
|
+
getErrorMessage(control: AbstractControl): any;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InlineFieldError, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InlineFieldError, "phoenix-inline-field-error", never, { "ctrl": { "alias": "ctrl"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaLabelComponent {
|
|
4
|
+
private translateService;
|
|
5
|
+
control: any;
|
|
6
|
+
currentLang: string;
|
|
7
|
+
constructor(translateService: TranslateService);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaLabelComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaLabelComponent, "phoenix-meta-label", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { Observable, Subscription } from 'rxjs';
|
|
5
|
+
import { HttpClient } from '@angular/common/http';
|
|
6
|
+
import { MetaControl } from './meta-form-interface/interfaces';
|
|
7
|
+
import { MetaFormService } from './services/meta-form.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare abstract class MetaFormAbstract {
|
|
10
|
+
private fb;
|
|
11
|
+
metaService: MetaFormService;
|
|
12
|
+
private translateService;
|
|
13
|
+
private http;
|
|
14
|
+
metaForm: FormGroup;
|
|
15
|
+
metaFormValues: any;
|
|
16
|
+
metaFormControls: any;
|
|
17
|
+
disableForm: boolean;
|
|
18
|
+
formButtons: boolean;
|
|
19
|
+
groupForm: boolean;
|
|
20
|
+
formStyle: any;
|
|
21
|
+
onFormSubmit: EventEmitter<any>;
|
|
22
|
+
onFormCancel: EventEmitter<any>;
|
|
23
|
+
formActive$: Observable<boolean>;
|
|
24
|
+
formSub$: Subscription;
|
|
25
|
+
constructor(fb: FormBuilder, metaService: MetaFormService, translateService: TranslateService, http: HttpClient);
|
|
26
|
+
createForm(controls: MetaControl[] | any): void;
|
|
27
|
+
activateForm(): void;
|
|
28
|
+
addControlValidators(control: any): void;
|
|
29
|
+
onSubmit(): void;
|
|
30
|
+
onCancel(): void;
|
|
31
|
+
/**
|
|
32
|
+
* Resets form to initial state
|
|
33
|
+
*
|
|
34
|
+
* @description Useful when user interact with form (edit some inputs) and than clicks CANCEL. This method patch original values to FormGroup again
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
resetToInitialValues(): void;
|
|
38
|
+
ngOnDestroy(): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaFormAbstract, never>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MetaFormAbstract, never, never, { "metaForm": { "alias": "metaForm"; "required": false; }; "metaFormValues": { "alias": "metaFormValues"; "required": false; }; "metaFormControls": { "alias": "metaFormControls"; "required": false; }; "disableForm": { "alias": "disableForm"; "required": false; }; "formButtons": { "alias": "formButtons"; "required": false; }; "groupForm": { "alias": "groupForm"; "required": false; }; "formStyle": { "alias": "formStyle"; "required": false; }; }, { "onFormSubmit": "onFormSubmit"; "onFormCancel": "onFormCancel"; }, never, never, true, never>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Observable, Subscription } from 'rxjs';
|
|
3
|
+
import { MetaFormService } from '../services/meta-form.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MetaFormButtonsComponent implements OnInit, OnDestroy {
|
|
6
|
+
private metaFormService;
|
|
7
|
+
isDisabled: import("@angular/core").InputSignal<boolean | undefined>;
|
|
8
|
+
isCreateAnother: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
isLoading: import("@angular/core").InputSignal<boolean>;
|
|
10
|
+
handleSave: EventEmitter<any>;
|
|
11
|
+
handleCancel: EventEmitter<any>;
|
|
12
|
+
display: boolean;
|
|
13
|
+
formActive$: Observable<boolean>;
|
|
14
|
+
createAnother: boolean;
|
|
15
|
+
sub$: Subscription;
|
|
16
|
+
constructor(metaFormService: MetaFormService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaFormButtonsComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaFormButtonsComponent, "phoenix-meta-form-buttons", never, { "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "isCreateAnother": { "alias": "isCreateAnother"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; }, { "handleSave": "handleSave"; "handleCancel": "handleCancel"; }, never, never, true, never>;
|
|
21
|
+
}
|
package/lib/components/meta-form/meta-form-fields/meta-assign-asset/meta-assign-asset.component.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ControlValueAccessor, FormGroup } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaAssignAssetComponent implements ControlValueAccessor {
|
|
4
|
+
control: any;
|
|
5
|
+
parentForm: FormGroup;
|
|
6
|
+
disable?: boolean;
|
|
7
|
+
onChanged: (value: any) => void;
|
|
8
|
+
onTouched: () => void;
|
|
9
|
+
isDisabled: boolean;
|
|
10
|
+
writeValue(value: any): void;
|
|
11
|
+
registerOnChange(fn: any): void;
|
|
12
|
+
registerOnTouched(fn: any): void;
|
|
13
|
+
setDisabledState(isDisabled: boolean): void;
|
|
14
|
+
private translateService;
|
|
15
|
+
private dialogService;
|
|
16
|
+
person: any;
|
|
17
|
+
clear(): void;
|
|
18
|
+
assignAsset(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaAssignAssetComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaAssignAssetComponent, "phoenix-meta-assign-asset", never, { "control": { "alias": "control"; "required": false; }; "parentForm": { "alias": "parentForm"; "required": false; }; "disable": { "alias": "disable"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ControlValueAccessor, FormGroup } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaAssignResponsibleComponent implements ControlValueAccessor {
|
|
4
|
+
control: any;
|
|
5
|
+
parentForm: FormGroup;
|
|
6
|
+
disable?: boolean;
|
|
7
|
+
onChanged: (value: any) => void;
|
|
8
|
+
onTouched: () => void;
|
|
9
|
+
isDisabled: boolean;
|
|
10
|
+
writeValue(value: any): void;
|
|
11
|
+
registerOnChange(fn: any): void;
|
|
12
|
+
registerOnTouched(fn: any): void;
|
|
13
|
+
setDisabledState(isDisabled: boolean): void;
|
|
14
|
+
private translateService;
|
|
15
|
+
private dialogService;
|
|
16
|
+
person: any;
|
|
17
|
+
clear(): void;
|
|
18
|
+
assignResponsible(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaAssignResponsibleComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaAssignResponsibleComponent, "phoenix-meta-assign-responsible", never, { "control": { "alias": "control"; "required": false; }; "parentForm": { "alias": "parentForm"; "required": false; }; "disable": { "alias": "disable"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMetaField } from '../../utils/base-meta-field';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaCalendarComponent extends BaseMetaField {
|
|
4
|
+
onDateClear(): void;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaCalendarComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaCalendarComponent, "phoenix-meta-calendar", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseMetaField } from '../../utils/base-meta-field';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaCheckboxComponent extends BaseMetaField {
|
|
4
|
+
private translateService;
|
|
5
|
+
currentLang: string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaCheckboxComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaCheckboxComponent, "phoenix-meta-checkbox", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseMetaField } from '../../utils/base-meta-field';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaCheckboxColorPickerComponent extends BaseMetaField {
|
|
4
|
+
private translateService;
|
|
5
|
+
currentLang: string;
|
|
6
|
+
focusedColor: any;
|
|
7
|
+
changeColor(color: string): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaCheckboxColorPickerComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaCheckboxColorPickerComponent, "phoenix-meta-checkbox-color-picker", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
package/lib/components/meta-form/meta-form-fields/meta-color-picker/meta-color-picker.component.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BaseMetaField } from '../../utils/base-meta-field';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaColorPickerComponent extends BaseMetaField {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaColorPickerComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaColorPickerComponent, "phoenix-meta-color-picker", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseMetaField } from '../../utils/base-meta-field';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaCurrencyComponent extends BaseMetaField {
|
|
4
|
+
changeValue(data: any): void;
|
|
5
|
+
input(data: any): void;
|
|
6
|
+
convertCurrencyStringToNumber(currencyString: string): number;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaCurrencyComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaCurrencyComponent, "phoenix-meta-currency", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BaseMetaField } from '../../utils/base-meta-field';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaMultipleSelectComponent extends BaseMetaField {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaMultipleSelectComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaMultipleSelectComponent, "phoenix-meta-multiple-select", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
package/lib/components/meta-form/meta-form-fields/meta-number-input/meta-number-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 MetaNumberComponent extends BaseMetaField {
|
|
4
|
+
lang: string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaNumberComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaNumberComponent, "phoenix-meta-number-input", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BaseMetaField } from '../../utils/base-meta-field';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaPasswordFeildComponent extends BaseMetaField {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaPasswordFeildComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaPasswordFeildComponent, "phoenix-meta-password-feild", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BaseMetaField } from '../../utils/base-meta-field';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaSelectButtonComponent extends BaseMetaField {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaSelectButtonComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaSelectButtonComponent, "phoenix-meta-select-button", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseMetaField } from '../../utils/base-meta-field';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaSingleSelectComponent extends BaseMetaField {
|
|
4
|
+
oiKey: string;
|
|
5
|
+
private translateService;
|
|
6
|
+
onDateClear(): void;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
changes(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaSingleSelectComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaSingleSelectComponent, "phoenix-meta-single-select", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseMetaField } from '../../utils/base-meta-field';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaSingleSelectObjectBasedComponent extends BaseMetaField {
|
|
4
|
+
oiKey: string;
|
|
5
|
+
onDateClear(): void;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
changes(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaSingleSelectObjectBasedComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaSingleSelectObjectBasedComponent, "phoenix-meta-single-select-object-based", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ControlValueAccessor, FormGroup } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaStartDueDateComponent implements ControlValueAccessor {
|
|
4
|
+
control: any;
|
|
5
|
+
parentForm: FormGroup;
|
|
6
|
+
ctrl: any;
|
|
7
|
+
startDate?: any;
|
|
8
|
+
endDate?: any;
|
|
9
|
+
onChanged: (value: any) => void;
|
|
10
|
+
onTouched: () => void;
|
|
11
|
+
constructor();
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
writeValue(obj: any): void;
|
|
14
|
+
onStartDateSelect(event: any): void;
|
|
15
|
+
onEndDateSelect(event: any): void;
|
|
16
|
+
onStartDateClear(): void;
|
|
17
|
+
onEndDateClear(): void;
|
|
18
|
+
validateDates(): void;
|
|
19
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
20
|
+
registerOnTouched(fn: any): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaStartDueDateComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaStartDueDateComponent, "phoenix-meta-start-due-date", never, { "control": { "alias": "control"; "required": false; }; "parentForm": { "alias": "parentForm"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BaseMetaField } from '../../utils/base-meta-field';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaSwitchComponent extends BaseMetaField {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaSwitchComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaSwitchComponent, "phoenix-meta-switch", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
package/lib/components/meta-form/meta-form-fields/meta-text-area/meta-text-area.component.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseMetaField } from '../../utils/base-meta-field';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetaTextAreaComponent extends BaseMetaField {
|
|
4
|
+
lang: string;
|
|
5
|
+
private stripHtmlTags;
|
|
6
|
+
writeValue(value: string): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaTextAreaComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaTextAreaComponent, "phoenix-meta-text-area", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
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
|
+
}
|