@es.framework/ng.ui.core 2.0.58
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 +3 -0
- package/attachments/README.md +3 -0
- package/base-crud/README.md +3 -0
- package/breadcrumb/README.md +3 -0
- package/checkbox/README.md +3 -0
- package/collapsible/README.md +3 -0
- package/color-picker/README.md +3 -0
- package/column-settings-popover/README.md +3 -0
- package/custom-switch/README.md +3 -0
- package/datepicker/README.md +3 -0
- package/deactivation-reason/README.md +3 -0
- package/excel-import/README.md +3 -0
- package/fesm2022/es.framework-ng.ui.core-attachments.mjs +217 -0
- package/fesm2022/es.framework-ng.ui.core-attachments.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-base-crud.mjs +370 -0
- package/fesm2022/es.framework-ng.ui.core-base-crud.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-breadcrumb.mjs +145 -0
- package/fesm2022/es.framework-ng.ui.core-breadcrumb.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-checkbox.mjs +131 -0
- package/fesm2022/es.framework-ng.ui.core-checkbox.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-collapsible.mjs +90 -0
- package/fesm2022/es.framework-ng.ui.core-collapsible.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-color-picker.mjs +87 -0
- package/fesm2022/es.framework-ng.ui.core-color-picker.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-column-settings-popover.mjs +183 -0
- package/fesm2022/es.framework-ng.ui.core-column-settings-popover.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-custom-switch.mjs +119 -0
- package/fesm2022/es.framework-ng.ui.core-custom-switch.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-datepicker.mjs +519 -0
- package/fesm2022/es.framework-ng.ui.core-datepicker.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-deactivation-reason.mjs +144 -0
- package/fesm2022/es.framework-ng.ui.core-deactivation-reason.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-excel-import.mjs +566 -0
- package/fesm2022/es.framework-ng.ui.core-excel-import.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-filter-templates.mjs +386 -0
- package/fesm2022/es.framework-ng.ui.core-filter-templates.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-form-button.mjs +62 -0
- package/fesm2022/es.framework-ng.ui.core-form-button.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-form-field.mjs +155 -0
- package/fesm2022/es.framework-ng.ui.core-form-field.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-form-template.mjs +37 -0
- package/fesm2022/es.framework-ng.ui.core-form-template.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-avatar-image.mjs +132 -0
- package/fesm2022/es.framework-ng.ui.core-formly-avatar-image.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-avatar-label.mjs +89 -0
- package/fesm2022/es.framework-ng.ui.core-formly-avatar-label.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-button-selector.mjs +195 -0
- package/fesm2022/es.framework-ng.ui.core-formly-button-selector.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-button.mjs +73 -0
- package/fesm2022/es.framework-ng.ui.core-formly-button.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-presets.mjs +201 -0
- package/fesm2022/es.framework-ng.ui.core-formly-presets.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-prime-icon-picker.mjs +542 -0
- package/fesm2022/es.framework-ng.ui.core-formly-prime-icon-picker.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-split-button.mjs +62 -0
- package/fesm2022/es.framework-ng.ui.core-formly-split-button.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-ui-all.mjs +422 -0
- package/fesm2022/es.framework-ng.ui.core-formly-ui-all.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-ui.mjs +48 -0
- package/fesm2022/es.framework-ng.ui.core-formly-ui.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-formly-username-with-domain.mjs +85 -0
- package/fesm2022/es.framework-ng.ui.core-formly-username-with-domain.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-assets.mjs +22 -0
- package/fesm2022/es.framework-ng.ui.core-generic-assets.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-autocomplete.mjs +173 -0
- package/fesm2022/es.framework-ng.ui.core-generic-autocomplete.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-button.mjs +150 -0
- package/fesm2022/es.framework-ng.ui.core-generic-button.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-card.mjs +218 -0
- package/fesm2022/es.framework-ng.ui.core-generic-card.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-crud-table.mjs +929 -0
- package/fesm2022/es.framework-ng.ui.core-generic-crud-table.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-dialog.mjs +321 -0
- package/fesm2022/es.framework-ng.ui.core-generic-dialog.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-errormessage.mjs +35 -0
- package/fesm2022/es.framework-ng.ui.core-generic-errormessage.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-formly-fields.mjs +63 -0
- package/fesm2022/es.framework-ng.ui.core-generic-formly-fields.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-loadingspinner.mjs +34 -0
- package/fesm2022/es.framework-ng.ui.core-generic-loadingspinner.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-report-tabs.mjs +196 -0
- package/fesm2022/es.framework-ng.ui.core-generic-report-tabs.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-report.mjs +556 -0
- package/fesm2022/es.framework-ng.ui.core-generic-report.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-search-advanced.mjs +2995 -0
- package/fesm2022/es.framework-ng.ui.core-generic-search-advanced.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-search.mjs +103 -0
- package/fesm2022/es.framework-ng.ui.core-generic-search.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-selector.mjs +684 -0
- package/fesm2022/es.framework-ng.ui.core-generic-selector.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-table.mjs +388 -0
- package/fesm2022/es.framework-ng.ui.core-generic-table.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-generic-view.mjs +465 -0
- package/fesm2022/es.framework-ng.ui.core-generic-view.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-header-wrapper.mjs +31 -0
- package/fesm2022/es.framework-ng.ui.core-header-wrapper.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-icon-picker.mjs +205 -0
- package/fesm2022/es.framework-ng.ui.core-icon-picker.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-input-switch.mjs +102 -0
- package/fesm2022/es.framework-ng.ui.core-input-switch.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-input-with-icon.mjs +67 -0
- package/fesm2022/es.framework-ng.ui.core-input-with-icon.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-input.mjs +250 -0
- package/fesm2022/es.framework-ng.ui.core-input.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-label-type.mjs +184 -0
- package/fesm2022/es.framework-ng.ui.core-label-type.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-loading-skeletons.mjs +66 -0
- package/fesm2022/es.framework-ng.ui.core-loading-skeletons.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-odata-query-builder.mjs +307 -0
- package/fesm2022/es.framework-ng.ui.core-odata-query-builder.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-query-type.mjs +162 -0
- package/fesm2022/es.framework-ng.ui.core-query-type.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-radio.mjs +120 -0
- package/fesm2022/es.framework-ng.ui.core-radio.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-repeat.mjs +290 -0
- package/fesm2022/es.framework-ng.ui.core-repeat.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-select.mjs +179 -0
- package/fesm2022/es.framework-ng.ui.core-select.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-sidebar-cards.mjs +52 -0
- package/fesm2022/es.framework-ng.ui.core-sidebar-cards.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-sidebar-toggles.mjs +53 -0
- package/fesm2022/es.framework-ng.ui.core-sidebar-toggles.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-tabs.mjs +57 -0
- package/fesm2022/es.framework-ng.ui.core-tabs.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-tag-type.mjs +209 -0
- package/fesm2022/es.framework-ng.ui.core-tag-type.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-text-editor.mjs +58 -0
- package/fesm2022/es.framework-ng.ui.core-text-editor.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-textarea.mjs +93 -0
- package/fesm2022/es.framework-ng.ui.core-textarea.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core-wrappers.mjs +245 -0
- package/fesm2022/es.framework-ng.ui.core-wrappers.mjs.map +1 -0
- package/fesm2022/es.framework-ng.ui.core.mjs +20 -0
- package/fesm2022/es.framework-ng.ui.core.mjs.map +1 -0
- package/filter-templates/README.md +3 -0
- package/form-button/README.md +3 -0
- package/form-field/README.md +3 -0
- package/form-template/README.md +3 -0
- package/formly-avatar-image/README.md +3 -0
- package/formly-avatar-label/README.md +3 -0
- package/formly-button/README.md +3 -0
- package/formly-button-selector/README.md +3 -0
- package/formly-presets/README.md +3 -0
- package/formly-prime-icon-picker/README.md +3 -0
- package/formly-split-button/README.md +3 -0
- package/formly-ui/README.md +3 -0
- package/formly-ui-all/README.md +3 -0
- package/formly-username-with-domain/README.md +3 -0
- package/generic-assets/README.md +3 -0
- package/generic-autocomplete/README.md +3 -0
- package/generic-button/README.md +3 -0
- package/generic-card/README.md +3 -0
- package/generic-crud-table/README.md +3 -0
- package/generic-dialog/README.md +3 -0
- package/generic-errormessage/README.md +3 -0
- package/generic-formly-fields/README.md +3 -0
- package/generic-loadingspinner/README.md +3 -0
- package/generic-report/README.md +3 -0
- package/generic-report-tabs/README.md +0 -0
- package/generic-search/README.md +3 -0
- package/generic-search-advanced/README.md +3 -0
- package/generic-selector/README.md +3 -0
- package/generic-table/README.md +3 -0
- package/generic-view/README.md +3 -0
- package/header-wrapper/README.md +3 -0
- package/icon-picker/README.md +3 -0
- package/input/README.md +3 -0
- package/input-switch/README.md +3 -0
- package/input-with-icon/README.md +3 -0
- package/label-type/README.md +3 -0
- package/loading-skeletons/README.md +3 -0
- package/odata-query-builder/README.md +3 -0
- package/package.json +264 -0
- package/query-type/README.md +3 -0
- package/radio/README.md +3 -0
- package/repeat/README.md +3 -0
- package/select/README.md +3 -0
- package/sidebar-cards/README.md +3 -0
- package/sidebar-toggles/README.md +3 -0
- package/styles.css +2 -0
- package/tabs/README.md +3 -0
- package/tag-type/README.md +3 -0
- package/text-editor/README.md +3 -0
- package/textarea/README.md +3 -0
- package/types/es.framework-ng.ui.core-attachments.d.ts +38 -0
- package/types/es.framework-ng.ui.core-base-crud.d.ts +74 -0
- package/types/es.framework-ng.ui.core-breadcrumb.d.ts +17 -0
- package/types/es.framework-ng.ui.core-checkbox.d.ts +33 -0
- package/types/es.framework-ng.ui.core-collapsible.d.ts +18 -0
- package/types/es.framework-ng.ui.core-color-picker.d.ts +16 -0
- package/types/es.framework-ng.ui.core-column-settings-popover.d.ts +46 -0
- package/types/es.framework-ng.ui.core-custom-switch.d.ts +19 -0
- package/types/es.framework-ng.ui.core-datepicker.d.ts +23 -0
- package/types/es.framework-ng.ui.core-deactivation-reason.d.ts +32 -0
- package/types/es.framework-ng.ui.core-excel-import.d.ts +69 -0
- package/types/es.framework-ng.ui.core-filter-templates.d.ts +57 -0
- package/types/es.framework-ng.ui.core-form-button.d.ts +17 -0
- package/types/es.framework-ng.ui.core-form-field.d.ts +30 -0
- package/types/es.framework-ng.ui.core-form-template.d.ts +16 -0
- package/types/es.framework-ng.ui.core-formly-avatar-image.d.ts +18 -0
- package/types/es.framework-ng.ui.core-formly-avatar-label.d.ts +36 -0
- package/types/es.framework-ng.ui.core-formly-button-selector.d.ts +35 -0
- package/types/es.framework-ng.ui.core-formly-button.d.ts +20 -0
- package/types/es.framework-ng.ui.core-formly-presets.d.ts +37 -0
- package/types/es.framework-ng.ui.core-formly-prime-icon-picker.d.ts +45 -0
- package/types/es.framework-ng.ui.core-formly-split-button.d.ts +23 -0
- package/types/es.framework-ng.ui.core-formly-ui-all.d.ts +40 -0
- package/types/es.framework-ng.ui.core-formly-ui.d.ts +13 -0
- package/types/es.framework-ng.ui.core-formly-username-with-domain.d.ts +19 -0
- package/types/es.framework-ng.ui.core-generic-assets.d.ts +10 -0
- package/types/es.framework-ng.ui.core-generic-autocomplete.d.ts +41 -0
- package/types/es.framework-ng.ui.core-generic-button.d.ts +39 -0
- package/types/es.framework-ng.ui.core-generic-card.d.ts +93 -0
- package/types/es.framework-ng.ui.core-generic-crud-table.d.ts +293 -0
- package/types/es.framework-ng.ui.core-generic-dialog.d.ts +93 -0
- package/types/es.framework-ng.ui.core-generic-errormessage.d.ts +17 -0
- package/types/es.framework-ng.ui.core-generic-formly-fields.d.ts +26 -0
- package/types/es.framework-ng.ui.core-generic-loadingspinner.d.ts +16 -0
- package/types/es.framework-ng.ui.core-generic-report-tabs.d.ts +21 -0
- package/types/es.framework-ng.ui.core-generic-report.d.ts +121 -0
- package/types/es.framework-ng.ui.core-generic-search-advanced.d.ts +305 -0
- package/types/es.framework-ng.ui.core-generic-search.d.ts +36 -0
- package/types/es.framework-ng.ui.core-generic-selector.d.ts +99 -0
- package/types/es.framework-ng.ui.core-generic-table.d.ts +84 -0
- package/types/es.framework-ng.ui.core-generic-view.d.ts +97 -0
- package/types/es.framework-ng.ui.core-header-wrapper.d.ts +15 -0
- package/types/es.framework-ng.ui.core-icon-picker.d.ts +30 -0
- package/types/es.framework-ng.ui.core-input-switch.d.ts +16 -0
- package/types/es.framework-ng.ui.core-input-with-icon.d.ts +17 -0
- package/types/es.framework-ng.ui.core-input.d.ts +47 -0
- package/types/es.framework-ng.ui.core-label-type.d.ts +38 -0
- package/types/es.framework-ng.ui.core-loading-skeletons.d.ts +17 -0
- package/types/es.framework-ng.ui.core-odata-query-builder.d.ts +87 -0
- package/types/es.framework-ng.ui.core-query-type.d.ts +37 -0
- package/types/es.framework-ng.ui.core-radio.d.ts +38 -0
- package/types/es.framework-ng.ui.core-repeat.d.ts +31 -0
- package/types/es.framework-ng.ui.core-select.d.ts +42 -0
- package/types/es.framework-ng.ui.core-sidebar-cards.d.ts +25 -0
- package/types/es.framework-ng.ui.core-sidebar-toggles.d.ts +25 -0
- package/types/es.framework-ng.ui.core-tabs.d.ts +17 -0
- package/types/es.framework-ng.ui.core-tag-type.d.ts +34 -0
- package/types/es.framework-ng.ui.core-text-editor.d.ts +16 -0
- package/types/es.framework-ng.ui.core-textarea.d.ts +36 -0
- package/types/es.framework-ng.ui.core-wrappers.d.ts +36 -0
- package/types/es.framework-ng.ui.core.d.ts +8 -0
- package/wrappers/README.md +3 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { ColumnDef } from '@es.framework/ng.core/models';
|
|
5
|
+
import { LocalizationService } from '@es.framework/ng.core/services';
|
|
6
|
+
|
|
7
|
+
declare class ColumnSettingsPopoverModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnSettingsPopoverModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ColumnSettingsPopoverModule, never, [typeof i1.CommonModule], never>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ColumnSettingsPopoverModule>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
type PopoverColumnDef<T> = ColumnDef<T> & {
|
|
14
|
+
isSelected?: boolean;
|
|
15
|
+
};
|
|
16
|
+
declare class ColumnSettingsPopoverComponent<T extends {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}> implements OnInit, OnChanges {
|
|
19
|
+
private translate;
|
|
20
|
+
op: any;
|
|
21
|
+
fixedColumns: ColumnDef<T>[];
|
|
22
|
+
toggleableColumns: ColumnDef<T>[];
|
|
23
|
+
tableId: string;
|
|
24
|
+
_displayOrderListColumns: PopoverColumnDef<T>[];
|
|
25
|
+
private _selectedToggleableColumns;
|
|
26
|
+
get selectedToggleableColumns(): ColumnDef<T>[];
|
|
27
|
+
set selectedToggleableColumns(val: ColumnDef<T>[]);
|
|
28
|
+
selectedToggleableColumnsChange: EventEmitter<ColumnDef<T>[]>;
|
|
29
|
+
constructor(translate: LocalizationService);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
32
|
+
get allColumnsSelected(): boolean;
|
|
33
|
+
set allColumnsSelected(value: boolean);
|
|
34
|
+
private initializeDisplayColumns;
|
|
35
|
+
private syncDisplayColumnsWithSelectedInput;
|
|
36
|
+
toggle(event: Event): void;
|
|
37
|
+
hide(): void;
|
|
38
|
+
onColumnVisibilityChange(column: PopoverColumnDef<T>): void;
|
|
39
|
+
onOrderListReorder(event: any): void;
|
|
40
|
+
private emitCurrentSelection;
|
|
41
|
+
private areColumnsEqual;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnSettingsPopoverComponent<any>, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnSettingsPopoverComponent<any>, "lib-column-settings-popover", never, { "fixedColumns": { "alias": "fixedColumns"; "required": false; }; "toggleableColumns": { "alias": "toggleableColumns"; "required": false; }; "tableId": { "alias": "tableId"; "required": false; }; "selectedToggleableColumns": { "alias": "selectedToggleableColumns"; "required": false; }; }, { "selectedToggleableColumnsChange": "selectedToggleableColumnsChange"; }, never, never, true, never>;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export { ColumnSettingsPopoverComponent, ColumnSettingsPopoverModule };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { AfterViewInit } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { FieldType, FieldTypeConfig } from '@ngx-formly/core';
|
|
5
|
+
|
|
6
|
+
declare class CustomSwitchModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomSwitchModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CustomSwitchModule, never, [typeof i1.CommonModule], never>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CustomSwitchModule>;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare class CustomSwitchFieldComponent extends FieldType<FieldTypeConfig> implements AfterViewInit {
|
|
13
|
+
updateModel(value: boolean): void;
|
|
14
|
+
ngAfterViewInit(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomSwitchFieldComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomSwitchFieldComponent, "formly-field-custom-switch", never, {}, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { CustomSwitchFieldComponent, CustomSwitchModule };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@angular/common';
|
|
3
|
+
import * as i5 from '@ngx-formly/core';
|
|
4
|
+
import { ConfigOption } from '@ngx-formly/core';
|
|
5
|
+
import * as i2 from '@angular/forms';
|
|
6
|
+
import * as i3 from 'primeng/datepicker';
|
|
7
|
+
import * as i4 from '@es.framework/ng.ui.core/form-field';
|
|
8
|
+
|
|
9
|
+
declare class DatepickerModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DatepickerModule, never, [typeof i1.CommonModule], never>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DatepickerModule>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare function withFormlyFieldDatepicker(): ConfigOption;
|
|
16
|
+
|
|
17
|
+
declare class FormlyDatepickerModule {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyDatepickerModule, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyDatepickerModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.DatePickerModule, typeof i4.FormlyFormFieldModule, typeof i5.FormlyModule], never>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyDatepickerModule>;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export { DatepickerModule, FormlyDatepickerModule, withFormlyFieldDatepicker };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnDestroy } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { FormGroup } from '@angular/forms';
|
|
5
|
+
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
6
|
+
import { DynamicDialogRef, DynamicDialogConfig } from 'primeng/dynamicdialog';
|
|
7
|
+
|
|
8
|
+
declare class DeactivationReasonModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeactivationReasonModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DeactivationReasonModule, never, [typeof i1.CommonModule], never>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DeactivationReasonModule>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare class DeactivationReasonFormComponent implements OnDestroy {
|
|
15
|
+
ref: DynamicDialogRef;
|
|
16
|
+
config: DynamicDialogConfig;
|
|
17
|
+
form: FormGroup<{}>;
|
|
18
|
+
model: any;
|
|
19
|
+
fields: FormlyFieldConfig[];
|
|
20
|
+
loading: boolean;
|
|
21
|
+
errorMessage: string | null;
|
|
22
|
+
private destroy$;
|
|
23
|
+
private idField;
|
|
24
|
+
private idParser;
|
|
25
|
+
constructor(ref: DynamicDialogRef, config: DynamicDialogConfig);
|
|
26
|
+
onSubmit(): void;
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeactivationReasonFormComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DeactivationReasonFormComponent, "app-deactivation-reason-form", never, {}, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { DeactivationReasonFormComponent, DeactivationReasonModule };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnDestroy, EventEmitter } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { FormGroup } from '@angular/forms';
|
|
5
|
+
import { EnvironmentService } from '@es.framework/ng.core/services';
|
|
6
|
+
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
7
|
+
import { DynamicDialogRef, DynamicDialogConfig } from 'primeng/dynamicdialog';
|
|
8
|
+
|
|
9
|
+
declare class ExcelImportModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExcelImportModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ExcelImportModule, never, [typeof i1.CommonModule], never>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ExcelImportModule>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
interface ExcelImportConfig {
|
|
16
|
+
templateUrl: string;
|
|
17
|
+
apiUrl: string;
|
|
18
|
+
apiName: string;
|
|
19
|
+
mappingFields: FormlyFieldConfig[];
|
|
20
|
+
acceptedFileTypes?: string;
|
|
21
|
+
maxFileSize?: number;
|
|
22
|
+
steps?: {
|
|
23
|
+
label: string;
|
|
24
|
+
}[];
|
|
25
|
+
}
|
|
26
|
+
declare class ExcelImportComponent implements OnDestroy {
|
|
27
|
+
ref: DynamicDialogRef;
|
|
28
|
+
dialogConfig: DynamicDialogConfig;
|
|
29
|
+
config: ExcelImportConfig;
|
|
30
|
+
importComplete: EventEmitter<any>;
|
|
31
|
+
importError: EventEmitter<Error>;
|
|
32
|
+
form: FormGroup;
|
|
33
|
+
model: any;
|
|
34
|
+
loading: boolean;
|
|
35
|
+
uploadedFileName: string | null;
|
|
36
|
+
uploadError: string | null;
|
|
37
|
+
excelHeaders: string[];
|
|
38
|
+
private destroy$;
|
|
39
|
+
private restService;
|
|
40
|
+
private messageService;
|
|
41
|
+
private translateService;
|
|
42
|
+
private fb;
|
|
43
|
+
env: EnvironmentService;
|
|
44
|
+
steps: {
|
|
45
|
+
label: string;
|
|
46
|
+
}[];
|
|
47
|
+
activeStep: number;
|
|
48
|
+
mappingFields: FormlyFieldConfig[];
|
|
49
|
+
constructor(ref: DynamicDialogRef, dialogConfig: DynamicDialogConfig);
|
|
50
|
+
ngOnInit(): void;
|
|
51
|
+
nextStep(): void;
|
|
52
|
+
prevStep(): void;
|
|
53
|
+
canProceed(): boolean;
|
|
54
|
+
getModelValue(field: FormlyFieldConfig, model: any): any;
|
|
55
|
+
private fileContent;
|
|
56
|
+
onFileUpload(event: any): void;
|
|
57
|
+
private arrayBufferToBase64;
|
|
58
|
+
private getFileExtension;
|
|
59
|
+
onSubmit(): void;
|
|
60
|
+
private clearFileUpload;
|
|
61
|
+
private initializeForm;
|
|
62
|
+
onCancel(): void;
|
|
63
|
+
ngOnDestroy(): void;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExcelImportComponent, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExcelImportComponent, "app-excel-import", never, { "config": { "alias": "config"; "required": false; }; }, { "importComplete": "importComplete"; "importError": "importError"; }, never, never, true, never>;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export { ExcelImportComponent, ExcelImportModule };
|
|
69
|
+
export type { ExcelImportConfig };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
5
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
6
|
+
import { BaseService } from '@es.framework/ng.core/services';
|
|
7
|
+
|
|
8
|
+
declare class FilterTemplatesModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterTemplatesModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FilterTemplatesModule, never, [typeof i1.CommonModule], never>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FilterTemplatesModule>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
type FilterTemplateDefaults = {
|
|
15
|
+
defaultPermission?: string;
|
|
16
|
+
defaultModule?: string;
|
|
17
|
+
defaultService?: string;
|
|
18
|
+
defaultFeature?: string;
|
|
19
|
+
};
|
|
20
|
+
declare function FilterTemplateFormFields(filterFields?: FormlyFieldConfig[], defaults?: FilterTemplateDefaults): FormlyFieldConfig[];
|
|
21
|
+
|
|
22
|
+
type EditorMode = 'create' | 'edit';
|
|
23
|
+
declare class FilterTemplateEditorDialogComponent {
|
|
24
|
+
svc: BaseService;
|
|
25
|
+
form: UntypedFormGroup;
|
|
26
|
+
/** فتح/إغلاق */
|
|
27
|
+
visible: boolean;
|
|
28
|
+
visibleChange: EventEmitter<boolean>;
|
|
29
|
+
/** وضع المكون */
|
|
30
|
+
mode: EditorMode;
|
|
31
|
+
/** نموذج القالب */
|
|
32
|
+
model: any;
|
|
33
|
+
/** حقول query builder */
|
|
34
|
+
filterFields: FormlyFieldConfig[];
|
|
35
|
+
/** API */
|
|
36
|
+
apiName: string;
|
|
37
|
+
moduleName: string;
|
|
38
|
+
idField: string;
|
|
39
|
+
/** Defaults */
|
|
40
|
+
defaultFeature: string;
|
|
41
|
+
defaultPermission: string;
|
|
42
|
+
defaultCategory: string;
|
|
43
|
+
/** UI */
|
|
44
|
+
dialogMaxWidth: string;
|
|
45
|
+
/** Events */
|
|
46
|
+
saved: EventEmitter<any>;
|
|
47
|
+
currentUserId: string | null;
|
|
48
|
+
get computedFields(): FormlyFieldConfig[];
|
|
49
|
+
beforeSaveTransform: (record: any) => any;
|
|
50
|
+
onVisibleChange(v: boolean): void;
|
|
51
|
+
onAfterSave(e: any): void;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterTemplateEditorDialogComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterTemplateEditorDialogComponent, "filter-template-editor-dialog", never, { "visible": { "alias": "visible"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "model": { "alias": "model"; "required": false; }; "filterFields": { "alias": "filterFields"; "required": false; }; "apiName": { "alias": "apiName"; "required": false; }; "moduleName": { "alias": "moduleName"; "required": false; }; "idField": { "alias": "idField"; "required": false; }; "defaultFeature": { "alias": "defaultFeature"; "required": false; }; "defaultPermission": { "alias": "defaultPermission"; "required": false; }; "defaultCategory": { "alias": "defaultCategory"; "required": false; }; "dialogMaxWidth": { "alias": "dialogMaxWidth"; "required": false; }; "currentUserId": { "alias": "currentUserId"; "required": false; }; }, { "visibleChange": "visibleChange"; "saved": "saved"; }, never, never, true, never>;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { FilterTemplateEditorDialogComponent, FilterTemplateFormFields, FilterTemplatesModule };
|
|
57
|
+
export type { FilterTemplateDefaults };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@angular/common';
|
|
3
|
+
import { FieldType } from '@ngx-formly/core';
|
|
4
|
+
|
|
5
|
+
declare class FormButtonModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormButtonModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormButtonModule, never, [typeof i1.CommonModule], never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormButtonModule>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare class FormlyFieldButton extends FieldType {
|
|
12
|
+
onClick($event: Event): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldButton, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldButton, "formly-field-button", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { FormButtonModule, FormlyFieldButton };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as i4 from '@ngx-formly/core';
|
|
2
|
+
import { ConfigOption, FormlyFieldProps as FormlyFieldProps$1, FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import * as i2 from '@angular/common';
|
|
5
|
+
import * as i3 from '@angular/forms';
|
|
6
|
+
import * as i5 from '@es.framework/ng.core/pipes';
|
|
7
|
+
|
|
8
|
+
declare function withFormlyFormField(): ConfigOption;
|
|
9
|
+
|
|
10
|
+
interface FormlyFieldProps extends FormlyFieldProps$1 {
|
|
11
|
+
hideRequiredMarker?: boolean;
|
|
12
|
+
hideLabel?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperFormField, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperFormField, "formly-wrapper-primeng-form-field", never, {}, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
18
|
+
declare class FormlyWrapperFormFieldNo extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperFormFieldNo, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperFormFieldNo, "formly-wrapper-primeng-form-field-no", never, {}, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare class FormlyFormFieldModule {
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFormFieldModule, never>;
|
|
25
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyFormFieldModule, [typeof FormlyWrapperFormField, typeof FormlyWrapperFormFieldNo], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyModule, typeof i5.TranslatePipe], [typeof FormlyWrapperFormField]>;
|
|
26
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyFormFieldModule>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { FormlyFormFieldModule, FormlyWrapperFormField, withFormlyFormField };
|
|
30
|
+
export type { FormlyFieldProps };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@angular/common';
|
|
3
|
+
import { FieldType } from '@ngx-formly/core';
|
|
4
|
+
|
|
5
|
+
declare class FormTemplateModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormTemplateModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormTemplateModule, never, [typeof i1.CommonModule], never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormTemplateModule>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare class FormlyTemplateType extends FieldType {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyTemplateType, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyTemplateType, "formly-template", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { FormTemplateModule, FormlyTemplateType };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@angular/common';
|
|
3
|
+
import { FieldType, FieldTypeConfig } from '@ngx-formly/core';
|
|
4
|
+
|
|
5
|
+
declare class FormlyAvatarImageModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyAvatarImageModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyAvatarImageModule, never, [typeof i1.CommonModule], never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyAvatarImageModule>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare class FormlyAvatarImageComponent extends FieldType<FieldTypeConfig> {
|
|
12
|
+
get type(): string;
|
|
13
|
+
get displayValue(): any;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyAvatarImageComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyAvatarImageComponent, "formly-field-avatar-image", never, {}, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { FormlyAvatarImageComponent, FormlyAvatarImageModule };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@angular/common';
|
|
3
|
+
import { FieldType } from '@ngx-formly/core';
|
|
4
|
+
|
|
5
|
+
declare class FormlyAvatarLabelModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyAvatarLabelModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyAvatarLabelModule, never, [typeof i1.CommonModule], never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyAvatarLabelModule>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
interface AvatarLabelProps {
|
|
12
|
+
/**
|
|
13
|
+
* The username or display name, shown as text and used for avatar initial
|
|
14
|
+
*/
|
|
15
|
+
username?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Prefix label shown before username (e.g. "FROM"), expected to be a translatable key
|
|
18
|
+
*/
|
|
19
|
+
prefixLabel?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Additional CSS classes to customize wrapper div if needed
|
|
22
|
+
*/
|
|
23
|
+
styleClass?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Whether the button should be disabled (optional)
|
|
26
|
+
*/
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
showUsername?: boolean;
|
|
29
|
+
}
|
|
30
|
+
declare class FormlyAvatarLabelComponent extends FieldType {
|
|
31
|
+
get to(): AvatarLabelProps;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyAvatarLabelComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyAvatarLabelComponent, "formly-avatar-label", never, {}, {}, never, never, true, never>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { FormlyAvatarLabelComponent, FormlyAvatarLabelModule };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { FieldType, FieldTypeConfig } from '@ngx-formly/core';
|
|
5
|
+
import { Popover } from 'primeng/popover';
|
|
6
|
+
import { LocalizationService } from '@es.framework/ng.core/services';
|
|
7
|
+
|
|
8
|
+
declare class FormlyButtonSelectorModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyButtonSelectorModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyButtonSelectorModule, never, [typeof i1.CommonModule], never>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyButtonSelectorModule>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface SelectionButtonProps {
|
|
15
|
+
options?: any[];
|
|
16
|
+
optionLabel: string;
|
|
17
|
+
optionValue: string;
|
|
18
|
+
popoverHeader?: string;
|
|
19
|
+
buttonLabel?: string;
|
|
20
|
+
buttonIcon?: string;
|
|
21
|
+
onSelect?: (value: any) => void;
|
|
22
|
+
}
|
|
23
|
+
declare class FormlySelectionButtonComponent extends FieldType<FieldTypeConfig<SelectionButtonProps>> implements OnInit {
|
|
24
|
+
private translate;
|
|
25
|
+
popover: Popover;
|
|
26
|
+
constructor(translate: LocalizationService);
|
|
27
|
+
getButtonLabel(): string;
|
|
28
|
+
getButtonIcon(): string | undefined;
|
|
29
|
+
onSelect(value: any): void;
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlySelectionButtonComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlySelectionButtonComponent, "formly-selection-button", never, {}, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { FormlyButtonSelectorModule, FormlySelectionButtonComponent };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@angular/common';
|
|
3
|
+
import { FieldType } from '@ngx-formly/core';
|
|
4
|
+
|
|
5
|
+
declare class FormlyButtonModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyButtonModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyButtonModule, never, [typeof i1.CommonModule], never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyButtonModule>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
interface TemplateOptions {
|
|
12
|
+
onExpand?: (field: any, model: any) => void;
|
|
13
|
+
}
|
|
14
|
+
declare class FormlyButtonComponent extends FieldType {
|
|
15
|
+
get to(): TemplateOptions;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyButtonComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyButtonComponent, "formly-button", never, {}, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { FormlyButtonComponent, FormlyButtonModule };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@angular/common';
|
|
3
|
+
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
|
|
6
|
+
declare class FormlyPresetsModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyPresetsModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyPresetsModule, never, [typeof i1.CommonModule], never>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyPresetsModule>;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare const DEFAULT_CONTROL_CLASS: string;
|
|
13
|
+
interface SelectOption {
|
|
14
|
+
label: string;
|
|
15
|
+
value: any;
|
|
16
|
+
icon?: string;
|
|
17
|
+
}
|
|
18
|
+
declare function numberField(key: string, label: string, required?: boolean, className?: string): FormlyFieldConfig;
|
|
19
|
+
declare function textField(key: string, label: string, required?: boolean, className?: string, extraTemplateOptions?: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}): FormlyFieldConfig;
|
|
22
|
+
declare function textField2(key: string, label: string, required?: boolean, className?: string, expressions?: FormlyFieldConfig['expressions']): FormlyFieldConfig;
|
|
23
|
+
declare function textareaField(key: string, label: string, rows?: number, className?: string): FormlyFieldConfig;
|
|
24
|
+
interface SelectFieldOptions {
|
|
25
|
+
key: string;
|
|
26
|
+
label: string;
|
|
27
|
+
options?: SelectOption[] | Observable<SelectOption[]>;
|
|
28
|
+
className?: string;
|
|
29
|
+
defaultValue?: any;
|
|
30
|
+
required?: boolean;
|
|
31
|
+
fullWidth?: boolean;
|
|
32
|
+
}
|
|
33
|
+
declare function selectField({ key, label, options, className, defaultValue, fullWidth, required, }: SelectFieldOptions): FormlyFieldConfig;
|
|
34
|
+
declare function checkboxField(key: string, label: string, required?: boolean, className?: string): FormlyFieldConfig;
|
|
35
|
+
|
|
36
|
+
export { DEFAULT_CONTROL_CLASS, FormlyPresetsModule, checkboxField, numberField, selectField, textField, textField2, textareaField };
|
|
37
|
+
export type { SelectFieldOptions, SelectOption };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@angular/common';
|
|
3
|
+
import { FieldType } from '@ngx-formly/core';
|
|
4
|
+
import { Popover } from 'primeng/popover';
|
|
5
|
+
|
|
6
|
+
declare class FormlyPrimeIconPickerModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyPrimeIconPickerModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyPrimeIconPickerModule, never, [typeof i1.CommonModule], never>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyPrimeIconPickerModule>;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
type IconCategory = 'navigation' | 'actions' | 'files' | 'ui' | 'social' | 'status' | 'charts';
|
|
13
|
+
interface IconDef {
|
|
14
|
+
class: string;
|
|
15
|
+
name: string;
|
|
16
|
+
category: IconCategory;
|
|
17
|
+
}
|
|
18
|
+
declare class PrimeIconPickerComponent extends FieldType {
|
|
19
|
+
popover?: Popover;
|
|
20
|
+
searchQuery: string;
|
|
21
|
+
selectedCategory: IconCategory | '';
|
|
22
|
+
filtered: IconDef[];
|
|
23
|
+
primeIcons: IconDef[];
|
|
24
|
+
categories: {
|
|
25
|
+
label: string;
|
|
26
|
+
value: IconCategory | '';
|
|
27
|
+
}[];
|
|
28
|
+
private iconByClass;
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
get selectedIconClass(): string;
|
|
31
|
+
get selectedIconName(): string;
|
|
32
|
+
togglePopover(event: Event): void;
|
|
33
|
+
selectCategory(category: IconCategory | ''): void;
|
|
34
|
+
applyFilters(): void;
|
|
35
|
+
onIconClick(icon: IconDef, event: Event): void;
|
|
36
|
+
trackIcon: (_: number, icon: IconDef) => string;
|
|
37
|
+
trackCategory: (_: number, cat: {
|
|
38
|
+
label: string;
|
|
39
|
+
value: IconCategory | "";
|
|
40
|
+
}) => IconCategory | "all";
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PrimeIconPickerComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PrimeIconPickerComponent, "formly-field-prime-icon-picker", never, {}, {}, never, never, true, never>;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { FormlyPrimeIconPickerModule, PrimeIconPickerComponent };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@angular/common';
|
|
3
|
+
import { FieldType, FieldTypeConfig } from '@ngx-formly/core';
|
|
4
|
+
import { MenuItem } from 'primeng/api';
|
|
5
|
+
|
|
6
|
+
declare class FormlySplitButtonModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlySplitButtonModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlySplitButtonModule, never, [typeof i1.CommonModule], never>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlySplitButtonModule>;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface SplitButtonProps {
|
|
13
|
+
label: string;
|
|
14
|
+
icon?: string;
|
|
15
|
+
items: MenuItem[];
|
|
16
|
+
onClick?: () => void;
|
|
17
|
+
}
|
|
18
|
+
declare class FormlySplitButtonComponent extends FieldType<FieldTypeConfig<SplitButtonProps>> {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlySplitButtonComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlySplitButtonComponent, "formly-split-button-type", never, {}, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export { FormlySplitButtonComponent, FormlySplitButtonModule };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@angular/common';
|
|
3
|
+
import { ConfigOption } from '@ngx-formly/core';
|
|
4
|
+
|
|
5
|
+
declare class FormlyUiAllModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyUiAllModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyUiAllModule, never, [typeof i1.CommonModule], never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyUiAllModule>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare function provideAllFormlyFields(): ConfigOption[];
|
|
12
|
+
declare function withFormlyQueryBuilder(): ConfigOption;
|
|
13
|
+
declare function withFormlyFieldInputWithIcon(): ConfigOption;
|
|
14
|
+
declare function withFormlyFieldAttachment(): ConfigOption;
|
|
15
|
+
declare function withFormlyFieldRichTextEditor(): ConfigOption;
|
|
16
|
+
declare function withFormlyFieldGenericSelector(): ConfigOption;
|
|
17
|
+
declare function globalGenericSelectorExtension(): ConfigOption;
|
|
18
|
+
declare function withFormlyFieldSwitch(): ConfigOption;
|
|
19
|
+
declare function withFormlyFieldUsernameWithDomain(): ConfigOption;
|
|
20
|
+
declare function withFormlyFieldCustomSwitch(): ConfigOption;
|
|
21
|
+
declare function withFormlyFieldFormlySplit(): ConfigOption;
|
|
22
|
+
declare function withFormlyFieldButtonSelection(): ConfigOption;
|
|
23
|
+
declare function withFormlyFieldAvatarLabelButton(): ConfigOption;
|
|
24
|
+
declare function withFormlyFieldFormlyButton(): ConfigOption;
|
|
25
|
+
declare function withFormlyFieldLabelType(): ConfigOption;
|
|
26
|
+
declare function withFormlyFieldClickableLabelType(): ConfigOption;
|
|
27
|
+
declare function withFormlyFieldOptionTag(): ConfigOption;
|
|
28
|
+
declare function withFormlyFieldRepeat(): ConfigOption;
|
|
29
|
+
declare function withFormlyFieldTabs(): ConfigOption;
|
|
30
|
+
declare function withFormlyFieldTag(): ConfigOption;
|
|
31
|
+
declare function withFormlyFieldColorTag(): ConfigOption;
|
|
32
|
+
declare function withFormlyFieldIconPicker(): ConfigOption;
|
|
33
|
+
declare function withFormlyFieldColorPicker(): ConfigOption;
|
|
34
|
+
declare function withFormlyFieldTemplate(): ConfigOption;
|
|
35
|
+
declare function withFormlyFieldButton(): ConfigOption;
|
|
36
|
+
declare function withFormlyFieldAvatarImage(): ConfigOption;
|
|
37
|
+
declare function withFormlyPrimeIconPicker(): ConfigOption;
|
|
38
|
+
declare function withFormlyWrappers(): ConfigOption;
|
|
39
|
+
|
|
40
|
+
export { FormlyUiAllModule, globalGenericSelectorExtension, provideAllFormlyFields, withFormlyFieldAttachment, withFormlyFieldAvatarImage, withFormlyFieldAvatarLabelButton, withFormlyFieldButton, withFormlyFieldButtonSelection, withFormlyFieldClickableLabelType, withFormlyFieldColorPicker, withFormlyFieldColorTag, withFormlyFieldCustomSwitch, withFormlyFieldFormlyButton, withFormlyFieldFormlySplit, withFormlyFieldGenericSelector, withFormlyFieldIconPicker, withFormlyFieldInputWithIcon, withFormlyFieldLabelType, withFormlyFieldOptionTag, withFormlyFieldRepeat, withFormlyFieldRichTextEditor, withFormlyFieldSwitch, withFormlyFieldTabs, withFormlyFieldTag, withFormlyFieldTemplate, withFormlyFieldUsernameWithDomain, withFormlyPrimeIconPicker, withFormlyQueryBuilder, withFormlyWrappers };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Provider } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
|
|
5
|
+
declare class FormlyUiModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyUiModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyUiModule, never, [typeof i1.CommonModule], never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyUiModule>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare function provideFormly(): Provider[];
|
|
12
|
+
|
|
13
|
+
export { FormlyUiModule, provideFormly };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@angular/common';
|
|
3
|
+
import { FieldType, FieldTypeConfig } from '@ngx-formly/core';
|
|
4
|
+
|
|
5
|
+
declare class FormlyUsernameWithDomainModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyUsernameWithDomainModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyUsernameWithDomainModule, never, [typeof i1.CommonModule], never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyUsernameWithDomainModule>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare class UsernameWithDomainComponent extends FieldType<FieldTypeConfig> {
|
|
12
|
+
readonly domain = "@ELITESOFTSYS.COM";
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
onBlur(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UsernameWithDomainComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UsernameWithDomainComponent, "lib-formly-username-with-domain", never, {}, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { FormlyUsernameWithDomainModule, UsernameWithDomainComponent };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@angular/common';
|
|
3
|
+
|
|
4
|
+
declare class GenericAssetsModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GenericAssetsModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GenericAssetsModule, never, [typeof i1.CommonModule], never>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GenericAssetsModule>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { GenericAssetsModule };
|