@mediusinc/mng-commons 1.3.0-1c14fa2b → 2.0.0-rc.0-08f92864
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/assets/i18n/en.json +9 -0
- package/assets/i18n/sl.json +9 -0
- package/esm2020/lib/api/utils/medius-rest.util.mjs +1 -1
- package/esm2020/lib/components/action/action.component.mjs +76 -20
- package/esm2020/lib/components/action/editor/action-editor.component.mjs +12 -12
- package/esm2020/lib/components/action/localization/data-language-dropdown.component.mjs +6 -6
- package/esm2020/lib/components/action/models/action-component.model.mjs +1 -1
- package/esm2020/lib/components/action/models/action-confirmation-service.model.mjs +1 -1
- package/esm2020/lib/components/action/models/action-execution.model.mjs +1 -1
- package/esm2020/lib/components/action/route/action-route.component.mjs +6 -5
- package/esm2020/lib/components/form/autocomplete/autocomplete.component.mjs +11 -10
- package/esm2020/lib/components/form/date-range/date-range.component.mjs +9 -8
- package/esm2020/lib/components/form/dropdown/dropdown.component.mjs +13 -11
- package/esm2020/lib/components/form/editor/form-editor.component.mjs +14 -11
- package/esm2020/lib/components/form/formly/fields/formly-field-action/formly-field-action.component.mjs +13 -9
- package/esm2020/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +8 -7
- package/esm2020/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +8 -7
- package/esm2020/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +11 -9
- package/esm2020/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +50 -20
- package/esm2020/lib/components/form/formly/fields/formly-field-label/formly-field-label.component.mjs +5 -5
- package/esm2020/lib/components/form/formly/fields/formly-field-lookup-dialog/formly-field-lookup-dialog.component.mjs +27 -17
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +32 -12
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +21 -12
- package/esm2020/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +13 -11
- package/esm2020/lib/components/form/formly/models/formly-field.model.mjs +1 -1
- package/esm2020/lib/components/form/formly/wrappers/formly-field-no-label-wrapper/formly-field-no-label-wrapper.component.mjs +10 -9
- package/esm2020/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.mjs +11 -10
- package/esm2020/lib/components/form/models/field-action-context.model.mjs +1 -1
- package/esm2020/lib/components/layout/breadcrumb.component.mjs +7 -6
- package/esm2020/lib/components/layout/footer.component.mjs +6 -5
- package/esm2020/lib/components/layout/main-layout.component.mjs +8 -8
- package/esm2020/lib/components/layout/menu-item.component.mjs +43 -23
- package/esm2020/lib/components/layout/menu.component.mjs +24 -13
- package/esm2020/lib/components/layout/services/main-layout.component.service.mjs +3 -3
- package/esm2020/lib/components/layout/topbar.component.mjs +14 -12
- package/esm2020/lib/components/layout/version.component.mjs +6 -6
- package/esm2020/lib/components/tableview/models/table.event.mjs +1 -1
- package/esm2020/lib/components/tableview/route/tableview-route.abstract.component.mjs +38 -10
- package/esm2020/lib/components/tableview/route/tableview-route.component.mjs +5 -6
- package/esm2020/lib/components/tableview/table/column-filter/column-filter.component.mjs +14 -13
- package/esm2020/lib/components/tableview/table/column-value/column-value.component.mjs +29 -12
- package/esm2020/lib/components/tableview/table/table.component.mjs +33 -17
- package/esm2020/lib/components/tableview/tableview.component.mjs +13 -11
- package/esm2020/lib/descriptors/action/action-button.descriptor.mjs +60 -0
- package/esm2020/lib/descriptors/action/action-confirmation.descriptor.mjs +2 -2
- package/esm2020/lib/descriptors/action/action.descriptor.mjs +579 -0
- package/esm2020/lib/descriptors/action/index.mjs +4 -0
- package/esm2020/lib/descriptors/editor/editor.descriptor.mjs +291 -0
- package/esm2020/lib/descriptors/editor/field-validation.descriptor.mjs +25 -0
- package/esm2020/lib/descriptors/editor/field.descriptor.mjs +990 -0
- package/esm2020/lib/descriptors/editor/index.mjs +4 -0
- package/esm2020/lib/descriptors/filter/filter.descriptor.mjs +370 -0
- package/esm2020/lib/descriptors/filter/index.mjs +2 -0
- package/esm2020/lib/descriptors/index.mjs +1 -11
- package/esm2020/lib/descriptors/table/column.descriptor.mjs +406 -0
- package/esm2020/lib/descriptors/table/index.mjs +3 -0
- package/esm2020/lib/descriptors/table/table.descriptor.mjs +497 -0
- package/esm2020/lib/descriptors/tableview/index.mjs +2 -0
- package/esm2020/lib/descriptors/tableview/tableview.descriptor.mjs +346 -0
- package/esm2020/lib/directives/component.directive.mjs +5 -4
- package/esm2020/lib/directives/template.directive.mjs +5 -4
- package/esm2020/lib/mng-commons.module.mjs +108 -138
- package/esm2020/lib/models/column-value.model.mjs +1 -1
- package/esm2020/lib/models/config.model.mjs +1 -1
- package/esm2020/lib/models/menu.model.mjs +1 -1
- package/esm2020/lib/models/view-container.model.mjs +1 -1
- package/esm2020/lib/pipes/boolean.pipe.mjs +5 -4
- package/esm2020/lib/pipes/class-map.pipe.mjs +5 -4
- package/esm2020/lib/pipes/enum.pipe.mjs +5 -4
- package/esm2020/lib/pipes/enumerate-async.pipe.mjs +5 -4
- package/esm2020/lib/pipes/enumerate.pipe.mjs +5 -4
- package/esm2020/lib/pipes/getter.pipe.mjs +5 -4
- package/esm2020/lib/pipes/i18n-property.pipe.mjs +5 -4
- package/esm2020/lib/pipes/json-path.pipe.mjs +5 -4
- package/esm2020/lib/pipes/locale-default-row-class.pipe.mjs +5 -4
- package/esm2020/lib/pipes/parametrize.pipe.mjs +5 -4
- package/esm2020/lib/pipes/template.pipe.mjs +5 -4
- package/esm2020/lib/provide-commons.mjs +73 -0
- package/esm2020/lib/router/index.mjs +2 -1
- package/esm2020/lib/router/models/router.model.mjs +1 -1
- package/esm2020/lib/router/route-builder.mjs +31 -144
- package/esm2020/lib/router/routes-builder.mjs +67 -0
- package/esm2020/lib/router/tableview-route-builder.mjs +2 -2
- package/esm2020/lib/security/authorization.guard.mjs +8 -5
- package/esm2020/lib/security/authorization.service.mjs +8 -5
- package/esm2020/lib/services/action-executor.service.mjs +13 -7
- package/esm2020/lib/services/commons.service.mjs +15 -10
- package/esm2020/lib/services/configuration.service.mjs +27 -20
- package/esm2020/lib/services/internal/commons-init.service.mjs +13 -7
- package/esm2020/lib/services/navigation.service.mjs +8 -5
- package/esm2020/lib/services/providers/config-service.provider.mjs +5 -4
- package/esm2020/lib/services/router.service.mjs +97 -0
- package/esm2020/lib/services/version.service.mjs +8 -5
- package/esm2020/lib/services/view-container.component.service.mjs +4 -4
- package/esm2020/lib/styles/styles.util.mjs +1 -1
- package/esm2020/lib/utils/action-data-provider.util.mjs +1 -1
- package/esm2020/lib/utils/editor-formly.util.mjs +2 -2
- package/esm2020/lib/utils/export.util.mjs +20 -0
- package/esm2020/lib/utils/i18n.util.mjs +1 -1
- package/esm2020/lib/utils/index.mjs +2 -1
- package/esm2020/lib/utils/notification.util.mjs +1 -1
- package/esm2020/lib/utils/route.util.mjs +13 -1
- package/esm2020/lib/utils/tableview.util.mjs +1 -1
- package/esm2020/public-api.mjs +7 -1
- package/fesm2015/mediusinc-mng-commons.mjs +6767 -6381
- package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
- package/fesm2020/mediusinc-mng-commons.mjs +6707 -6325
- package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
- package/lib/api/utils/medius-rest.util.d.ts +1 -1
- package/lib/components/action/action.component.d.ts +10 -5
- package/lib/components/action/editor/action-editor.component.d.ts +2 -2
- package/lib/components/action/localization/data-language-dropdown.component.d.ts +2 -2
- package/lib/components/action/models/action-component.model.d.ts +1 -1
- package/lib/components/action/models/action-confirmation-service.model.d.ts +1 -1
- package/lib/components/action/models/action-execution.model.d.ts +2 -2
- package/lib/components/action/route/action-route.component.d.ts +2 -2
- package/lib/components/form/autocomplete/autocomplete.component.d.ts +1 -1
- package/lib/components/form/date-range/date-range.component.d.ts +1 -1
- package/lib/components/form/dropdown/dropdown.component.d.ts +1 -1
- package/lib/components/form/editor/form-editor.component.d.ts +2 -2
- package/lib/components/form/formly/fields/formly-field-action/formly-field-action.component.d.ts +2 -2
- package/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +2 -2
- package/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +2 -2
- package/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts +2 -2
- package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts +2 -2
- package/lib/components/form/formly/fields/formly-field-label/formly-field-label.component.d.ts +1 -1
- package/lib/components/form/formly/fields/formly-field-lookup-dialog/formly-field-lookup-dialog.component.d.ts +2 -2
- package/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +3 -2
- package/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +2 -2
- package/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.d.ts +1 -1
- package/lib/components/form/formly/models/formly-field.model.d.ts +2 -2
- package/lib/components/form/formly/wrappers/formly-field-no-label-wrapper/formly-field-no-label-wrapper.component.d.ts +1 -1
- package/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts +2 -2
- package/lib/components/form/models/field-action-context.model.d.ts +1 -1
- package/lib/components/layout/breadcrumb.component.d.ts +1 -1
- package/lib/components/layout/footer.component.d.ts +1 -1
- package/lib/components/layout/main-layout.component.d.ts +1 -1
- package/lib/components/layout/menu-item.component.d.ts +6 -2
- package/lib/components/layout/menu.component.d.ts +9 -3
- package/lib/components/layout/topbar.component.d.ts +1 -1
- package/lib/components/layout/version.component.d.ts +1 -1
- package/lib/components/tableview/models/table.event.d.ts +1 -1
- package/lib/components/tableview/route/tableview-route.abstract.component.d.ts +9 -2
- package/lib/components/tableview/route/tableview-route.component.d.ts +3 -2
- package/lib/components/tableview/table/column-filter/column-filter.component.d.ts +2 -2
- package/lib/components/tableview/table/column-value/column-value.component.d.ts +2 -2
- package/lib/components/tableview/table/table.component.d.ts +4 -2
- package/lib/components/tableview/tableview.component.d.ts +3 -2
- package/lib/descriptors/{action-button.descriptor.d.ts → action/action-button.descriptor.d.ts} +1 -1
- package/lib/descriptors/action/action-confirmation.descriptor.d.ts +2 -2
- package/lib/descriptors/{action.descriptor.d.ts → action/action.descriptor.d.ts} +16 -8
- package/lib/descriptors/action/index.d.ts +3 -0
- package/lib/descriptors/{editor.descriptor.d.ts → editor/editor.descriptor.d.ts} +9 -6
- package/lib/descriptors/{field-validation.descriptor.d.ts → editor/field-validation.descriptor.d.ts} +1 -1
- package/lib/descriptors/{field.descriptor.d.ts → editor/field.descriptor.d.ts} +14 -10
- package/lib/descriptors/editor/index.d.ts +3 -0
- package/lib/descriptors/{filter.descriptor.d.ts → filter/filter.descriptor.d.ts} +11 -9
- package/lib/descriptors/filter/index.d.ts +1 -0
- package/lib/descriptors/index.d.ts +0 -10
- package/lib/descriptors/{column.descriptor.d.ts → table/column.descriptor.d.ts} +4 -4
- package/lib/descriptors/table/index.d.ts +2 -0
- package/lib/descriptors/{table.descriptor.d.ts → table/table.descriptor.d.ts} +12 -7
- package/lib/descriptors/tableview/index.d.ts +1 -0
- package/lib/descriptors/{tableview.descriptor.d.ts → tableview/tableview.descriptor.d.ts} +9 -7
- package/lib/directives/component.directive.d.ts +1 -1
- package/lib/directives/template.directive.d.ts +1 -1
- package/lib/mng-commons.module.d.ts +90 -88
- package/lib/models/column-value.model.d.ts +1 -1
- package/lib/models/config.model.d.ts +1 -0
- package/lib/models/menu.model.d.ts +1 -1
- package/lib/models/version.model.d.ts +1 -1
- package/lib/models/view-container.model.d.ts +1 -1
- package/lib/pipes/boolean.pipe.d.ts +1 -1
- package/lib/pipes/class-map.pipe.d.ts +1 -1
- package/lib/pipes/enum.pipe.d.ts +1 -1
- package/lib/pipes/enumerate-async.pipe.d.ts +1 -1
- package/lib/pipes/enumerate.pipe.d.ts +1 -1
- package/lib/pipes/getter.pipe.d.ts +1 -1
- package/lib/pipes/i18n-property.pipe.d.ts +1 -1
- package/lib/pipes/json-path.pipe.d.ts +1 -1
- package/lib/pipes/locale-default-row-class.pipe.d.ts +2 -2
- package/lib/pipes/parametrize.pipe.d.ts +1 -1
- package/lib/pipes/template.pipe.d.ts +1 -1
- package/lib/provide-commons.d.ts +3 -0
- package/lib/router/index.d.ts +1 -0
- package/lib/router/models/router.model.d.ts +5 -2
- package/lib/router/route-builder.d.ts +12 -48
- package/lib/router/routes-builder.d.ts +29 -0
- package/lib/router/tableview-route-builder.d.ts +2 -1
- package/lib/services/action-executor.service.d.ts +2 -1
- package/lib/services/commons.service.d.ts +3 -3
- package/lib/services/configuration.service.d.ts +4 -1
- package/lib/services/internal/commons-init.service.d.ts +4 -2
- package/lib/services/router.service.d.ts +22 -0
- package/lib/services/view-container.component.service.d.ts +1 -1
- package/lib/styles/styles.util.d.ts +2 -1
- package/lib/types/type.model.d.ts +8 -8
- package/lib/utils/editor-formly.util.d.ts +1 -1
- package/lib/utils/export.util.d.ts +5 -0
- package/lib/utils/i18n.util.d.ts +2 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/notification.util.d.ts +2 -1
- package/lib/utils/route.util.d.ts +55 -0
- package/lib/utils/tableview.util.d.ts +1 -1
- package/package.json +6 -6
- package/public-api.d.ts +6 -0
- package/scss/common/layout/_breadcrumb.scss +12 -2
- package/scss/common/layout/_exception.scss +1 -1
- package/scss/common/layout/_inlinemenu.scss +13 -0
- package/scss/common/layout/_login.scss +1 -0
- package/scss/common/layout/_rightmenu.scss +5 -0
- package/scss/common/layout/menu/_menu_common.scss +1 -1
- package/scss/common/theme/designer/_components.scss +4 -4
- package/scss/common/theme/designer/_mixins.scss +29 -0
- package/scss/common/theme/extensions/_datatable.scss +2 -2
- package/scss/common/variables/layout/_layout_dark.scss +0 -1
- package/scss/common/variables/layout/_layout_light.scss +0 -1
- package/scss/common/variables/theme/_theme_dark.scss +72 -46
- package/scss/common/variables/theme/_theme_light.scss +70 -33
- package/scss/mng-overrides/_layout_menu.scss +4 -0
- package/version-info.json +6 -6
- package/esm2020/lib/descriptors/action-button.descriptor.mjs +0 -60
- package/esm2020/lib/descriptors/action.descriptor.mjs +0 -560
- package/esm2020/lib/descriptors/column.descriptor.mjs +0 -405
- package/esm2020/lib/descriptors/editor.descriptor.mjs +0 -290
- package/esm2020/lib/descriptors/field-validation.descriptor.mjs +0 -25
- package/esm2020/lib/descriptors/field.descriptor.mjs +0 -987
- package/esm2020/lib/descriptors/filter.descriptor.mjs +0 -368
- package/esm2020/lib/descriptors/table.descriptor.mjs +0 -482
- package/esm2020/lib/descriptors/tableview.descriptor.mjs +0 -344
|
@@ -6,7 +6,9 @@ import { Table } from 'primeng/table';
|
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
7
|
import { MediusQueryResult } from '../../../api/models';
|
|
8
8
|
import { ITableDataProvider } from '../../../data-providers';
|
|
9
|
-
import { ActionDescriptor
|
|
9
|
+
import { ActionDescriptor } from '../../../descriptors/action';
|
|
10
|
+
import { ColumnDescriptor } from '../../../descriptors/table';
|
|
11
|
+
import { TableDescriptor } from '../../../descriptors/table';
|
|
10
12
|
import { TableFilterDisplayEnum } from '../../../descriptors/types';
|
|
11
13
|
import { MngComponentDirective, MngTemplateDirective } from '../../../directives';
|
|
12
14
|
import { IViewContainer } from '../../../models';
|
|
@@ -111,5 +113,5 @@ export declare class MngTableComponent<T, S> implements OnInit, OnChanges, After
|
|
|
111
113
|
private createSortMeta;
|
|
112
114
|
private initializeDataLoadingTriggers;
|
|
113
115
|
static ɵfac: i0.ɵɵFactoryDeclaration<MngTableComponent<any, any>, [null, null, null, null, null, null, { optional: true; }]>;
|
|
114
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MngTableComponent<any, any>, "mng-table", never, { "initialDescriptor": "descriptor"; "items": "items"; "queryResult": "queryResult"; "loading": "loading"; "dataProvider": "dataProvider"; "useQueryParams": "useQueryParams"; "selectionMode": "selectionMode"; "selectionEnabled": "selectionEnabled"; "actions": "actions"; "isColumnClickable": "isColumnClickable"; "viewContainerInit": "viewContainer"; "captionComponent": "captionComponent"; "columnActionComponent": "columnActionComponent"; "columnActionMinWidth": "columnActionMinWidth"; }, { "loadEventEmitter": "tableLoad"; "cellClickEventEmitter": "cellClick"; "selectionChangeEventEmitter": "selectionChange"; "captionCmpInstEventEmitter": "captionComponentInstance"; "columnActionCmpInstEventEmitter": "columnActionComponentInstance"; }, ["templates"], never,
|
|
116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MngTableComponent<any, any>, "mng-table", never, { "initialDescriptor": "descriptor"; "items": "items"; "queryResult": "queryResult"; "loading": "loading"; "dataProvider": "dataProvider"; "useQueryParams": "useQueryParams"; "selectionMode": "selectionMode"; "selectionEnabled": "selectionEnabled"; "actions": "actions"; "isColumnClickable": "isColumnClickable"; "viewContainerInit": "viewContainer"; "captionComponent": "captionComponent"; "columnActionComponent": "columnActionComponent"; "columnActionMinWidth": "columnActionMinWidth"; }, { "loadEventEmitter": "tableLoad"; "cellClickEventEmitter": "cellClick"; "selectionChangeEventEmitter": "selectionChange"; "captionCmpInstEventEmitter": "captionComponentInstance"; "columnActionCmpInstEventEmitter": "columnActionComponentInstance"; }, ["templates"], never, true, never>;
|
|
115
117
|
}
|
|
@@ -5,7 +5,8 @@ import { ConfirmationService, MessageService } from 'primeng/api';
|
|
|
5
5
|
import { DialogService } from 'primeng/dynamicdialog';
|
|
6
6
|
import { MediusQueryParam } from '../../api/models';
|
|
7
7
|
import { IDataProvider, ITableviewDataProvider } from '../../data-providers';
|
|
8
|
-
import { ActionDescriptor
|
|
8
|
+
import { ActionDescriptor } from '../../descriptors/action';
|
|
9
|
+
import { TableviewDescriptor } from '../../descriptors/tableview';
|
|
9
10
|
import { MngTemplateDirective } from '../../directives';
|
|
10
11
|
import { IViewContainer } from '../../models';
|
|
11
12
|
import { MngActionExecutorService, MngViewContainerComponentService } from '../../services';
|
|
@@ -44,5 +45,5 @@ export declare class MngTableviewComponent<T, S> implements OnInit, OnDestroy, A
|
|
|
44
45
|
onTableLoad(event: MngTableLoadEvent): void;
|
|
45
46
|
selectionChange(selectedItems: Array<T>): void;
|
|
46
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<MngTableviewComponent<any, any>, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MngTableviewComponent<any, any>, "mng-tableview", never, { "descriptor": "descriptor"; "dataProvider": "dataProvider"; "actions": "actions"; }, {}, ["templates"], never,
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MngTableviewComponent<any, any>, "mng-tableview", never, { "descriptor": "descriptor"; "dataProvider": "dataProvider"; "actions": "actions"; }, {}, ["templates"], never, true, never>;
|
|
48
49
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Confirmation } from 'primeng/api';
|
|
2
2
|
import { ActionContext } from '../../components/action/models';
|
|
3
|
-
import { ActionButtonDescriptor } from '
|
|
3
|
+
import { ActionButtonDescriptor } from './action-button.descriptor';
|
|
4
4
|
export declare class ActionConfirmationDialogDescriptor<T> {
|
|
5
5
|
private _icon?;
|
|
6
6
|
private _title?;
|
|
@@ -33,4 +33,4 @@ export declare class ActionConfirmationDialogDescriptor<T> {
|
|
|
33
33
|
get acceptButton(): ActionButtonDescriptor;
|
|
34
34
|
get rejectButton(): ActionButtonDescriptor | undefined;
|
|
35
35
|
}
|
|
36
|
-
export
|
|
36
|
+
export type ConfigurationConfigMapFn<T> = (ctx: ActionContext<T, any>, confirmConfig: Confirmation) => Confirmation;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
2
|
import { Params, QueryParamsHandling } from '@angular/router';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { ActionActivationTriggerEnum, ActionEditorSubmitTypeEnum, ActionPositionEnum, ActionTypeEnum } from '
|
|
4
|
+
import { ModelDescriptor } from '../';
|
|
5
|
+
import { ActionContext, ActionContextValidation, IActionComponent } from '../../components/action/models';
|
|
6
|
+
import { IDataProvider, IEditorDataProvider } from '../../data-providers';
|
|
7
|
+
import { APermissions } from '../../security/model';
|
|
8
|
+
import { StyleLevelEnum, StyleSizeEnum } from '../../styles/models';
|
|
9
|
+
import { ClassType, IdType } from '../../types';
|
|
10
|
+
import { EditorDescriptor } from '../editor';
|
|
11
|
+
import { ActionActivationTriggerEnum, ActionEditorSubmitTypeEnum, ActionPositionEnum, ActionTypeEnum } from '../types';
|
|
12
|
+
import { ActionButtonDescriptor } from './action-button.descriptor';
|
|
13
|
+
import { ActionConfirmationDialogDescriptor } from './action-confirmation.descriptor';
|
|
12
14
|
export declare class ActionDescriptor<T> {
|
|
13
15
|
protected readonly _model: ModelDescriptor<T> | null;
|
|
14
16
|
protected readonly _actionName: string;
|
|
@@ -41,6 +43,8 @@ export declare class ActionDescriptor<T> {
|
|
|
41
43
|
protected _button: ActionButtonDescriptor;
|
|
42
44
|
protected _hasItemsSelection: boolean;
|
|
43
45
|
protected _component?: Type<IActionComponent<T>>;
|
|
46
|
+
protected _subactionsAsMenu: boolean;
|
|
47
|
+
protected _subactions: Array<ActionDescriptor<T>>;
|
|
44
48
|
constructor(model: ModelDescriptor<T> | null, actionName: string, parentType?: ClassType<unknown>, parentProperty?: string);
|
|
45
49
|
get model(): ModelDescriptor<T> | null;
|
|
46
50
|
get parentTypeName(): string | undefined;
|
|
@@ -75,6 +79,8 @@ export declare class ActionDescriptor<T> {
|
|
|
75
79
|
get button(): ActionButtonDescriptor;
|
|
76
80
|
get component(): Type<IActionComponent<T>> | undefined;
|
|
77
81
|
get positionTableviewCategories(): string[] | undefined;
|
|
82
|
+
get subactionsAsMenu(): boolean;
|
|
83
|
+
get subactions(): ActionDescriptor<T>[];
|
|
78
84
|
protected setI18nModelActionBaseKey(base?: string): void;
|
|
79
85
|
withDataProvider(dataProvider: IDataProvider<T, any>): this;
|
|
80
86
|
withServiceType<S>(serviceType: Type<S>): this;
|
|
@@ -104,6 +110,8 @@ export declare class ActionDescriptor<T> {
|
|
|
104
110
|
withComponent(component: Type<IActionComponent<T>>): this;
|
|
105
111
|
withPositionTableviewCategories(positionTableviewCategories: string[]): this;
|
|
106
112
|
withI18nBase(base: ClassType<unknown> | string): this;
|
|
113
|
+
withSubactionsAsMenu(): this;
|
|
114
|
+
withSubactions(...subactions: Array<ActionDescriptor<T>>): this;
|
|
107
115
|
}
|
|
108
116
|
export declare class ActionSimpleDescriptor<T> extends ActionDescriptor<T> {
|
|
109
117
|
constructor(actionName: string, modelType?: ClassType<T>, idProperty?: string, titleProperty?: string, i18nBaseKey?: string | ClassType<unknown>);
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { MediusQueryParam } from '
|
|
3
|
-
import { ILookupDataProvider } from '
|
|
4
|
-
import { TableviewAttributeDef } from '
|
|
5
|
-
import { ClassType, EnumConstantType, EnumType, MngFieldValidationMessage, MngFieldValidator } from '
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
2
|
+
import { MediusQueryParam } from '../../api/models';
|
|
3
|
+
import { ILookupDataProvider } from '../../data-providers';
|
|
4
|
+
import { TableviewAttributeDef } from '../../models/tableview-attr.model';
|
|
5
|
+
import { ClassType, EnumConstantType, EnumType, MngFieldValidationMessage, MngFieldValidator } from '../../types';
|
|
6
|
+
import { ModelDescriptor } from '../model.descriptor';
|
|
7
|
+
import { TableDescriptor } from '../table';
|
|
8
|
+
import { TableviewDescriptor } from '../tableview';
|
|
9
|
+
import { FieldInputTypeEnum, TableviewEditorTypeEnum } from '../types';
|
|
10
|
+
import { AFieldDescriptor, FieldActionDescriptor, FieldGroupDescriptor, FieldInputDescriptor, FieldLookupDescriptor, FieldLookupEnumDescriptor, FieldManyEditorDescriptor, FieldManyToManyEditorDescriptor, FieldTabGroupDescriptor } from './field.descriptor';
|
|
8
11
|
export declare class EditorDescriptor<T> {
|
|
9
12
|
static readonly defaultGroupName = "_default";
|
|
10
13
|
protected readonly _model: ModelDescriptor<T>;
|
package/lib/descriptors/{field-validation.descriptor.d.ts → editor/field-validation.descriptor.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { MngFieldAsyncValidator, MngFieldValidationMessage, MngFieldValidator } from '
|
|
3
|
+
import { MngFieldAsyncValidator, MngFieldValidationMessage, MngFieldValidator } from '../../types';
|
|
4
4
|
export declare class FieldValidationDescriptor {
|
|
5
5
|
private readonly _name;
|
|
6
6
|
private readonly _validator?;
|
|
@@ -2,16 +2,20 @@ import { Type } from '@angular/core';
|
|
|
2
2
|
import { AbstractControl } from '@angular/forms';
|
|
3
3
|
import { FormlyFieldConfig } from '@ngx-formly/core';
|
|
4
4
|
import { Observable, Subject } from 'rxjs';
|
|
5
|
-
import { MediusQueryParam, MediusQueryResult } from '
|
|
6
|
-
import { MngFormFieldEvent, MngFormFieldEventData, MngFormFieldEventTypeEnum } from '
|
|
7
|
-
import { FieldActionContext } from '
|
|
8
|
-
import { ILookupDataProvider, ITableDataProvider } from '
|
|
9
|
-
import { EnumValue } from '
|
|
10
|
-
import { StyleLevelEnum } from '
|
|
11
|
-
import { ClassType, EnumConstantType, EnumType, MngFieldAsyncValidator, MngFieldValidationMessage, MngFieldValidator } from '
|
|
12
|
-
import { ActionButtonDescriptor, ActionDescriptor
|
|
13
|
-
import { FieldConfig, FieldLookupConfig, ILookupDescriptor } from '
|
|
14
|
-
import {
|
|
5
|
+
import { MediusQueryParam, MediusQueryResult } from '../../api/models';
|
|
6
|
+
import { MngFormFieldEvent, MngFormFieldEventData, MngFormFieldEventTypeEnum } from '../../components/form/models';
|
|
7
|
+
import { FieldActionContext } from '../../components/form/models/field-action-context.model';
|
|
8
|
+
import { ILookupDataProvider, ITableDataProvider } from '../../data-providers';
|
|
9
|
+
import { EnumValue } from '../../models';
|
|
10
|
+
import { StyleLevelEnum } from '../../styles/models';
|
|
11
|
+
import { ClassType, EnumConstantType, EnumType, MngFieldAsyncValidator, MngFieldValidationMessage, MngFieldValidator } from '../../types';
|
|
12
|
+
import { ActionButtonDescriptor, ActionDescriptor } from '../action';
|
|
13
|
+
import { FieldConfig, FieldLookupConfig, ILookupDescriptor } from '../interfaces';
|
|
14
|
+
import { TableDescriptor } from '../table';
|
|
15
|
+
import { TableviewDescriptor } from '../tableview';
|
|
16
|
+
import { FieldGroupTypeEnum, FieldInputTypeEnum, FieldLookupTypeEnum, FieldManyEditorActionEnum, FieldManyEditorTypeEnum, FieldManyToManyEditorActionEnum, FieldManyToManyEditorTypeEnum, FieldSizeEnum } from '../types';
|
|
17
|
+
import { EditorDescriptor } from './editor.descriptor';
|
|
18
|
+
import { FieldValidationDescriptor } from './field-validation.descriptor';
|
|
15
19
|
export declare abstract class AGenericFieldDescriptor<ET> {
|
|
16
20
|
protected readonly _editor: EditorDescriptor<ET>;
|
|
17
21
|
protected _config: FieldConfig;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { MediusQueryParam } from '
|
|
4
|
-
import { ILookupDataProvider } from '
|
|
5
|
-
import { EnumValue } from '
|
|
6
|
-
import { ClassType, EnumConstantType, EnumType } from '
|
|
7
|
-
import { ILookupDescriptor } from '
|
|
8
|
-
import { FilterLookupTypeEnum, FilterMatchModeEnum, FilterTypeEnum } from '
|
|
3
|
+
import { MediusQueryParam } from '../../api/models';
|
|
4
|
+
import { ILookupDataProvider } from '../../data-providers';
|
|
5
|
+
import { EnumValue } from '../../models';
|
|
6
|
+
import { ClassType, EnumConstantType, EnumType } from '../../types';
|
|
7
|
+
import { ILookupDescriptor } from '../interfaces';
|
|
8
|
+
import { FilterLookupTypeEnum, FilterMatchModeEnum, FilterTypeEnum } from '../types';
|
|
9
9
|
export declare class FilterDescriptor<T> {
|
|
10
10
|
protected readonly _property: string;
|
|
11
11
|
protected _filterType: FilterTypeEnum;
|
|
@@ -92,9 +92,11 @@ export declare class FilterLookupDescriptor<T> extends FilterDescriptor<T> imple
|
|
|
92
92
|
withItemsLabelProperty(itemsLabelProperty: string, translate?: boolean): this;
|
|
93
93
|
withItemsValueProperty(itemsValueProperty: string): this;
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
95
|
+
* Method will set `itemsValueProperty`, because dataKeys are not supported here as filters need final value to work correctly.
|
|
96
|
+
* Use `withItemsValueProperty` instead.
|
|
97
|
+
* @param itemsValueProperty Item's value property.
|
|
96
98
|
*/
|
|
97
|
-
withDataKeyProperty(
|
|
99
|
+
withDataKeyProperty(itemsValueProperty: string): this;
|
|
98
100
|
withLookup<S>(lookup: (queryParam?: MediusQueryParam, service?: S, search?: string) => Observable<Array<T>>, serviceType?: Type<S>): this;
|
|
99
101
|
withLookupDataProvider(dataProvider: ILookupDataProvider<T, any>): this;
|
|
100
102
|
withMultiselect(multiselect?: boolean): this;
|
|
@@ -112,7 +114,7 @@ export declare class FilterLookupEnumDescriptor extends FilterLookupDescriptor<E
|
|
|
112
114
|
get enumType(): EnumType;
|
|
113
115
|
asAutocomplete(openOnFocus?: boolean): this;
|
|
114
116
|
withMultiselectEnum(multiselect?: boolean): FilterLookupEnumDescriptor;
|
|
115
|
-
withDefaultFilter(
|
|
117
|
+
withDefaultFilter(): this;
|
|
116
118
|
withDefaultFilterEnum(filterValue: EnumConstantType | EnumConstantType[], filterValueTo?: EnumConstantType, filterMatchMode?: FilterMatchModeEnum): this;
|
|
117
119
|
copy(): FilterLookupEnumDescriptor;
|
|
118
120
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './filter.descriptor';
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
export * from './action.descriptor';
|
|
2
|
-
export * from './column.descriptor';
|
|
3
|
-
export * from './editor.descriptor';
|
|
4
|
-
export * from './field.descriptor';
|
|
5
|
-
export * from './field-validation.descriptor';
|
|
6
|
-
export * from './filter.descriptor';
|
|
7
1
|
export * from './model.descriptor';
|
|
8
|
-
export * from './table.descriptor';
|
|
9
|
-
export * from './tableview.descriptor';
|
|
10
|
-
export * from './action-button.descriptor';
|
|
11
|
-
export * from './action/action-confirmation.descriptor';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
|
-
import { IColumnValueComponent } from '
|
|
3
|
-
import { ClassType, EnumConstantType, EnumType } from '
|
|
4
|
-
import { FilterDescriptor, FilterLookupDescriptor, FilterLookupEnumDescriptor } from '
|
|
2
|
+
import { IColumnValueComponent } from '../../models';
|
|
3
|
+
import { ClassType, EnumConstantType, EnumType } from '../../types';
|
|
4
|
+
import { FilterDescriptor, FilterLookupDescriptor, FilterLookupEnumDescriptor } from '../filter';
|
|
5
|
+
import { ColumnDisplayTypeEnum, ColumnTypeEnum } from '../types';
|
|
5
6
|
import { TableDescriptor, TableDynamicDescriptor } from './table.descriptor';
|
|
6
|
-
import { ColumnDisplayTypeEnum, ColumnTypeEnum } from './types';
|
|
7
7
|
export declare class ColumnDescriptor<T, TT> {
|
|
8
8
|
protected readonly _table: TableDescriptor<TT>;
|
|
9
9
|
protected readonly _property: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
|
-
import { MediusQueryResult } from '
|
|
3
|
-
import { ILookupDataProvider } from '
|
|
4
|
-
import { IColumnValueComponent } from '
|
|
5
|
-
import { TableviewAttributeDef } from '
|
|
6
|
-
import { ClassType, EnumType } from '
|
|
2
|
+
import { MediusQueryResult } from '../../api/models';
|
|
3
|
+
import { ILookupDataProvider } from '../../data-providers';
|
|
4
|
+
import { IColumnValueComponent } from '../../models';
|
|
5
|
+
import { TableviewAttributeDef } from '../../models/tableview-attr.model';
|
|
6
|
+
import { ClassType, EnumType } from '../../types';
|
|
7
|
+
import { ModelDescriptor } from '../model.descriptor';
|
|
8
|
+
import { ColumnDisplayTypeEnum, ColumnTypeEnum, TableDynamicColumnsModeEnum, TableFilterDisplayEnum, TablePaginationModeEnum, TableSizeEnum } from '../types';
|
|
7
9
|
import { ColumnDescriptor, ColumnDynamicDescriptor } from './column.descriptor';
|
|
8
|
-
import { ModelDescriptor } from './model.descriptor';
|
|
9
|
-
import { ColumnDisplayTypeEnum, ColumnTypeEnum, TableDynamicColumnsModeEnum, TableFilterDisplayEnum, TablePaginationModeEnum, TableSizeEnum } from './types';
|
|
10
10
|
export declare class TableDescriptor<T> {
|
|
11
11
|
private readonly _model;
|
|
12
12
|
private _modelType;
|
|
@@ -27,6 +27,8 @@ export declare class TableDescriptor<T> {
|
|
|
27
27
|
private _rowHeight?;
|
|
28
28
|
private _hasHover;
|
|
29
29
|
private _hasGridlines;
|
|
30
|
+
private _hasResizableColumns;
|
|
31
|
+
private _columnResizeMode;
|
|
30
32
|
private _headerClassName?;
|
|
31
33
|
private _rowClassName?;
|
|
32
34
|
private _rowClassNameMapFn?;
|
|
@@ -67,6 +69,8 @@ export declare class TableDescriptor<T> {
|
|
|
67
69
|
get rowHeight(): number | undefined;
|
|
68
70
|
get hasHover(): boolean;
|
|
69
71
|
get hasGridlines(): boolean;
|
|
72
|
+
get hasResizableColumns(): boolean;
|
|
73
|
+
get columnResizeMode(): "fit" | "expand";
|
|
70
74
|
get rowClassName(): string | undefined;
|
|
71
75
|
get rowClassNameMapFn(): ((className?: string | undefined, item?: T | undefined) => string) | undefined;
|
|
72
76
|
get headerClassName(): string | undefined;
|
|
@@ -94,6 +98,7 @@ export declare class TableDescriptor<T> {
|
|
|
94
98
|
withRowHeight(rowHeight: number): this;
|
|
95
99
|
withHover(hover: boolean): this;
|
|
96
100
|
withGridlines(gridlines: boolean): this;
|
|
101
|
+
withResizableColumns(resizableColumns?: boolean, columnResizeMode?: 'fit' | 'expand'): this;
|
|
97
102
|
withRowClassName(rowClassName?: string, classNameMapFn?: (className?: string, item?: T) => string): this;
|
|
98
103
|
withHeaderClassName(headerClassName: string): this;
|
|
99
104
|
withLocalized(): this;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './tableview.descriptor';
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
2
|
import { FieldValidatorFn } from '@ngx-formly/core/lib/models/config';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { MediusQueryParam } from '
|
|
5
|
-
import { ILookupDataProvider } from '
|
|
6
|
-
import { IColumnValueComponent } from '
|
|
7
|
-
import { TableviewAttributeDef } from '
|
|
8
|
-
import { ClassType, EnumConstantType, EnumType } from '
|
|
9
|
-
import { AFieldDescriptor,
|
|
10
|
-
import {
|
|
4
|
+
import { MediusQueryParam } from '../../api/models';
|
|
5
|
+
import { ILookupDataProvider } from '../../data-providers';
|
|
6
|
+
import { IColumnValueComponent } from '../../models';
|
|
7
|
+
import { TableviewAttributeDef } from '../../models/tableview-attr.model';
|
|
8
|
+
import { ClassType, EnumConstantType, EnumType } from '../../types';
|
|
9
|
+
import { AFieldDescriptor, EditorDescriptor, FieldInputDescriptor, FieldLookupDescriptor, FieldLookupEnumDescriptor, FieldManyEditorDescriptor, FieldManyToManyEditorDescriptor } from '../editor';
|
|
10
|
+
import { ModelDescriptor } from '../model.descriptor';
|
|
11
|
+
import { ColumnDescriptor, TableDescriptor, TableDynamicDescriptor } from '../table';
|
|
12
|
+
import { ColumnDisplayTypeEnum, ColumnTypeEnum, FieldInputTypeEnum, TableviewEditorTypeEnum } from '../types';
|
|
11
13
|
export declare class TableviewDescriptor<T> {
|
|
12
14
|
private readonly _model;
|
|
13
15
|
private _modelType;
|
|
@@ -12,5 +12,5 @@ export declare class MngComponentDirective<C> implements OnInit {
|
|
|
12
12
|
ngOnInit(): void;
|
|
13
13
|
private isCmpInstanceOfColumnValue;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<MngComponentDirective<any>, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MngComponentDirective<any>, "[mngComponent]", never, { "component": "mngComponent"; "inputs": "inputs"; }, { "componentInstanceEventEmitter": "instanceCreated"; }, never, never,
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MngComponentDirective<any>, "[mngComponent]", never, { "component": "mngComponent"; "inputs": "inputs"; }, { "componentInstanceEventEmitter": "instanceCreated"; }, never, never, true, never>;
|
|
16
16
|
}
|
|
@@ -9,5 +9,5 @@ export declare class MngTemplateDirective {
|
|
|
9
9
|
getType(): string;
|
|
10
10
|
getViewContainerRef(): ViewContainerRef;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<MngTemplateDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MngTemplateDirective, "[mngTemplate]", never, { "type": "type"; "name": "mngTemplate"; }, {}, never, never,
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MngTemplateDirective, "[mngTemplate]", never, { "type": "type"; "name": "mngTemplate"; }, {}, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -1,97 +1,99 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { RippleModule } from 'primeng/ripple';
|
|
3
3
|
import { MngModuleConfig } from './models';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "
|
|
6
|
-
import * as i2 from "
|
|
7
|
-
import * as i3 from "
|
|
8
|
-
import * as i4 from "
|
|
9
|
-
import * as i5 from "
|
|
10
|
-
import * as i6 from "
|
|
11
|
-
import * as i7 from "
|
|
12
|
-
import * as i8 from "
|
|
13
|
-
import * as i9 from "
|
|
14
|
-
import * as i10 from "
|
|
15
|
-
import * as i11 from "
|
|
16
|
-
import * as i12 from "
|
|
17
|
-
import * as i13 from "
|
|
18
|
-
import * as i14 from "
|
|
19
|
-
import * as i15 from "
|
|
20
|
-
import * as i16 from "
|
|
21
|
-
import * as i17 from "
|
|
22
|
-
import * as i18 from "
|
|
23
|
-
import * as i19 from "
|
|
24
|
-
import * as i20 from "
|
|
25
|
-
import * as i21 from "
|
|
26
|
-
import * as i22 from "
|
|
27
|
-
import * as i23 from "
|
|
28
|
-
import * as i24 from "
|
|
29
|
-
import * as i25 from "
|
|
30
|
-
import * as i26 from "
|
|
31
|
-
import * as i27 from "
|
|
32
|
-
import * as i28 from "
|
|
33
|
-
import * as i29 from "
|
|
34
|
-
import * as i30 from "
|
|
35
|
-
import * as i31 from "
|
|
36
|
-
import * as i32 from "
|
|
37
|
-
import * as i33 from "
|
|
38
|
-
import * as i34 from "
|
|
39
|
-
import * as i35 from "
|
|
40
|
-
import * as i36 from "
|
|
41
|
-
import * as i37 from "
|
|
42
|
-
import * as i38 from "
|
|
43
|
-
import * as i39 from "
|
|
44
|
-
import * as i40 from "
|
|
45
|
-
import * as i41 from "
|
|
46
|
-
import * as i42 from "
|
|
47
|
-
import * as i43 from "
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "@angular/router";
|
|
7
|
+
import * as i3 from "@angular/common/http";
|
|
8
|
+
import * as i4 from "@angular/forms";
|
|
9
|
+
import * as i5 from "@ngx-translate/core";
|
|
10
|
+
import * as i6 from "@ngx-formly/core";
|
|
11
|
+
import * as i7 from "primeng/autocomplete";
|
|
12
|
+
import * as i8 from "primeng/breadcrumb";
|
|
13
|
+
import * as i9 from "primeng/button";
|
|
14
|
+
import * as i10 from "primeng/calendar";
|
|
15
|
+
import * as i11 from "primeng/card";
|
|
16
|
+
import * as i12 from "primeng/checkbox";
|
|
17
|
+
import * as i13 from "primeng/chip";
|
|
18
|
+
import * as i14 from "primeng/confirmdialog";
|
|
19
|
+
import * as i15 from "primeng/confirmpopup";
|
|
20
|
+
import * as i16 from "primeng/dialog";
|
|
21
|
+
import * as i17 from "primeng/dynamicdialog";
|
|
22
|
+
import * as i18 from "primeng/dropdown";
|
|
23
|
+
import * as i19 from "primeng/fileupload";
|
|
24
|
+
import * as i20 from "primeng/inputnumber";
|
|
25
|
+
import * as i21 from "primeng/inputmask";
|
|
26
|
+
import * as i22 from "primeng/inputswitch";
|
|
27
|
+
import * as i23 from "primeng/inputtext";
|
|
28
|
+
import * as i24 from "primeng/inputtextarea";
|
|
29
|
+
import * as i25 from "primeng/paginator";
|
|
30
|
+
import * as i26 from "primeng/radiobutton";
|
|
31
|
+
import * as i27 from "primeng/ripple";
|
|
32
|
+
import * as i28 from "primeng/selectbutton";
|
|
33
|
+
import * as i29 from "primeng/splitbutton";
|
|
34
|
+
import * as i30 from "primeng/table";
|
|
35
|
+
import * as i31 from "primeng/tag";
|
|
36
|
+
import * as i32 from "primeng/toast";
|
|
37
|
+
import * as i33 from "primeng/togglebutton";
|
|
38
|
+
import * as i34 from "primeng/toolbar";
|
|
39
|
+
import * as i35 from "primeng/tooltip";
|
|
40
|
+
import * as i36 from "primeng/messages";
|
|
41
|
+
import * as i37 from "primeng/progressspinner";
|
|
42
|
+
import * as i38 from "primeng/tabview";
|
|
43
|
+
import * as i39 from "primeng/fieldset";
|
|
44
|
+
import * as i40 from "primeng/multiselect";
|
|
45
|
+
import * as i41 from "primeng/skeleton";
|
|
46
|
+
import * as i42 from "primeng/slidemenu";
|
|
47
|
+
import * as i43 from "primeng/image";
|
|
48
48
|
import * as i44 from "./components/action/route/action-route.component";
|
|
49
|
-
import * as i45 from "./
|
|
50
|
-
import * as i46 from "
|
|
51
|
-
import * as i47 from "
|
|
52
|
-
import * as i48 from "
|
|
53
|
-
import * as i49 from "
|
|
54
|
-
import * as i50 from "
|
|
55
|
-
import * as i51 from "
|
|
56
|
-
import * as i52 from "
|
|
57
|
-
import * as i53 from "
|
|
58
|
-
import * as i54 from "
|
|
59
|
-
import * as i55 from "
|
|
60
|
-
import * as i56 from "
|
|
61
|
-
import * as i57 from "
|
|
62
|
-
import * as i58 from "
|
|
63
|
-
import * as i59 from "
|
|
64
|
-
import * as i60 from "
|
|
65
|
-
import * as i61 from "
|
|
66
|
-
import * as i62 from "
|
|
67
|
-
import * as i63 from "
|
|
68
|
-
import * as i64 from "
|
|
69
|
-
import * as i65 from "
|
|
70
|
-
import * as i66 from "
|
|
71
|
-
import * as i67 from "
|
|
72
|
-
import * as i68 from "
|
|
73
|
-
import * as i69 from "
|
|
74
|
-
import * as i70 from "
|
|
75
|
-
import * as i71 from "
|
|
76
|
-
import * as i72 from "
|
|
77
|
-
import * as i73 from "
|
|
78
|
-
import * as i74 from "
|
|
79
|
-
import * as i75 from "
|
|
80
|
-
import * as i76 from "
|
|
81
|
-
import * as i77 from "
|
|
82
|
-
import * as i78 from "
|
|
83
|
-
import * as i79 from "
|
|
84
|
-
import * as i80 from "
|
|
85
|
-
import * as i81 from "
|
|
86
|
-
import * as i82 from "
|
|
87
|
-
import * as i83 from "
|
|
88
|
-
import * as i84 from "
|
|
89
|
-
import * as i85 from "
|
|
90
|
-
import * as i86 from "
|
|
91
|
-
|
|
49
|
+
import * as i45 from "./directives/component.directive";
|
|
50
|
+
import * as i46 from "./directives/template.directive";
|
|
51
|
+
import * as i47 from "./pipes/json-path.pipe";
|
|
52
|
+
import * as i48 from "./pipes/enum.pipe";
|
|
53
|
+
import * as i49 from "./pipes/boolean.pipe";
|
|
54
|
+
import * as i50 from "./pipes/i18n-property.pipe";
|
|
55
|
+
import * as i51 from "./pipes/parametrize.pipe";
|
|
56
|
+
import * as i52 from "./pipes/getter.pipe";
|
|
57
|
+
import * as i53 from "./pipes/template.pipe";
|
|
58
|
+
import * as i54 from "./pipes/class-map.pipe";
|
|
59
|
+
import * as i55 from "./pipes/enumerate.pipe";
|
|
60
|
+
import * as i56 from "./pipes/enumerate-async.pipe";
|
|
61
|
+
import * as i57 from "./pipes/locale-default-row-class.pipe";
|
|
62
|
+
import * as i58 from "./components/layout/breadcrumb.component";
|
|
63
|
+
import * as i59 from "./components/layout/footer.component";
|
|
64
|
+
import * as i60 from "./components/layout/main-layout.component";
|
|
65
|
+
import * as i61 from "./components/layout/menu.component";
|
|
66
|
+
import * as i62 from "./components/layout/menu-item.component";
|
|
67
|
+
import * as i63 from "./components/layout/topbar.component";
|
|
68
|
+
import * as i64 from "./components/layout/version.component";
|
|
69
|
+
import * as i65 from "./components/form/autocomplete/autocomplete.component";
|
|
70
|
+
import * as i66 from "./components/form/dropdown/dropdown.component";
|
|
71
|
+
import * as i67 from "./components/form/date-range/date-range.component";
|
|
72
|
+
import * as i68 from "./components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component";
|
|
73
|
+
import * as i69 from "./components/form/formly/wrappers/formly-field-no-label-wrapper/formly-field-no-label-wrapper.component";
|
|
74
|
+
import * as i70 from "./components/form/formly/fields/formly-field-input/formly-field-input.component";
|
|
75
|
+
import * as i71 from "./components/form/formly/fields/formly-field-label/formly-field-label.component";
|
|
76
|
+
import * as i72 from "./components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component";
|
|
77
|
+
import * as i73 from "./components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component";
|
|
78
|
+
import * as i74 from "./components/form/formly/fields/formly-field-lookup-dialog/formly-field-lookup-dialog.component";
|
|
79
|
+
import * as i75 from "./components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component";
|
|
80
|
+
import * as i76 from "./components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component";
|
|
81
|
+
import * as i77 from "./components/form/formly/fields/formly-field-tabs/formly-field-tabs.component";
|
|
82
|
+
import * as i78 from "./components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component";
|
|
83
|
+
import * as i79 from "./components/form/formly/fields/formly-field-action/formly-field-action.component";
|
|
84
|
+
import * as i80 from "./components/tableview/table/table.component";
|
|
85
|
+
import * as i81 from "./components/tableview/tableview.component";
|
|
86
|
+
import * as i82 from "./components/tableview/table/column-value/column-value.component";
|
|
87
|
+
import * as i83 from "./components/tableview/table/column-filter/column-filter.component";
|
|
88
|
+
import * as i84 from "./components/tableview/route/tableview-route.component";
|
|
89
|
+
import * as i85 from "./components/form/editor/form-editor.component";
|
|
90
|
+
import * as i86 from "./components/action/action.component";
|
|
91
|
+
import * as i87 from "./components/action/editor/action-editor.component";
|
|
92
|
+
import * as i88 from "./components/action/localization/data-language-dropdown.component";
|
|
93
|
+
export declare const primeNgModules: (typeof RippleModule)[];
|
|
92
94
|
export declare class MngCommonsModule {
|
|
93
95
|
static forRoot(config: MngModuleConfig): ModuleWithProviders<MngCommonsModule>;
|
|
94
96
|
static ɵfac: i0.ɵɵFactoryDeclaration<MngCommonsModule, never>;
|
|
95
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MngCommonsModule, [typeof i1.
|
|
97
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MngCommonsModule, never, [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.HttpClientModule, typeof i4.ReactiveFormsModule, typeof i5.TranslateModule, typeof i6.FormlyModule, typeof i7.AutoCompleteModule, typeof i8.BreadcrumbModule, typeof i9.ButtonModule, typeof i10.CalendarModule, typeof i11.CardModule, typeof i12.CheckboxModule, typeof i13.ChipModule, typeof i14.ConfirmDialogModule, typeof i15.ConfirmPopupModule, typeof i16.DialogModule, typeof i17.DynamicDialogModule, typeof i18.DropdownModule, typeof i19.FileUploadModule, typeof i20.InputNumberModule, typeof i21.InputMaskModule, typeof i22.InputSwitchModule, typeof i23.InputTextModule, typeof i24.InputTextareaModule, typeof i25.PaginatorModule, typeof i26.RadioButtonModule, typeof i27.RippleModule, typeof i28.SelectButtonModule, typeof i29.SplitButtonModule, typeof i30.TableModule, typeof i31.TagModule, typeof i32.ToastModule, typeof i33.ToggleButtonModule, typeof i34.ToolbarModule, typeof i35.TooltipModule, typeof i36.MessagesModule, typeof i37.ProgressSpinnerModule, typeof i38.TabViewModule, typeof i39.FieldsetModule, typeof i40.MultiSelectModule, typeof i41.SkeletonModule, typeof i42.SlideMenuModule, typeof i43.ImageModule, typeof i44.MngActionRouteComponent, typeof i45.MngComponentDirective, typeof i46.MngTemplateDirective, typeof i47.JsonPathPipe, typeof i48.MngEnumPipe, typeof i49.MngBooleanPipe, typeof i50.MngI18nPropertyPipe, typeof i51.MngParametrizePipe, typeof i52.MngGetterPipe, typeof i53.MngTemplatePipe, typeof i54.MngClassMapPipe, typeof i55.MngEnumeratePipe, typeof i56.MngEnumerateAsyncPipe, typeof i57.MngLocaleDefaultRowClassPipe, typeof i58.MngBreadcrumbComponent, typeof i59.MngFooterComponent, typeof i60.MngMainLayoutComponent, typeof i61.MngMenuComponent, typeof i62.MngMenuItemComponent, typeof i63.MngTopbarComponent, typeof i64.MngVersionComponent, typeof i65.MngAutocompleteComponent, typeof i66.MngDropdownComponent, typeof i67.MngDateRangeComponent, typeof i68.MngFormlyFieldWrapperComponent, typeof i69.MngFormlyFieldNoLabelWrapperComponent, typeof i70.MngFormlyFieldInputComponent, typeof i71.MngFormlyFieldLabelComponent, typeof i72.MngFormlyFieldDropdownComponent, typeof i73.MngFormlyFieldAutocompleteComponent, typeof i74.MngFormlyFieldLookupDialogComponent, typeof i75.MngFormlyFieldTableDialogMultiselectComponent, typeof i76.MngFormlyFieldTableDialogFormComponent, typeof i77.MngFormlyFieldTabsComponent, typeof i78.MngFormlyFieldFieldsetComponent, typeof i79.MngFormlyFieldActionComponent, typeof i80.MngTableComponent, typeof i81.MngTableviewComponent, typeof i82.MngTableColumnValueComponent, typeof i83.MngTableColumnFilterComponent, typeof i84.MngTableviewRouteComponent, typeof i85.MngFormEditorComponent, typeof i86.MngActionComponent, typeof i87.MngActionEditorComponent, typeof i88.MngDataLanguageDropdownComponent], [typeof i7.AutoCompleteModule, typeof i8.BreadcrumbModule, typeof i9.ButtonModule, typeof i10.CalendarModule, typeof i11.CardModule, typeof i12.CheckboxModule, typeof i13.ChipModule, typeof i14.ConfirmDialogModule, typeof i15.ConfirmPopupModule, typeof i16.DialogModule, typeof i17.DynamicDialogModule, typeof i18.DropdownModule, typeof i19.FileUploadModule, typeof i20.InputNumberModule, typeof i21.InputMaskModule, typeof i22.InputSwitchModule, typeof i23.InputTextModule, typeof i24.InputTextareaModule, typeof i25.PaginatorModule, typeof i26.RadioButtonModule, typeof i27.RippleModule, typeof i28.SelectButtonModule, typeof i29.SplitButtonModule, typeof i30.TableModule, typeof i31.TagModule, typeof i32.ToastModule, typeof i33.ToggleButtonModule, typeof i34.ToolbarModule, typeof i35.TooltipModule, typeof i36.MessagesModule, typeof i37.ProgressSpinnerModule, typeof i38.TabViewModule, typeof i39.FieldsetModule, typeof i40.MultiSelectModule, typeof i41.SkeletonModule, typeof i42.SlideMenuModule, typeof i44.MngActionRouteComponent, typeof i45.MngComponentDirective, typeof i46.MngTemplateDirective, typeof i47.JsonPathPipe, typeof i48.MngEnumPipe, typeof i49.MngBooleanPipe, typeof i50.MngI18nPropertyPipe, typeof i51.MngParametrizePipe, typeof i52.MngGetterPipe, typeof i53.MngTemplatePipe, typeof i54.MngClassMapPipe, typeof i55.MngEnumeratePipe, typeof i56.MngEnumerateAsyncPipe, typeof i57.MngLocaleDefaultRowClassPipe, typeof i58.MngBreadcrumbComponent, typeof i59.MngFooterComponent, typeof i60.MngMainLayoutComponent, typeof i61.MngMenuComponent, typeof i62.MngMenuItemComponent, typeof i63.MngTopbarComponent, typeof i64.MngVersionComponent, typeof i65.MngAutocompleteComponent, typeof i66.MngDropdownComponent, typeof i67.MngDateRangeComponent, typeof i68.MngFormlyFieldWrapperComponent, typeof i69.MngFormlyFieldNoLabelWrapperComponent, typeof i70.MngFormlyFieldInputComponent, typeof i71.MngFormlyFieldLabelComponent, typeof i72.MngFormlyFieldDropdownComponent, typeof i73.MngFormlyFieldAutocompleteComponent, typeof i74.MngFormlyFieldLookupDialogComponent, typeof i75.MngFormlyFieldTableDialogMultiselectComponent, typeof i76.MngFormlyFieldTableDialogFormComponent, typeof i77.MngFormlyFieldTabsComponent, typeof i78.MngFormlyFieldFieldsetComponent, typeof i79.MngFormlyFieldActionComponent, typeof i80.MngTableComponent, typeof i81.MngTableviewComponent, typeof i82.MngTableColumnValueComponent, typeof i83.MngTableColumnFilterComponent, typeof i84.MngTableviewRouteComponent, typeof i85.MngFormEditorComponent, typeof i86.MngActionComponent, typeof i87.MngActionEditorComponent, typeof i88.MngDataLanguageDropdownComponent]>;
|
|
96
98
|
static ɵinj: i0.ɵɵInjectorDeclaration<MngCommonsModule>;
|
|
97
99
|
}
|