ui-core-abv 0.0.0-watch
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/README.md +63 -0
- package/fesm2022/ui-core-abv.mjs +9838 -0
- package/fesm2022/ui-core-abv.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/animations/animatedRow.animation.d.ts +1 -0
- package/lib/animations/animatios.index.d.ts +6 -0
- package/lib/animations/fadeAndRise.animation.d.ts +1 -0
- package/lib/animations/highlightRow.animation.d.ts +1 -0
- package/lib/animations/pushTop.animation.d.ts +1 -0
- package/lib/animations/sideModal.animation.d.ts +2 -0
- package/lib/animations/simpleFade.animation.d.ts +1 -0
- package/lib/components/accordion/accordion.component.d.ts +11 -0
- package/lib/components/button/button.component.d.ts +21 -0
- package/lib/components/dropdown-container/dropdown-close.directive.d.ts +7 -0
- package/lib/components/dropdown-container/dropdown-container.component.d.ts +51 -0
- package/lib/components/dynamic-form/base-value-accessot.d.ts +12 -0
- package/lib/components/dynamic-form/form/dynamic-form.component.d.ts +63 -0
- package/lib/components/dynamic-form/form-state.service.d.ts +16 -0
- package/lib/components/dynamic-form/form-wrapper/form-wrapper.component.d.ts +57 -0
- package/lib/components/dynamic-form/form.models.d.ts +95 -0
- package/lib/components/dynamic-form/steps-form/step-tabs/step-tabs.component.d.ts +13 -0
- package/lib/components/dynamic-form/steps-form/steps-form.component.d.ts +34 -0
- package/lib/components/editable-table/editable-table.component.d.ts +84 -0
- package/lib/components/excel-table/excel-table.component.d.ts +21 -0
- package/lib/components/inputs/checkbox/checkbox.component.d.ts +28 -0
- package/lib/components/inputs/date-picker/date-picker.component.d.ts +89 -0
- package/lib/components/inputs/file-input/file-input.component.d.ts +59 -0
- package/lib/components/inputs/input/input.component.d.ts +20 -0
- package/lib/components/inputs/input-wrapper/input-wrapper.component.d.ts +12 -0
- package/lib/components/inputs/multy-searcher/multy-searcher.component.d.ts +11 -0
- package/lib/components/inputs/multy-select/multy-select.component.d.ts +59 -0
- package/lib/components/inputs/phone-input/phone-countries.data.d.ts +8 -0
- package/lib/components/inputs/phone-input/phone-input.component.d.ts +79 -0
- package/lib/components/inputs/select/select.component.d.ts +77 -0
- package/lib/components/inputs/time-picker/time-picker.component.d.ts +67 -0
- package/lib/components/inputs/toggle-button/toggle-button.component.d.ts +12 -0
- package/lib/components/inputs/ui-radio/ui-radio.component.d.ts +33 -0
- package/lib/components/inputs/ui-slider/ui-slider.component.d.ts +38 -0
- package/lib/components/inputs/uic-searcher/uic-searcher.component.d.ts +61 -0
- package/lib/components/item-value/item-value.component.d.ts +30 -0
- package/lib/components/kpi-card/kpi-card.component.d.ts +15 -0
- package/lib/components/modal/floating-modal/modal.component.d.ts +21 -0
- package/lib/components/modal/floating-modal/modalconfig.model.d.ts +7 -0
- package/lib/components/modal/side-modal/side-modal.component.d.ts +30 -0
- package/lib/components/modal/side-modal/sideModalConfig.model.d.ts +16 -0
- package/lib/components/overlay-card/overlay-card.component.d.ts +17 -0
- package/lib/components/pool-options/pool-options.component.d.ts +46 -0
- package/lib/components/progress-bar/progress-bar.component.d.ts +17 -0
- package/lib/components/push-alerts/alert/alert.component.d.ts +16 -0
- package/lib/components/push-alerts/alert-container/alert-container.component.d.ts +13 -0
- package/lib/components/push-alerts/alert.helpers.d.ts +5 -0
- package/lib/components/push-alerts/alert.model.d.ts +29 -0
- package/lib/components/push-alerts/tynyalert.helpers.d.ts +6 -0
- package/lib/components/rule-builder/rule-builder.component.d.ts +111 -0
- package/lib/components/rule-builder/rule-definirion/rule-definirion.component.d.ts +55 -0
- package/lib/components/short-table/short-table.component.d.ts +15 -0
- package/lib/components/signature-pad/signature-pad.component.d.ts +36 -0
- package/lib/components/skeleton-cards/skeleton-cards.component.d.ts +13 -0
- package/lib/components/skeleton-loader/skeleton-loader.component.d.ts +10 -0
- package/lib/components/status-label/status-label.component.d.ts +8 -0
- package/lib/components/table/table-list/table-list.component.d.ts +7 -0
- package/lib/components/table/table-pagination/table-pagination.component.d.ts +20 -0
- package/lib/components/table/table-searcher/table-searcher.component.d.ts +15 -0
- package/lib/components/table/table-user/table-user.component.d.ts +7 -0
- package/lib/components/table/table.component.d.ts +92 -0
- package/lib/components/table/table.models.d.ts +70 -0
- package/lib/components/tabs-button/tabs-button.component.d.ts +17 -0
- package/lib/components/tag-selector/tag-selector.component.d.ts +52 -0
- package/lib/components/tiny-alert/tiny-alert.component.d.ts +15 -0
- package/lib/components/tiny-alert/tiny-alert.model.d.ts +33 -0
- package/lib/components/tooltip/tooltip.component.d.ts +9 -0
- package/lib/components/tree-admin/tree-admin.component.d.ts +81 -0
- package/lib/components/uic-action-button/uic-action-button.component.d.ts +36 -0
- package/lib/components/uic-portlet-card/uic-portlet-card.component.d.ts +37 -0
- package/lib/components/user-formbuilder/block-editor/block-editor.component.d.ts +20 -0
- package/lib/components/user-formbuilder/block-editor/field-editor/field-editor.component.d.ts +33 -0
- package/lib/components/user-formbuilder/block-editor/field-editor/field-options-editor/field-options-editor.component.d.ts +12 -0
- package/lib/components/user-formbuilder/block-editor/field-type-selector/field-type-selector.component.d.ts +9 -0
- package/lib/components/user-formbuilder/form-preview/form-preview.component.d.ts +14 -0
- package/lib/components/user-formbuilder/user-formbuilder.component.d.ts +61 -0
- package/lib/components/work-panel/work-panel.component.d.ts +63 -0
- package/lib/directives/textarea-autoresize-max-rows.directive.d.ts +9 -0
- package/lib/directives/textarea-autoresize-min-rows.directive.d.ts +9 -0
- package/lib/directives/textarea-autoresize.directive.d.ts +29 -0
- package/lib/directives/tool-tip.directive.d.ts +18 -0
- package/lib/helpers.d.ts +8 -0
- package/lib/pipes/first-capital.pipe.d.ts +7 -0
- package/lib/pipes/name-inits.pipe.d.ts +7 -0
- package/lib/pipes/translate.pipe.d.ts +11 -0
- package/lib/services/modaRef.d.ts +15 -0
- package/lib/services/modal.constant.d.ts +5 -0
- package/lib/services/modal.service.d.ts +22 -0
- package/lib/services/push-alert.service.d.ts +13 -0
- package/lib/services/tiny-alert.service.d.ts +13 -0
- package/lib/services/translate.service.d.ts +22 -0
- package/lib/translate/dictionary.en.d.ts +290 -0
- package/lib/translate/dictionary.es.d.ts +290 -0
- package/package.json +27 -0
- package/public-api.d.ts +59 -0
- package/src/lib/styles/_default_colors.scss +101 -0
- package/src/lib/styles/_mixins.scss +20 -0
- package/src/lib/styles/_tokens.scss +73 -0
- package/src/lib/styles/_variables.scss +51 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { TableAction, TableCellChange, TableColums, TableRow, TableFilters, TableRowData, TableButton } from './table.models';
|
|
3
|
+
import { ButtonColor } from '../button/button.component';
|
|
4
|
+
import { ActionMenuOption } from '../uic-action-button/uic-action-button.component';
|
|
5
|
+
import { AlertData } from '../tiny-alert/tiny-alert.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class UicTableComponent {
|
|
8
|
+
columns: TableColums[];
|
|
9
|
+
data: TableRow[];
|
|
10
|
+
loading: boolean;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
editable: boolean;
|
|
13
|
+
rowClickable: boolean;
|
|
14
|
+
rowExpandible: boolean;
|
|
15
|
+
pages: number;
|
|
16
|
+
size: number;
|
|
17
|
+
squeletonRows: number;
|
|
18
|
+
buttonSize: 'm' | 'l' | 's';
|
|
19
|
+
highlightedId: string | number;
|
|
20
|
+
headerText: string;
|
|
21
|
+
headerSubtitle: string;
|
|
22
|
+
totalItems: number;
|
|
23
|
+
alignment: 'left' | 'center';
|
|
24
|
+
searchEnabled: boolean;
|
|
25
|
+
searchLabel: string;
|
|
26
|
+
searchPlaceholder: string;
|
|
27
|
+
headerClass: string;
|
|
28
|
+
headerBackgroundColor: ButtonColor;
|
|
29
|
+
striped: boolean;
|
|
30
|
+
showPagination: boolean;
|
|
31
|
+
searchOnKeydown: boolean;
|
|
32
|
+
showEmptyMessage: boolean;
|
|
33
|
+
showSearchButton: boolean;
|
|
34
|
+
showTextPagination: boolean;
|
|
35
|
+
emptyMessage: string;
|
|
36
|
+
switchValidation: AlertData[];
|
|
37
|
+
nextButtonText: string;
|
|
38
|
+
previousButtonText: string;
|
|
39
|
+
mobilePortletCols: number;
|
|
40
|
+
searcherShowButtonText: boolean;
|
|
41
|
+
action: EventEmitter<TableAction>;
|
|
42
|
+
update: EventEmitter<TableFilters>;
|
|
43
|
+
checkedChange: EventEmitter<(string | number)[]>;
|
|
44
|
+
switchChange: EventEmitter<{
|
|
45
|
+
key: string | number;
|
|
46
|
+
value: boolean;
|
|
47
|
+
columName: string;
|
|
48
|
+
}>;
|
|
49
|
+
clickedRow: EventEmitter<string | number>;
|
|
50
|
+
cellChange: EventEmitter<TableCellChange>;
|
|
51
|
+
allSelected: boolean;
|
|
52
|
+
checkedIds: Set<string | number>;
|
|
53
|
+
sortKey: string;
|
|
54
|
+
sortAsc: boolean;
|
|
55
|
+
filter: string;
|
|
56
|
+
page: number;
|
|
57
|
+
fullViewRows: (string | number)[];
|
|
58
|
+
mobileView: boolean;
|
|
59
|
+
private editableValues;
|
|
60
|
+
ngOnInit(): void;
|
|
61
|
+
getValue(data: TableRowData[], key: string): string;
|
|
62
|
+
getMoreActions(actions: TableButton[], row: TableRowData[]): ActionMenuOption[];
|
|
63
|
+
getFontColor(data: TableRowData[], key: string): string;
|
|
64
|
+
isValidRule(data: TableRowData[], key: string[] | undefined): boolean;
|
|
65
|
+
sortClick(key: string): void;
|
|
66
|
+
sizeChabge(newSize: number): void;
|
|
67
|
+
pageChage(newPage: number): void;
|
|
68
|
+
search(text: string): void;
|
|
69
|
+
updateData(): void;
|
|
70
|
+
toggleSelection(id: string | number, checked: boolean): void;
|
|
71
|
+
toggleAll(checked: boolean): void;
|
|
72
|
+
areAllSelected(): void;
|
|
73
|
+
ngOnChanges(change: SimpleChanges): void;
|
|
74
|
+
doAction(rowId: string | number, key: string, event?: MouseEvent): void;
|
|
75
|
+
resetCheckedIds(): void;
|
|
76
|
+
switchHandler(key: string | number, value: boolean, columName: string): void;
|
|
77
|
+
actionsRef?: ElementRef;
|
|
78
|
+
hasActions: boolean;
|
|
79
|
+
ngAfterContentInit(): void;
|
|
80
|
+
clickRow(id: number | string): void;
|
|
81
|
+
isCellEditable(column: TableColums): boolean;
|
|
82
|
+
getEditableCellValue(rowId: string | number, columnKey: string): string | number | null;
|
|
83
|
+
onEditableInputChange(rowId: string | number, columnKey: string, value: string): void;
|
|
84
|
+
onEditableInputBlur(rowId: string | number, rowData: TableRowData[], columnKey: string): void;
|
|
85
|
+
onEditableSelectChange(rowId: string | number, rowData: TableRowData[], columnKey: string, value: string | number | null): void;
|
|
86
|
+
private syncEditableValues;
|
|
87
|
+
private getEditableCellKey;
|
|
88
|
+
private getRawValue;
|
|
89
|
+
private areSameValue;
|
|
90
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UicTableComponent, never>;
|
|
91
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UicTableComponent, "ui-table", never, { "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "rowClickable": { "alias": "rowClickable"; "required": false; }; "rowExpandible": { "alias": "rowExpandible"; "required": false; }; "pages": { "alias": "pages"; "required": false; }; "size": { "alias": "size"; "required": false; }; "squeletonRows": { "alias": "squeletonRows"; "required": false; }; "buttonSize": { "alias": "buttonSize"; "required": false; }; "highlightedId": { "alias": "highlightedId"; "required": false; }; "headerText": { "alias": "headerText"; "required": false; }; "headerSubtitle": { "alias": "headerSubtitle"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "searchEnabled": { "alias": "searchEnabled"; "required": false; }; "searchLabel": { "alias": "searchLabel"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "headerClass": { "alias": "headerClass"; "required": false; }; "headerBackgroundColor": { "alias": "headerBackgroundColor"; "required": false; }; "striped": { "alias": "striped"; "required": false; }; "showPagination": { "alias": "showPagination"; "required": false; }; "searchOnKeydown": { "alias": "searchOnKeydown"; "required": false; }; "showEmptyMessage": { "alias": "showEmptyMessage"; "required": false; }; "showSearchButton": { "alias": "showSearchButton"; "required": false; }; "showTextPagination": { "alias": "showTextPagination"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "switchValidation": { "alias": "switchValidation"; "required": false; }; "nextButtonText": { "alias": "nextButtonText"; "required": false; }; "previousButtonText": { "alias": "previousButtonText"; "required": false; }; "mobilePortletCols": { "alias": "mobilePortletCols"; "required": false; }; "searcherShowButtonText": { "alias": "searcherShowButtonText"; "required": false; }; }, { "action": "action"; "update": "update"; "checkedChange": "checkedChange"; "switchChange": "switchChange"; "clickedRow": "clickedRow"; "cellChange": "cellChange"; }, ["actionsRef"], ["[actions]", "[filters]"], true, never>;
|
|
92
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ButtonColor, ButtonType } from "../button/button.component";
|
|
2
|
+
import { AppSelectOption } from "../inputs/select/select.component";
|
|
3
|
+
import { UicPortletData } from "../uic-portlet-card/uic-portlet-card.component";
|
|
4
|
+
export interface TableColums {
|
|
5
|
+
key: string;
|
|
6
|
+
label: string;
|
|
7
|
+
width?: number;
|
|
8
|
+
align?: 'flex-start' | 'flex-end' | 'center';
|
|
9
|
+
type?: ColumnTypes;
|
|
10
|
+
sortEnable?: boolean;
|
|
11
|
+
editable?: boolean;
|
|
12
|
+
editionType?: 'input' | 'select';
|
|
13
|
+
editionTypeOptions?: AppSelectOption[];
|
|
14
|
+
actions?: TableButton[];
|
|
15
|
+
hideOn?: 'small' | 'medium';
|
|
16
|
+
moreActions?: {
|
|
17
|
+
icon?: string;
|
|
18
|
+
actions: TableButton[];
|
|
19
|
+
}[];
|
|
20
|
+
}
|
|
21
|
+
export interface TableButton {
|
|
22
|
+
key: string;
|
|
23
|
+
color?: ButtonColor;
|
|
24
|
+
icon?: string;
|
|
25
|
+
text?: string;
|
|
26
|
+
type?: ButtonType;
|
|
27
|
+
tooltip?: string;
|
|
28
|
+
rule?: string[];
|
|
29
|
+
}
|
|
30
|
+
export interface TableRow {
|
|
31
|
+
id: number | string;
|
|
32
|
+
data: TableRowData[];
|
|
33
|
+
highlighted?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export interface TableRowData extends UicPortletData {
|
|
36
|
+
key: string;
|
|
37
|
+
}
|
|
38
|
+
export interface TableList {
|
|
39
|
+
text: string;
|
|
40
|
+
subtext?: string;
|
|
41
|
+
icon?: string;
|
|
42
|
+
color?: string;
|
|
43
|
+
}
|
|
44
|
+
export interface TableUser {
|
|
45
|
+
name: string;
|
|
46
|
+
id: string;
|
|
47
|
+
photo?: string;
|
|
48
|
+
icon?: string;
|
|
49
|
+
hideAvatar?: boolean;
|
|
50
|
+
}
|
|
51
|
+
export interface TableAction {
|
|
52
|
+
rowId: number | string;
|
|
53
|
+
key: string;
|
|
54
|
+
}
|
|
55
|
+
export interface TableCellChange {
|
|
56
|
+
rowId: number | string;
|
|
57
|
+
columnKey: string;
|
|
58
|
+
value: string | number | null;
|
|
59
|
+
previousValue: string | number | null;
|
|
60
|
+
}
|
|
61
|
+
export type ColumnTypes = 'actions' | 'text' | 'bold' | 'list' | 'money' | 'copy' | 'user' | 'checkbox' | 'icon-list' | 'status' | 'switch' | 'bigtext' | 'date' | 'tag';
|
|
62
|
+
export type TableTextColors = 'primary' | 'red' | 'green' | 'blue' | 'yellow' | 'black' | 'grey';
|
|
63
|
+
export type BackgroundColors = 'primary' | 'secondary' | 'red' | 'green' | 'blue' | 'yellow' | 'black' | 'grey' | 'transparent' | 'white';
|
|
64
|
+
export interface TableFilters {
|
|
65
|
+
sortBy: string;
|
|
66
|
+
isSortAscending: boolean;
|
|
67
|
+
pageNumber: number;
|
|
68
|
+
pageSize: number;
|
|
69
|
+
filter: string;
|
|
70
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UicTabsButtonComponent {
|
|
4
|
+
tabs: UiBtnTab[];
|
|
5
|
+
activeTab: string;
|
|
6
|
+
activeTabChange: EventEmitter<string>;
|
|
7
|
+
selectTab(tab: string): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UicTabsButtonComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UicTabsButtonComponent, "ui-tabs-button", never, { "tabs": { "alias": "tabs"; "required": false; }; "activeTab": { "alias": "activeTab"; "required": false; }; }, { "activeTabChange": "activeTabChange"; }, never, never, true, never>;
|
|
10
|
+
}
|
|
11
|
+
export interface UiBtnTab {
|
|
12
|
+
key: string;
|
|
13
|
+
text: string;
|
|
14
|
+
icon?: string;
|
|
15
|
+
subtitle?: string;
|
|
16
|
+
warning?: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ButtonColor } from '../button/button.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
type selectId = UicTagData[];
|
|
5
|
+
declare const base: abstract new () => {
|
|
6
|
+
value: selectId;
|
|
7
|
+
valueChange: EventEmitter<selectId>;
|
|
8
|
+
onChange: (value: selectId) => void;
|
|
9
|
+
onTouched: () => void;
|
|
10
|
+
writeValue(obj: selectId): void;
|
|
11
|
+
registerOnChange(fn: any): void;
|
|
12
|
+
registerOnTouched(fn: any): void;
|
|
13
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
14
|
+
notifyChange(value: selectId): void;
|
|
15
|
+
};
|
|
16
|
+
export declare class UicTagSelectorComponent extends base {
|
|
17
|
+
icon: string;
|
|
18
|
+
iconColor: ButtonColor;
|
|
19
|
+
label: string;
|
|
20
|
+
error: string;
|
|
21
|
+
tip: string;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
loading: boolean;
|
|
24
|
+
placeholder: string;
|
|
25
|
+
buttonText: string;
|
|
26
|
+
predefinedTitle: string;
|
|
27
|
+
newTagTitle: string;
|
|
28
|
+
predefinedLabels: UicTagData[];
|
|
29
|
+
createdTag: EventEmitter<UicTagData>;
|
|
30
|
+
selectTag: EventEmitter<number>;
|
|
31
|
+
unselectTag: EventEmitter<number>;
|
|
32
|
+
selectedTags: UicTagData[];
|
|
33
|
+
filterText: string;
|
|
34
|
+
newTagLabel: string;
|
|
35
|
+
filterArray: UicTagData[];
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
filter(): void;
|
|
38
|
+
select(tag: UicTagData): void;
|
|
39
|
+
removeTag(tag: UicTagData): void;
|
|
40
|
+
createTag(): void;
|
|
41
|
+
isSelected(name: string): boolean;
|
|
42
|
+
writeValue(value: UicTagData[] | null | undefined): void;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UicTagSelectorComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UicTagSelectorComponent, "ui-tag-selector", never, { "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "tip": { "alias": "tip"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "predefinedTitle": { "alias": "predefinedTitle"; "required": false; }; "newTagTitle": { "alias": "newTagTitle"; "required": false; }; "predefinedLabels": { "alias": "predefinedLabels"; "required": false; }; }, { "createdTag": "createdTag"; "selectTag": "selectTag"; "unselectTag": "unselectTag"; }, never, never, true, never>;
|
|
45
|
+
}
|
|
46
|
+
export interface UicTagData {
|
|
47
|
+
id: number;
|
|
48
|
+
name: string;
|
|
49
|
+
color: string;
|
|
50
|
+
icon?: string;
|
|
51
|
+
}
|
|
52
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AlertData, AlertResponseData } from './tiny-alert.model';
|
|
2
|
+
import { UiModalRef } from '../../services/modaRef';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TinyAlertComponent {
|
|
5
|
+
private readonly modalRef;
|
|
6
|
+
data: AlertData;
|
|
7
|
+
constructor(inData: {
|
|
8
|
+
alert: AlertData;
|
|
9
|
+
editing: boolean;
|
|
10
|
+
}, modalRef: UiModalRef);
|
|
11
|
+
response: AlertResponseData;
|
|
12
|
+
close(value: boolean): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TinyAlertComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TinyAlertComponent, "ui-tiny-alert", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ButtonColor } from "../button/button.component";
|
|
2
|
+
export interface AlertData {
|
|
3
|
+
title?: string;
|
|
4
|
+
body?: string;
|
|
5
|
+
type?: 'delete' | 'warning' | 'error' | 'info' | 'success';
|
|
6
|
+
iconPath?: string;
|
|
7
|
+
iconChar?: string;
|
|
8
|
+
closeOnOutclick?: boolean;
|
|
9
|
+
okButtonColor?: ButtonColor;
|
|
10
|
+
okButtonText?: string;
|
|
11
|
+
showCancelButton?: boolean;
|
|
12
|
+
cancelButtonColor?: ButtonColor;
|
|
13
|
+
cancelButtonText?: string;
|
|
14
|
+
footerHTML?: string;
|
|
15
|
+
showCheckBox?: boolean;
|
|
16
|
+
checkBoxLabel?: string;
|
|
17
|
+
showInput?: boolean;
|
|
18
|
+
inputLabel?: string;
|
|
19
|
+
inputType?: string;
|
|
20
|
+
inputRequired?: boolean;
|
|
21
|
+
inputDefaultValue?: string;
|
|
22
|
+
inputPlaceholder?: string;
|
|
23
|
+
moreDetail?: string;
|
|
24
|
+
errorMessage?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface AlertResponse {
|
|
27
|
+
value: boolean;
|
|
28
|
+
data: AlertResponseData;
|
|
29
|
+
}
|
|
30
|
+
export interface AlertResponseData {
|
|
31
|
+
checkbox?: boolean;
|
|
32
|
+
input?: string;
|
|
33
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class UicTooltipComponent {
|
|
3
|
+
tooltip: string;
|
|
4
|
+
left: number;
|
|
5
|
+
top: number;
|
|
6
|
+
placement: 'top' | 'bottom';
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UicTooltipComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UicTooltipComponent, "ui-tooltip", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { AfterViewChecked, ElementRef, EventEmitter, QueryList } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UicTreeAdminComponent implements AfterViewChecked {
|
|
4
|
+
searchEnabled: boolean;
|
|
5
|
+
loading: boolean;
|
|
6
|
+
emptyMessage: string;
|
|
7
|
+
duplicateNameMessage: string;
|
|
8
|
+
edit: EventEmitter<TreeActionEvent>;
|
|
9
|
+
remove: EventEmitter<TreeActionEvent>;
|
|
10
|
+
deactivate: EventEmitter<TreeToggleEvent>;
|
|
11
|
+
nameChange: EventEmitter<TreeNameChangeEvent>;
|
|
12
|
+
create: EventEmitter<TreeCreateRequestEvent>;
|
|
13
|
+
tree: TreeData[];
|
|
14
|
+
childNameInputs: QueryList<ElementRef<HTMLInputElement>>;
|
|
15
|
+
parentNameInputs: QueryList<ElementRef<HTMLInputElement>>;
|
|
16
|
+
private readonly pushAler;
|
|
17
|
+
private readonly i18n;
|
|
18
|
+
private collapsedIds;
|
|
19
|
+
private editingParentId;
|
|
20
|
+
private editingChildId;
|
|
21
|
+
private pendingFocusParentId;
|
|
22
|
+
private pendingFocusChildId;
|
|
23
|
+
private pendingCreateIds;
|
|
24
|
+
private originalNames;
|
|
25
|
+
private tempId;
|
|
26
|
+
filterTerm: string;
|
|
27
|
+
ngAfterViewChecked(): void;
|
|
28
|
+
isExpanded(item: TreeData): boolean;
|
|
29
|
+
toggleItem(item: TreeData): void;
|
|
30
|
+
startEditParent(item: TreeData, event?: MouseEvent): void;
|
|
31
|
+
stopEditParent(): void;
|
|
32
|
+
isEditingParent(item: TreeData): boolean;
|
|
33
|
+
startEditChild(subitem: TreeData, event?: MouseEvent): void;
|
|
34
|
+
stopEditChild(): void;
|
|
35
|
+
isEditingChild(subitem: TreeData): boolean;
|
|
36
|
+
updateParentName(item: TreeData, event: Event): void;
|
|
37
|
+
updateChildName(parent: TreeData, subitem: TreeData, event: Event): void;
|
|
38
|
+
updateFilter(event: Event): void;
|
|
39
|
+
clearFilter(): void;
|
|
40
|
+
getFilteredChildren(item: TreeData): TreeData[];
|
|
41
|
+
finalizeParentEdit(item: TreeData): void;
|
|
42
|
+
finalizeChildEdit(parent: TreeData, subitem: TreeData): void;
|
|
43
|
+
cancelParentEdit(item: TreeData): void;
|
|
44
|
+
cancelChildEdit(parent: TreeData, subitem: TreeData): void;
|
|
45
|
+
addSubItem(item: TreeData, event?: MouseEvent): void;
|
|
46
|
+
emitEditParent(item: TreeData, event?: MouseEvent): void;
|
|
47
|
+
emitEditChild(parent: TreeData, subitem: TreeData, event?: MouseEvent): void;
|
|
48
|
+
emitDeleteParent(item: TreeData, event?: MouseEvent): void;
|
|
49
|
+
emitDeleteChild(parent: TreeData, subitem: TreeData, event?: MouseEvent): void;
|
|
50
|
+
emitDeactivateParent(item: TreeData, checked: boolean): void;
|
|
51
|
+
emitDeactivateChild(parent: TreeData, subitem: TreeData, checked: boolean): void;
|
|
52
|
+
isPendingCreate(subitem: TreeData): boolean;
|
|
53
|
+
private removeChild;
|
|
54
|
+
private isNewChild;
|
|
55
|
+
private hasDuplicateChildName;
|
|
56
|
+
private cleanupPendingCreateIds;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UicTreeAdminComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UicTreeAdminComponent, "ui-tree-admin", never, { "searchEnabled": { "alias": "searchEnabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "duplicateNameMessage": { "alias": "duplicateNameMessage"; "required": false; }; "tree": { "alias": "tree"; "required": false; }; }, { "edit": "edit"; "remove": "remove"; "deactivate": "deactivate"; "nameChange": "nameChange"; "create": "create"; }, never, never, true, never>;
|
|
59
|
+
}
|
|
60
|
+
export interface TreeData {
|
|
61
|
+
id: number | string;
|
|
62
|
+
name: string;
|
|
63
|
+
enabled: boolean;
|
|
64
|
+
children?: TreeData[];
|
|
65
|
+
}
|
|
66
|
+
export interface TreeActionEvent {
|
|
67
|
+
kind: 'parent' | 'child';
|
|
68
|
+
id: number | string;
|
|
69
|
+
parentId?: number | string;
|
|
70
|
+
}
|
|
71
|
+
export interface TreeToggleEvent extends TreeActionEvent {
|
|
72
|
+
checked: boolean;
|
|
73
|
+
}
|
|
74
|
+
export interface TreeNameChangeEvent extends TreeActionEvent {
|
|
75
|
+
name: string;
|
|
76
|
+
}
|
|
77
|
+
export interface TreeCreateRequestEvent {
|
|
78
|
+
parentId: number | string;
|
|
79
|
+
name: string;
|
|
80
|
+
tempId: number | string;
|
|
81
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
2
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
3
|
+
import { ButtonSize } from '../button/button.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class UicActionButtonComponent {
|
|
6
|
+
icon: string;
|
|
7
|
+
options: ActionMenuOption[];
|
|
8
|
+
multiselect: boolean;
|
|
9
|
+
size: ButtonSize;
|
|
10
|
+
optionSelected: EventEmitter<ActionMenuOption>;
|
|
11
|
+
optionsApplied: EventEmitter<ActionMenuOption[]>;
|
|
12
|
+
menuTemplate: TemplateRef<any>;
|
|
13
|
+
private overlayRef;
|
|
14
|
+
private readonly overlay;
|
|
15
|
+
private readonly vcr;
|
|
16
|
+
private readonly host;
|
|
17
|
+
selectedSet: Set<string | number>;
|
|
18
|
+
allSelected: boolean;
|
|
19
|
+
overlayPositions: ConnectedPosition[];
|
|
20
|
+
openMenu(): void;
|
|
21
|
+
/** SINGLE SELECT MODE */
|
|
22
|
+
selectOption(option: ActionMenuOption): void;
|
|
23
|
+
/** MULTISELECT MODE */
|
|
24
|
+
toggleOption(opt: ActionMenuOption): void;
|
|
25
|
+
toggleAll(checked: boolean): void;
|
|
26
|
+
applySelection(): void;
|
|
27
|
+
updateAllSelected(): void;
|
|
28
|
+
closeMenu(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UicActionButtonComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UicActionButtonComponent, "ui-action-button", never, { "icon": { "alias": "icon"; "required": false; }; "options": { "alias": "options"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "optionSelected": "optionSelected"; "optionsApplied": "optionsApplied"; }, never, never, true, never>;
|
|
31
|
+
}
|
|
32
|
+
export interface ActionMenuOption {
|
|
33
|
+
id: string;
|
|
34
|
+
label: string;
|
|
35
|
+
icon?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { BackgroundColors, ColumnTypes, TableList, TableRowData, TableTextColors, TableUser } from '../table/table.models';
|
|
2
|
+
import { AlertData } from '../tiny-alert/tiny-alert.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UicPortletCardComponent {
|
|
5
|
+
title: string;
|
|
6
|
+
data: UicPortletData[];
|
|
7
|
+
layout: 'horizontal' | 'vertical';
|
|
8
|
+
cols: number;
|
|
9
|
+
gap: number;
|
|
10
|
+
labelWeight: number;
|
|
11
|
+
valueWeight: number;
|
|
12
|
+
valueSize: number;
|
|
13
|
+
switchValidation: AlertData[];
|
|
14
|
+
finalData: TableRowData[];
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
get gridTemplateColumns(): string | null;
|
|
17
|
+
copyText(text: string): void;
|
|
18
|
+
switchHandler(key: string, value: boolean): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UicPortletCardComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UicPortletCardComponent, "ui-portlet-card", never, { "title": { "alias": "title"; "required": false; }; "data": { "alias": "data"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; "labelWeight": { "alias": "labelWeight"; "required": false; }; "valueWeight": { "alias": "valueWeight"; "required": false; }; "valueSize": { "alias": "valueSize"; "required": false; }; "switchValidation": { "alias": "switchValidation"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
22
|
+
export interface UicPortletData {
|
|
23
|
+
value?: string | number;
|
|
24
|
+
label?: string;
|
|
25
|
+
type?: ColumnTypes;
|
|
26
|
+
subtext?: string | number;
|
|
27
|
+
checked?: boolean;
|
|
28
|
+
list?: TableList[];
|
|
29
|
+
user?: TableUser;
|
|
30
|
+
icon?: string;
|
|
31
|
+
rightIcon?: string;
|
|
32
|
+
iconColor?: string;
|
|
33
|
+
textColor?: TableTextColors;
|
|
34
|
+
color?: BackgroundColors;
|
|
35
|
+
expanded?: boolean;
|
|
36
|
+
currencyCode?: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
|
+
import { EditableBlock, EditableField } from '../user-formbuilder.component';
|
|
3
|
+
import { FieldConfig } from '../../dynamic-form/form.models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BlockEditorComponent {
|
|
6
|
+
block: import("@angular/core").InputSignal<EditableBlock>;
|
|
7
|
+
blockChange: import("@angular/core").OutputEmitterRef<EditableBlock>;
|
|
8
|
+
addFieldRequest: import("@angular/core").OutputEmitterRef<FieldConfig>;
|
|
9
|
+
deleteBlock: import("@angular/core").OutputEmitterRef<string>;
|
|
10
|
+
notifySelectedField: import("@angular/core").OutputEmitterRef<EditableField | null>;
|
|
11
|
+
selectedFieldId: string | null;
|
|
12
|
+
selectField(field: EditableField): void;
|
|
13
|
+
changeTitle(newTitle: string): void;
|
|
14
|
+
changeSubtitle(newSubtitle: string): void;
|
|
15
|
+
addField(newFieldType: FieldConfig): void;
|
|
16
|
+
deleteField(fieldCode: string, e: Event): void;
|
|
17
|
+
reorderFields(event: CdkDragDrop<EditableField[]>): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BlockEditorComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BlockEditorComponent, "lib-block-editor", never, { "block": { "alias": "block"; "required": false; "isSignal": true; }; "selectedFieldId": { "alias": "selectedFieldId"; "required": false; }; }, { "blockChange": "blockChange"; "addFieldRequest": "addFieldRequest"; "deleteBlock": "deleteBlock"; "notifySelectedField": "notifySelectedField"; }, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { FormField, uicFormValuesRecord } from '../../../dynamic-form/form.models';
|
|
2
|
+
import { AppSelectOption } from '../../../inputs/select/select.component';
|
|
3
|
+
import { EditableField } from '../../user-formbuilder.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FieldEditorComponent {
|
|
6
|
+
private readonly translateService;
|
|
7
|
+
hasOptions: import("@angular/core").Signal<boolean>;
|
|
8
|
+
config: import("@angular/core").InputSignal<EditableField>;
|
|
9
|
+
options: import("@angular/core").InputSignal<Record<string, AppSelectOption[]>>;
|
|
10
|
+
hiddenSections: import("@angular/core").WritableSignal<string[]>;
|
|
11
|
+
fieldChange: import("@angular/core").OutputEmitterRef<FormField>;
|
|
12
|
+
localField: import("@angular/core").WritableSignal<FormField>;
|
|
13
|
+
requiredFields: FormField[];
|
|
14
|
+
advancedFields: import("@angular/core").Signal<FormField[]>;
|
|
15
|
+
styleFields: import("@angular/core").Signal<FormField[]>;
|
|
16
|
+
branchFields: FormField[];
|
|
17
|
+
initialValues: import("@angular/core").Signal<FormField>;
|
|
18
|
+
branchInitialValues: import("@angular/core").Signal<uicFormValuesRecord>;
|
|
19
|
+
fieldType: import("@angular/core").Signal<import("ui-core-abv").FieldConfig | undefined>;
|
|
20
|
+
constructor();
|
|
21
|
+
updateRuleValue(fr: uicFormValuesRecord): void;
|
|
22
|
+
addRule(): void;
|
|
23
|
+
removeRule(): void;
|
|
24
|
+
updateFieldValues(fr: uicFormValuesRecord): void;
|
|
25
|
+
updateOptions(options: AppSelectOption[]): void;
|
|
26
|
+
toggleSection(section: string): void;
|
|
27
|
+
private buildRequiredFields;
|
|
28
|
+
private buildDesignBlocks;
|
|
29
|
+
private buildAdvancedBlocks;
|
|
30
|
+
private buildBranchFields;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldEditorComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldEditorComponent, "lib-field-editor", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, { "fieldChange": "fieldChange"; }, never, never, true, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { AppSelectOption } from '../../../../inputs/select/select.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UicFieldOptionsEditorComponent {
|
|
5
|
+
optionsChange: EventEmitter<AppSelectOption[]>;
|
|
6
|
+
options: AppSelectOption[];
|
|
7
|
+
addOption(): void;
|
|
8
|
+
dropOption(index: number): void;
|
|
9
|
+
updateCode(name: string, idx: number): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UicFieldOptionsEditorComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UicFieldOptionsEditorComponent, "ui-field-options-editor", never, { "options": { "alias": "options"; "required": false; }; }, { "optionsChange": "optionsChange"; }, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FieldConfig } from '../../../dynamic-form/form.models';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FieldTypeSelectorComponent {
|
|
4
|
+
types: FieldConfig[];
|
|
5
|
+
selectType: import("@angular/core").OutputEmitterRef<FieldConfig>;
|
|
6
|
+
addField(type: FieldConfig): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldTypeSelectorComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldTypeSelectorComponent, "lib-field-type-selector", never, {}, { "selectType": "selectType"; }, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FormResult, FormSchema } from '../../dynamic-form/form.models';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormPreviewComponent {
|
|
4
|
+
data: {
|
|
5
|
+
schema: FormSchema;
|
|
6
|
+
};
|
|
7
|
+
schema: FormSchema;
|
|
8
|
+
constructor(data: {
|
|
9
|
+
schema: FormSchema;
|
|
10
|
+
});
|
|
11
|
+
save(fr: FormResult): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormPreviewComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormPreviewComponent, "lib-form-preview", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { FieldConfig, FormField, FormSchema } from '../dynamic-form/form.models';
|
|
2
|
+
import { AppSelectOption } from '../inputs/select/select.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type EditableField = {
|
|
5
|
+
id?: number | null;
|
|
6
|
+
code: string;
|
|
7
|
+
order: number;
|
|
8
|
+
type?: string;
|
|
9
|
+
field?: FieldConfig;
|
|
10
|
+
fieldData: FormField;
|
|
11
|
+
};
|
|
12
|
+
export type EditableBlock = {
|
|
13
|
+
id?: number | null;
|
|
14
|
+
code: string;
|
|
15
|
+
order: number;
|
|
16
|
+
title?: string;
|
|
17
|
+
subtitle?: string;
|
|
18
|
+
fields: EditableField[];
|
|
19
|
+
};
|
|
20
|
+
export type EditableForm = {
|
|
21
|
+
cols: number;
|
|
22
|
+
blocks: EditableBlock[];
|
|
23
|
+
};
|
|
24
|
+
export declare class UicUserFormbuilderComponent {
|
|
25
|
+
private readonly modalService;
|
|
26
|
+
private readonly tinyAlertService;
|
|
27
|
+
private readonly translateService;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
formTitle: string;
|
|
30
|
+
readOnly: import("@angular/core").InputSignal<boolean>;
|
|
31
|
+
editableFormInput: import("@angular/core").InputSignal<EditableForm>;
|
|
32
|
+
submitFormRequest: import("@angular/core").OutputEmitterRef<EditableForm>;
|
|
33
|
+
nextBlockId: number;
|
|
34
|
+
nextFieldId: number;
|
|
35
|
+
editableCols: import("@angular/core").WritableSignal<number>;
|
|
36
|
+
editableBlocks: import("@angular/core").WritableSignal<EditableBlock[]>;
|
|
37
|
+
editingSnapshot: import("@angular/core").WritableSignal<EditableForm | null>;
|
|
38
|
+
isReadOnly: import("@angular/core").WritableSignal<boolean>;
|
|
39
|
+
selectedField: import("@angular/core").WritableSignal<EditableField | null>;
|
|
40
|
+
previewSchema: import("@angular/core").Signal<FormSchema>;
|
|
41
|
+
dependencyOptions: import("@angular/core").Signal<Record<string, AppSelectOption[]>>;
|
|
42
|
+
constructor();
|
|
43
|
+
addBlock(): void;
|
|
44
|
+
deleteBlock(code: string): void;
|
|
45
|
+
addField(blockCode: string, newFieldType: FieldConfig): void;
|
|
46
|
+
printForm(): void;
|
|
47
|
+
submitForm(): void;
|
|
48
|
+
private getDuplicatedFieldName;
|
|
49
|
+
enableEditMode(): void;
|
|
50
|
+
discardChanges(): void;
|
|
51
|
+
onBlockChange(index: number, updated: EditableBlock): void;
|
|
52
|
+
onFieldChange(updatedField: FormField): void;
|
|
53
|
+
private prepareBlocksForLocalState;
|
|
54
|
+
private syncLocalCounters;
|
|
55
|
+
private getNextCodeId;
|
|
56
|
+
private hydrateBlocks;
|
|
57
|
+
private removeNullProperties;
|
|
58
|
+
private deepClone;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UicUserFormbuilderComponent, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UicUserFormbuilderComponent, "ui-user-formbuilder", never, { "disabled": { "alias": "disabled"; "required": false; }; "formTitle": { "alias": "formTitle"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "editableFormInput": { "alias": "editableForm"; "required": false; "isSignal": true; }; }, { "submitFormRequest": "submitFormRequest"; }, never, never, true, never>;
|
|
61
|
+
}
|