@mediusinc/mng-commons 0.0.1-rc.2
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 +19 -0
- package/esm2020/lib/api/models/builders/query-param.builder.mjs +49 -0
- package/esm2020/lib/api/models/filter-match-type.model.mjs +24 -0
- package/esm2020/lib/api/models/filter-param.model.mjs +46 -0
- package/esm2020/lib/api/models/index.mjs +9 -0
- package/esm2020/lib/api/models/mappers.mjs +17 -0
- package/esm2020/lib/api/models/query-mode.model.mjs +19 -0
- package/esm2020/lib/api/models/query-param.model.mjs +69 -0
- package/esm2020/lib/api/models/query-result.model.mjs +45 -0
- package/esm2020/lib/api/models/serialization.model.mjs +2 -0
- package/esm2020/lib/api/services/abstract-crud-api.service.mjs +72 -0
- package/esm2020/lib/api/services/index.mjs +2 -0
- package/esm2020/lib/api/utils/index.mjs +3 -0
- package/esm2020/lib/api/utils/medius-rest.util.mjs +70 -0
- package/esm2020/lib/api/utils/object-serializer.util.mjs +226 -0
- package/esm2020/lib/components/action/action.component.mjs +63 -0
- package/esm2020/lib/components/action/dialog/action-dialog.component.mjs +148 -0
- package/esm2020/lib/components/action/index.mjs +4 -0
- package/esm2020/lib/components/action/route/action-route.component.mjs +144 -0
- package/esm2020/lib/components/form/editor/form-editor.component.mjs +140 -0
- package/esm2020/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +58 -0
- package/esm2020/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +51 -0
- package/esm2020/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +16 -0
- package/esm2020/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +26 -0
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +94 -0
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +124 -0
- package/esm2020/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +17 -0
- package/esm2020/lib/components/form/formly/fields/index.mjs +8 -0
- package/esm2020/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.mjs +17 -0
- package/esm2020/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.mjs +16 -0
- package/esm2020/lib/components/form/formly/wrappers/index.mjs +3 -0
- package/esm2020/lib/components/form/index.mjs +2 -0
- package/esm2020/lib/components/layout/app.breadcrumb.component.mjs +27 -0
- package/esm2020/lib/components/layout/app.footer.component.mjs +35 -0
- package/esm2020/lib/components/layout/app.main.component.mjs +25 -0
- package/esm2020/lib/components/layout/app.main.component.service.mjs +133 -0
- package/esm2020/lib/components/layout/app.menu.component.mjs +38 -0
- package/esm2020/lib/components/layout/app.menuitem.component.mjs +243 -0
- package/esm2020/lib/components/layout/app.topbar.component.mjs +135 -0
- package/esm2020/lib/components/layout/index.mjs +7 -0
- package/esm2020/lib/components/tableview/index.mjs +4 -0
- package/esm2020/lib/components/tableview/route/tableview-route.abstract.component.mjs +31 -0
- package/esm2020/lib/components/tableview/table/table.component.mjs +173 -0
- package/esm2020/lib/components/tableview/tableview.component.mjs +82 -0
- package/esm2020/lib/components/tableview/tableview.component.service.mjs +18 -0
- package/esm2020/lib/config/formly.config.mjs +165 -0
- package/esm2020/lib/config/index.mjs +2 -0
- package/esm2020/lib/directives/index.mjs +2 -0
- package/esm2020/lib/directives/template.directive.mjs +25 -0
- package/esm2020/lib/mng-commons.module.mjs +338 -0
- package/esm2020/lib/models/action/action.model.mjs +58 -0
- package/esm2020/lib/models/action/index.mjs +2 -0
- package/esm2020/lib/models/config/index.mjs +2 -0
- package/esm2020/lib/models/config/mng-config.model.mjs +3 -0
- package/esm2020/lib/models/descriptors/action-descriptor.model.mjs +283 -0
- package/esm2020/lib/models/descriptors/editor-descriptor.model.mjs +647 -0
- package/esm2020/lib/models/descriptors/index.mjs +6 -0
- package/esm2020/lib/models/descriptors/model-descriptor.model.mjs +34 -0
- package/esm2020/lib/models/descriptors/table-descriptor.model.mjs +123 -0
- package/esm2020/lib/models/descriptors/tableview-descriptor.model.mjs +124 -0
- package/esm2020/lib/models/events/editor-event.model.mjs +14 -0
- package/esm2020/lib/models/events/index.mjs +3 -0
- package/esm2020/lib/models/events/table-event.model.mjs +16 -0
- package/esm2020/lib/models/interfaces/confirmation-service.model.mjs +2 -0
- package/esm2020/lib/models/interfaces/index.mjs +2 -0
- package/esm2020/lib/models/providers/data-provider.model.mjs +86 -0
- package/esm2020/lib/models/providers/index.mjs +2 -0
- package/esm2020/lib/models/types/index.mjs +3 -0
- package/esm2020/lib/models/types/type.decorator.mjs +8 -0
- package/esm2020/lib/models/types/type.model.mjs +2 -0
- package/esm2020/lib/models/validators/field.validator.mjs +21 -0
- package/esm2020/lib/models/validators/index.mjs +2 -0
- package/esm2020/lib/pipes/index.mjs +2 -0
- package/esm2020/lib/pipes/property-path.pipe.mjs +36 -0
- package/esm2020/lib/services/action.service.mjs +239 -0
- package/esm2020/lib/services/breadcrumb.service.mjs +21 -0
- package/esm2020/lib/services/configuration.service.mjs +77 -0
- package/esm2020/lib/services/index.mjs +7 -0
- package/esm2020/lib/services/menu.service.mjs +26 -0
- package/esm2020/lib/services/navigation.service.mjs +49 -0
- package/esm2020/lib/services/providers/config-service.provider.mjs +12 -0
- package/esm2020/lib/services/providers/formly-config.provider.mjs +31 -0
- package/esm2020/lib/services/providers/index.mjs +3 -0
- package/esm2020/lib/services/settings.service.mjs +40 -0
- package/esm2020/lib/utils/editor-formly.util.mjs +165 -0
- package/esm2020/lib/utils/i18n.util.mjs +75 -0
- package/esm2020/lib/utils/index.mjs +5 -0
- package/esm2020/lib/utils/model.util.mjs +38 -0
- package/esm2020/lib/utils/type.util.mjs +43 -0
- package/esm2020/mediusinc-mng-commons.mjs +5 -0
- package/esm2020/public-api.mjs +33 -0
- package/fesm2015/mediusinc-mng-commons.mjs +5056 -0
- package/fesm2015/mediusinc-mng-commons.mjs.map +1 -0
- package/fesm2020/mediusinc-mng-commons.mjs +5012 -0
- package/fesm2020/mediusinc-mng-commons.mjs.map +1 -0
- package/lib/api/models/builders/query-param.builder.d.ts +11 -0
- package/lib/api/models/filter-match-type.model.d.ts +21 -0
- package/lib/api/models/filter-param.model.d.ts +23 -0
- package/lib/api/models/index.d.ts +8 -0
- package/lib/api/models/mappers.d.ts +6 -0
- package/lib/api/models/query-mode.model.d.ts +16 -0
- package/lib/api/models/query-param.model.d.ts +31 -0
- package/lib/api/models/query-result.model.d.ts +36 -0
- package/lib/api/models/serialization.model.d.ts +8 -0
- package/lib/api/services/abstract-crud-api.service.d.ts +23 -0
- package/lib/api/services/index.d.ts +1 -0
- package/lib/api/utils/index.d.ts +2 -0
- package/lib/api/utils/medius-rest.util.d.ts +6 -0
- package/lib/api/utils/object-serializer.util.d.ts +30 -0
- package/lib/components/action/action.component.d.ts +36 -0
- package/lib/components/action/dialog/action-dialog.component.d.ts +48 -0
- package/lib/components/action/index.d.ts +3 -0
- package/lib/components/action/route/action-route.component.d.ts +32 -0
- package/lib/components/form/editor/form-editor.component.d.ts +37 -0
- package/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +21 -0
- package/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +19 -0
- package/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts +6 -0
- package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts +12 -0
- package/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +17 -0
- package/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +36 -0
- package/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.d.ts +6 -0
- package/lib/components/form/formly/fields/index.d.ts +7 -0
- package/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts +8 -0
- package/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.d.ts +8 -0
- package/lib/components/form/formly/wrappers/index.d.ts +2 -0
- package/lib/components/form/index.d.ts +1 -0
- package/lib/components/layout/app.breadcrumb.component.d.ts +16 -0
- package/lib/components/layout/app.footer.component.d.ts +8 -0
- package/lib/components/layout/app.main.component.d.ts +12 -0
- package/lib/components/layout/app.main.component.service.d.ts +40 -0
- package/lib/components/layout/app.menu.component.d.ts +14 -0
- package/lib/components/layout/app.menuitem.component.d.ts +31 -0
- package/lib/components/layout/app.topbar.component.d.ts +16 -0
- package/lib/components/layout/index.d.ts +6 -0
- package/lib/components/tableview/index.d.ts +3 -0
- package/lib/components/tableview/route/tableview-route.abstract.component.d.ts +15 -0
- package/lib/components/tableview/table/table.component.d.ts +47 -0
- package/lib/components/tableview/tableview.component.d.ts +36 -0
- package/lib/components/tableview/tableview.component.service.d.ts +11 -0
- package/lib/config/formly.config.d.ts +8 -0
- package/lib/config/index.d.ts +1 -0
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/template.directive.d.ts +11 -0
- package/lib/mng-commons.module.d.ts +74 -0
- package/lib/models/action/action.model.d.ts +53 -0
- package/lib/models/action/index.d.ts +1 -0
- package/lib/models/config/index.d.ts +1 -0
- package/lib/models/config/mng-config.model.d.ts +19 -0
- package/lib/models/descriptors/action-descriptor.model.d.ts +124 -0
- package/lib/models/descriptors/editor-descriptor.model.d.ts +248 -0
- package/lib/models/descriptors/index.d.ts +5 -0
- package/lib/models/descriptors/model-descriptor.model.d.ts +15 -0
- package/lib/models/descriptors/table-descriptor.model.d.ts +45 -0
- package/lib/models/descriptors/tableview-descriptor.model.d.ts +38 -0
- package/lib/models/events/editor-event.model.d.ts +11 -0
- package/lib/models/events/index.d.ts +2 -0
- package/lib/models/events/table-event.model.d.ts +17 -0
- package/lib/models/interfaces/confirmation-service.model.d.ts +6 -0
- package/lib/models/interfaces/index.d.ts +1 -0
- package/lib/models/providers/data-provider.model.d.ts +62 -0
- package/lib/models/providers/index.d.ts +1 -0
- package/lib/models/types/index.d.ts +2 -0
- package/lib/models/types/type.decorator.d.ts +2 -0
- package/lib/models/types/type.model.d.ts +10 -0
- package/lib/models/validators/field.validator.d.ts +18 -0
- package/lib/models/validators/index.d.ts +1 -0
- package/lib/pipes/index.d.ts +1 -0
- package/lib/pipes/property-path.pipe.d.ts +7 -0
- package/lib/services/action.service.d.ts +92 -0
- package/lib/services/breadcrumb.service.d.ts +9 -0
- package/lib/services/configuration.service.d.ts +35 -0
- package/lib/services/index.d.ts +6 -0
- package/lib/services/menu.service.d.ts +11 -0
- package/lib/services/navigation.service.d.ts +14 -0
- package/lib/services/providers/config-service.provider.d.ts +5 -0
- package/lib/services/providers/formly-config.provider.d.ts +4 -0
- package/lib/services/providers/index.d.ts +2 -0
- package/lib/services/settings.service.d.ts +18 -0
- package/lib/utils/editor-formly.util.d.ts +9 -0
- package/lib/utils/i18n.util.d.ts +14 -0
- package/lib/utils/index.d.ts +4 -0
- package/lib/utils/model.util.d.ts +5 -0
- package/lib/utils/type.util.d.ts +15 -0
- package/mediusinc-mng-commons-0.0.1-rc.2.tgz +0 -0
- package/mediusinc-mng-commons.d.ts +5 -0
- package/package.json +38 -0
- package/public-api.d.ts +22 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FilterMatchType, QueryParam } from '../';
|
|
2
|
+
export declare class QueryParamBuilder {
|
|
3
|
+
private queryParam;
|
|
4
|
+
constructor(queryParam: QueryParam);
|
|
5
|
+
static create(itemsPerPage?: number, itemsOffset?: number): QueryParamBuilder;
|
|
6
|
+
withItemsPerPage(itemsPerPage: number): QueryParamBuilder;
|
|
7
|
+
withItemsOffset(itemsOffset: number): QueryParamBuilder;
|
|
8
|
+
withSort(property: string, asc?: boolean): QueryParamBuilder;
|
|
9
|
+
withFilter(property: string, value: any, valueTo?: any, matchType?: FilterMatchType, matchCaseSensitive?: boolean): QueryParamBuilder;
|
|
10
|
+
build(): QueryParam;
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare enum FilterMatchType {
|
|
13
|
+
Contains,
|
|
14
|
+
EndsWith,
|
|
15
|
+
Equals,
|
|
16
|
+
FromTo,
|
|
17
|
+
In,
|
|
18
|
+
NotEquals,
|
|
19
|
+
NotIn,
|
|
20
|
+
StartsWith
|
|
21
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AttributeDef } from './serialization.model';
|
|
13
|
+
import { FilterMatchType } from './filter-match-type.model';
|
|
14
|
+
export declare class FilterParam {
|
|
15
|
+
'property'?: string;
|
|
16
|
+
'filterMatchCaseSensitive'?: boolean;
|
|
17
|
+
'filterMatchType'?: FilterMatchType;
|
|
18
|
+
'filterValue'?: object;
|
|
19
|
+
'filterValueTo'?: object;
|
|
20
|
+
static discriminator: string | undefined;
|
|
21
|
+
static attributeTypeMap: Array<AttributeDef>;
|
|
22
|
+
static getAttributeTypeMap(): AttributeDef[];
|
|
23
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './filter-match-type.model';
|
|
2
|
+
export * from './filter-param.model';
|
|
3
|
+
export * from './query-mode.model';
|
|
4
|
+
export * from './query-param.model';
|
|
5
|
+
export * from './query-result.model';
|
|
6
|
+
export * from './serialization.model';
|
|
7
|
+
export * from './builders/query-param.builder';
|
|
8
|
+
export * from './mappers';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare enum QueryMode {
|
|
13
|
+
All,
|
|
14
|
+
Count,
|
|
15
|
+
Data
|
|
16
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { FilterParam } from './filter-param.model';
|
|
13
|
+
import { QueryMode } from './query-mode.model';
|
|
14
|
+
import { AttributeDef } from './serialization.model';
|
|
15
|
+
export declare class QueryParam {
|
|
16
|
+
'filterAllParam'?: string;
|
|
17
|
+
'filterAllProperties'?: Array<string>;
|
|
18
|
+
'filterParams'?: Array<FilterParam>;
|
|
19
|
+
'groupByProperties'?: Array<string>;
|
|
20
|
+
'itemsOffset': number;
|
|
21
|
+
'itemsPerPage': number;
|
|
22
|
+
'queryMode'?: QueryMode;
|
|
23
|
+
'selectInTwoSteps'?: boolean;
|
|
24
|
+
'sortAsc'?: Array<boolean>;
|
|
25
|
+
'sortEnumByOrdinal'?: boolean;
|
|
26
|
+
'sortProperty'?: Array<string>;
|
|
27
|
+
'validateProperties'?: Array<string>;
|
|
28
|
+
static discriminator: string | undefined;
|
|
29
|
+
static attributeTypeMap: Array<AttributeDef>;
|
|
30
|
+
static getAttributeTypeMap(): AttributeDef[];
|
|
31
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AttributeDef } from './serialization.model';
|
|
13
|
+
export declare class QueryResultBase {
|
|
14
|
+
'selectInTwoSteps'?: boolean;
|
|
15
|
+
'allDataCount'?: number;
|
|
16
|
+
static discriminator: string | undefined;
|
|
17
|
+
static attributeTypeMap: Array<AttributeDef>;
|
|
18
|
+
}
|
|
19
|
+
export declare class QueryResultWithObject extends QueryResultBase {
|
|
20
|
+
'pageData'?: Array<object>;
|
|
21
|
+
static discriminator: string | undefined;
|
|
22
|
+
static attributeTypeMap: Array<AttributeDef>;
|
|
23
|
+
static getAttributeTypeMap(): AttributeDef[];
|
|
24
|
+
}
|
|
25
|
+
export declare class QueryResult<T> extends QueryResultBase implements IQueryResult {
|
|
26
|
+
'pageData'?: Array<T>;
|
|
27
|
+
static discriminator: string | undefined;
|
|
28
|
+
static attributeTypeMapBase: Array<AttributeDef>;
|
|
29
|
+
static attributeTypeMap: Array<AttributeDef>;
|
|
30
|
+
static getAttributeTypeMap(): AttributeDef[];
|
|
31
|
+
}
|
|
32
|
+
export interface IQueryResult {
|
|
33
|
+
selectInTwoSteps?: boolean;
|
|
34
|
+
allDataCount?: number;
|
|
35
|
+
pageData?: Array<any>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { QueryParam, QueryResult } from '../models';
|
|
4
|
+
import { ClassType } from '../../models/types';
|
|
5
|
+
export declare abstract class AbstractCrudApiService<T, QRT extends QueryResult<T>> {
|
|
6
|
+
protected type: ClassType<T>;
|
|
7
|
+
protected queryResultType: ClassType<QRT>;
|
|
8
|
+
protected http: HttpClient;
|
|
9
|
+
private readonly objectSerializer;
|
|
10
|
+
protected constructor(type: ClassType<T>, queryResultType: ClassType<QRT>, http: HttpClient);
|
|
11
|
+
protected abstract getBasePath(): string;
|
|
12
|
+
protected abstract getServiceBasePath(): string;
|
|
13
|
+
protected getGetAllPostPath(): string;
|
|
14
|
+
protected getCreatePostPath(): string;
|
|
15
|
+
protected getUpdatePutPath(id: any, item: T): string;
|
|
16
|
+
protected getGetByIdGetPath(id: any): string;
|
|
17
|
+
protected getRemoveDeletePath(id: any, item: T): string;
|
|
18
|
+
createPost(item: T): Observable<T>;
|
|
19
|
+
getAllPost(queryParam?: QueryParam): Observable<QRT>;
|
|
20
|
+
getByIdGet(id: any): Observable<T>;
|
|
21
|
+
updatePut(id: any, item: T): Observable<T>;
|
|
22
|
+
removeDelete(id: any, item: T): Observable<any>;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './abstract-crud-api.service';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FilterMetadata, LazyLoadEvent } from 'primeng/api';
|
|
2
|
+
import { QueryParam, QueryParamBuilder } from '../models';
|
|
3
|
+
export declare class MediusRestUtil {
|
|
4
|
+
static fromLazyLoadEventToQueryParams(event: LazyLoadEvent): QueryParam;
|
|
5
|
+
static addFilterFromFilterMetadata(queryParamBuilder: QueryParamBuilder, property: string, filterMetadata: FilterMetadata): void;
|
|
6
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AttributeDef, SerializableTypeMap } from '../models';
|
|
2
|
+
import { ClassType } from '../../models/types';
|
|
3
|
+
export declare class ObjectSerializer {
|
|
4
|
+
private readonly _primitives;
|
|
5
|
+
private readonly _typeMap;
|
|
6
|
+
private readonly _enumMap;
|
|
7
|
+
private static _instance;
|
|
8
|
+
/**
|
|
9
|
+
* Only use one instance of object (out of Angular context)
|
|
10
|
+
*/
|
|
11
|
+
static get(): ObjectSerializer;
|
|
12
|
+
get primitives(): string[];
|
|
13
|
+
get typeMap(): SerializableTypeMap;
|
|
14
|
+
get enumMap(): SerializableTypeMap;
|
|
15
|
+
findAttributeDefinitionByClassType(type: ClassType<any>, attributeName: string): AttributeDef | null;
|
|
16
|
+
findAttributeDefinition(typeName: string, attributeName: string): AttributeDef | null;
|
|
17
|
+
findAttributesDefinitionByClassType(type: ClassType<any>): Array<AttributeDef> | null;
|
|
18
|
+
findAttributesDefinition(typeName: string): Array<AttributeDef> | null;
|
|
19
|
+
findByClassType(type: ClassType<any>): any;
|
|
20
|
+
findType(typeName: string): any;
|
|
21
|
+
findEnum(enumName: string): any;
|
|
22
|
+
registerTypes(types: SerializableTypeMap): void;
|
|
23
|
+
registerType(type: ClassType<any>, optTypeName?: string): void;
|
|
24
|
+
registerEnums(enums: SerializableTypeMap): void;
|
|
25
|
+
findCorrectType(data: any, expectedType: string): any;
|
|
26
|
+
serializeClass<T>(data: any, type: ClassType<T>): any;
|
|
27
|
+
serialize(data: any, type: string): any;
|
|
28
|
+
deserializeClass<T>(data: any, type: ClassType<T>): any;
|
|
29
|
+
deserialize(data: any, type: string): any;
|
|
30
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { ConfirmationService } from 'primeng/api';
|
|
6
|
+
import { IdType } from '../../models/types';
|
|
7
|
+
import { ActionData } from '../../models/action';
|
|
8
|
+
import { ActionDescriptor } from '../../models/descriptors';
|
|
9
|
+
import { IConfirmationService } from '../../models/interfaces';
|
|
10
|
+
import { ActionService } from '../../services';
|
|
11
|
+
import { TableviewComponentService } from '../tableview/tableview.component.service';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class ActionComponent<T, S> implements OnInit, IConfirmationService {
|
|
14
|
+
private route;
|
|
15
|
+
private translate;
|
|
16
|
+
private actionService;
|
|
17
|
+
private confirmationService;
|
|
18
|
+
private tableviewService;
|
|
19
|
+
action: ActionDescriptor<T>;
|
|
20
|
+
item?: T;
|
|
21
|
+
itemId?: IdType;
|
|
22
|
+
actionData?: ActionData;
|
|
23
|
+
private loadingSubject;
|
|
24
|
+
$loading: Observable<boolean>;
|
|
25
|
+
cmpId: string;
|
|
26
|
+
$isVisible: Observable<boolean>;
|
|
27
|
+
$isEnabled: Observable<boolean>;
|
|
28
|
+
$label: Observable<string | null>;
|
|
29
|
+
constructor(route: ActivatedRoute, translate: TranslateService, actionService: ActionService, confirmationService: ConfirmationService, tableviewService: TableviewComponentService<T, S>);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
triggerAction(event: Event): void;
|
|
32
|
+
getConfirmationService(): ConfirmationService;
|
|
33
|
+
getConfirmationServiceInstanceKey(action: ActionDescriptor<any>): string;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionComponent<any, any>, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionComponent<any, any>, "mng-action", never, { "action": "action"; "item": "item"; "itemId": "itemId"; "actionData": "actionData"; }, {}, never, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Injector, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { ActionData, ActionRunResult } from '../../../models/action';
|
|
6
|
+
import { ActionEditorDescriptor } from '../../../models/descriptors';
|
|
7
|
+
import { IdType } from '../../../models/types';
|
|
8
|
+
import { IEditorDataProvider } from '../../../models/providers';
|
|
9
|
+
import { MngEditorSubmitEvent } from '../../../models/events';
|
|
10
|
+
import { ActionService } from '../../../services';
|
|
11
|
+
import { TemplateDirective } from '../../../directives';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class ActionDialogComponent<T, S> implements OnInit, OnDestroy {
|
|
14
|
+
private injector;
|
|
15
|
+
private translate;
|
|
16
|
+
dialogRef: DynamicDialogRef;
|
|
17
|
+
dialogConfig: DynamicDialogConfig;
|
|
18
|
+
private actionService;
|
|
19
|
+
action: ActionEditorDescriptor<T>;
|
|
20
|
+
itemId?: IdType;
|
|
21
|
+
item?: T;
|
|
22
|
+
actionData?: ActionData;
|
|
23
|
+
dataProvider?: IEditorDataProvider<T, S>;
|
|
24
|
+
private createEventEmitter;
|
|
25
|
+
private visibleChangeEventEmitter;
|
|
26
|
+
templates: QueryList<TemplateDirective>;
|
|
27
|
+
private submitButtonElementRef;
|
|
28
|
+
private editorComponent;
|
|
29
|
+
cmpId: string;
|
|
30
|
+
private loadingSubject;
|
|
31
|
+
private submitLoadingSubject;
|
|
32
|
+
loading$: Observable<boolean>;
|
|
33
|
+
submitLoading$: Observable<boolean>;
|
|
34
|
+
isSaveButton: boolean;
|
|
35
|
+
private tableviewService?;
|
|
36
|
+
private sourceComponent;
|
|
37
|
+
private subscriptions;
|
|
38
|
+
constructor(injector: Injector, translate: TranslateService, dialogRef: DynamicDialogRef, dialogConfig: DynamicDialogConfig, actionService: ActionService);
|
|
39
|
+
ngOnInit(): void;
|
|
40
|
+
ngOnDestroy(): void;
|
|
41
|
+
onSubmit(event: MngEditorSubmitEvent<T>): void;
|
|
42
|
+
closeDialog(result?: ActionRunResult<T, any, any>): void;
|
|
43
|
+
saveItem(): void;
|
|
44
|
+
private loadItemWithDataProvider;
|
|
45
|
+
private setDialogHeaderTitle;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionDialogComponent<any, any>, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionDialogComponent<any, any>, "mng-action-dialog", never, { "action": "action"; "itemId": "itemId"; "item": "item"; "actionData": "actionData"; "dataProvider": "dataProvider"; }, { "createEventEmitter": "onFinished"; "visibleChangeEventEmitter": "onVisibleChange"; }, ["templates"], never>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { ConfirmationService } from 'primeng/api';
|
|
4
|
+
import { ActionDescriptor } from '../../../models/descriptors';
|
|
5
|
+
import { IConfirmationService } from '../../../models/interfaces';
|
|
6
|
+
import { ActionService, NavigationService } from '../../../services';
|
|
7
|
+
import { TableviewComponentService } from '../../tableview/tableview.component.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ActionRouteComponent<T, S> implements OnInit, OnDestroy, IConfirmationService {
|
|
10
|
+
private router;
|
|
11
|
+
private route;
|
|
12
|
+
private confirmationService;
|
|
13
|
+
private navigationService;
|
|
14
|
+
private actionService;
|
|
15
|
+
private tableviewService;
|
|
16
|
+
private actions;
|
|
17
|
+
private activeAction?;
|
|
18
|
+
private dialogRef?;
|
|
19
|
+
private dialogCloseSubscription?;
|
|
20
|
+
private subscriptions;
|
|
21
|
+
cmpId: string;
|
|
22
|
+
constructor(router: Router, route: ActivatedRoute, confirmationService: ConfirmationService, navigationService: NavigationService, actionService: ActionService, tableviewService: TableviewComponentService<T, S>);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
getConfirmationService(): ConfirmationService;
|
|
26
|
+
getConfirmationServiceInstanceKey(action: ActionDescriptor<any>): string;
|
|
27
|
+
private activateAction;
|
|
28
|
+
private deactivateAction;
|
|
29
|
+
private findActiveAction;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionRouteComponent<any, any>, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionRouteComponent<any, any>, "mng-action-route", never, {}, {}, never, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { AfterContentInit, ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { FormlyFieldConfig, FormlyFormOptions } from '@ngx-formly/core';
|
|
4
|
+
import { Message } from 'primeng/api';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { EditorDescriptor } from '../../../models/descriptors';
|
|
7
|
+
import { TemplateDirective } from '../../../directives';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class FormEditorComponent<T> implements OnInit, AfterContentInit, OnDestroy {
|
|
10
|
+
descriptor: EditorDescriptor<T>;
|
|
11
|
+
submitLoading: Observable<boolean> | boolean;
|
|
12
|
+
item?: T;
|
|
13
|
+
isSubmitButtonVisible: boolean;
|
|
14
|
+
isFormDisabled: null;
|
|
15
|
+
private submitEventEmitter;
|
|
16
|
+
templates: QueryList<TemplateDirective>;
|
|
17
|
+
submitButtonElementRef?: ElementRef;
|
|
18
|
+
form: FormGroup;
|
|
19
|
+
formOptions: FormlyFormOptions;
|
|
20
|
+
formFields: FormlyFieldConfig[];
|
|
21
|
+
formOrigItem?: T;
|
|
22
|
+
formModel: any;
|
|
23
|
+
formMessages: Message[];
|
|
24
|
+
submitLoading$: Observable<boolean>;
|
|
25
|
+
private subscriptions;
|
|
26
|
+
constructor();
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngAfterContentInit(): void;
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
submit(): void;
|
|
31
|
+
onSubmit(event: Event): void;
|
|
32
|
+
private isAnyFieldInvalid;
|
|
33
|
+
private updateFormModel;
|
|
34
|
+
private updateFormState;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormEditorComponent<any>, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormEditorComponent<any>, "mng-form-editor", never, { "descriptor": "descriptor"; "submitLoading": "submitLoading"; "item": "item"; "isSubmitButtonVisible": "isSubmitButtonVisible"; "isFormDisabled": "isFormDisabled"; }, { "submitEventEmitter": "onSubmit"; }, ["templates"], never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { FieldType } from '@ngx-formly/core';
|
|
4
|
+
import { Observable, Subject, Subscription } from 'rxjs';
|
|
5
|
+
import { FieldLookupDescriptor } from '../../../../../models/descriptors';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class FormlyFieldAutocompleteComponent<T> extends FieldType implements OnInit {
|
|
8
|
+
private injector;
|
|
9
|
+
aFormControl: FormControl;
|
|
10
|
+
descriptor: FieldLookupDescriptor<T, any>;
|
|
11
|
+
suggestionsSubject: Subject<Array<any>>;
|
|
12
|
+
suggestionsAsync: Observable<Array<any>>;
|
|
13
|
+
searchSubscription: Subscription | null;
|
|
14
|
+
isLoading: boolean;
|
|
15
|
+
private dataProviderService;
|
|
16
|
+
constructor(injector: Injector);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
onSearch(event: any): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldAutocompleteComponent<any>, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldAutocompleteComponent<any>, "mng-formly-field-autocomplete", never, {}, {}, never, never>;
|
|
21
|
+
}
|
package/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { FieldType } from '@ngx-formly/core';
|
|
4
|
+
import { Observable, Subject } from 'rxjs';
|
|
5
|
+
import { FieldLookupDescriptor } from '../../../../../models/descriptors';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class FormlyFieldDropdownComponent<T> extends FieldType {
|
|
8
|
+
private injector;
|
|
9
|
+
dFormControl: FormControl;
|
|
10
|
+
descriptor: FieldLookupDescriptor<T, any>;
|
|
11
|
+
itemsSubject: Subject<Array<any>>;
|
|
12
|
+
itemsAsync: Observable<Array<any>>;
|
|
13
|
+
useDataProvider: boolean;
|
|
14
|
+
private dataProviderService;
|
|
15
|
+
constructor(injector: Injector);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldDropdownComponent<any>, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldDropdownComponent<any>, "mng-formly-field-dropdown", never, {}, {}, never, never>;
|
|
19
|
+
}
|
package/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FieldType } from '@ngx-formly/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormlyFieldFieldsetComponent extends FieldType {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldFieldsetComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldFieldsetComponent, "mng-formly-field-fieldset", never, {}, {}, never, never>;
|
|
6
|
+
}
|
package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { FieldType } from '@ngx-formly/core';
|
|
4
|
+
import { FieldInputDescriptor } from '../../../../../models/descriptors';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FormlyFieldInputComponent extends FieldType implements OnInit {
|
|
7
|
+
iFormControl: FormControl;
|
|
8
|
+
descriptor: FieldInputDescriptor<any>;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInputComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInputComponent, "mng-formly-field-input", never, {}, {}, never, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FieldType } from '@ngx-formly/core';
|
|
3
|
+
import { Observable, Subject } from 'rxjs';
|
|
4
|
+
import { FieldManyEditorDescriptor, ActionDescriptor } from '../../../../../models/descriptors';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FormlyFieldTableDialogFormComponent<T, ET> extends FieldType implements OnInit, OnDestroy {
|
|
7
|
+
descriptor: FieldManyEditorDescriptor<T, ET>;
|
|
8
|
+
itemsSubject: Subject<Array<T>>;
|
|
9
|
+
items$: Observable<Array<T>>;
|
|
10
|
+
toolbarActions: Array<ActionDescriptor<T>>;
|
|
11
|
+
rowActions: Array<ActionDescriptor<T>>;
|
|
12
|
+
private subscriptions;
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTableDialogFormComponent<any, any>, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTableDialogFormComponent<any, any>, "mng-formly-table-dialog-form-field", never, {}, {}, never, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FieldType } from '@ngx-formly/core';
|
|
3
|
+
import { Message } from 'primeng/api';
|
|
4
|
+
import { Observable, Subject } from 'rxjs';
|
|
5
|
+
import { QueryResult } from '../../../../../api/models';
|
|
6
|
+
import { FieldManyToManyEditorDescriptor } from '../../../../../models/descriptors';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class FormlyFieldTableDialogMultiselectComponent<T, ET> extends FieldType implements OnInit, OnDestroy {
|
|
9
|
+
private injector;
|
|
10
|
+
descriptor: FieldManyToManyEditorDescriptor<T, ET>;
|
|
11
|
+
itemsSubject: Subject<Array<T>>;
|
|
12
|
+
itemsAsync: Observable<Array<T>>;
|
|
13
|
+
addItemsSubject: Subject<QueryResult<T>>;
|
|
14
|
+
addItemsAsync: Observable<QueryResult<T>>;
|
|
15
|
+
dialogUseDataProvider: boolean;
|
|
16
|
+
private dialogDataProviderService;
|
|
17
|
+
private dialogIsLoadingSubject;
|
|
18
|
+
isDialogVisible: boolean;
|
|
19
|
+
dialogAreItemsLoaded: boolean;
|
|
20
|
+
dialogSelectedAddItems: Array<any>;
|
|
21
|
+
dialogMessages: Message[];
|
|
22
|
+
dialogIsLoading$: Observable<boolean>;
|
|
23
|
+
hasAddAction: boolean;
|
|
24
|
+
hasDeleteAction: boolean;
|
|
25
|
+
private subscriptions;
|
|
26
|
+
constructor(injector: Injector);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
openAddDialog(): void;
|
|
30
|
+
onSelectionChange(items: Array<any>): void;
|
|
31
|
+
hideDialog(): void;
|
|
32
|
+
addItems(): void;
|
|
33
|
+
removeItem(item: any): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTableDialogMultiselectComponent<any, any>, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTableDialogMultiselectComponent<any, any>, "mng-formly-table-multiselect-add-field", never, {}, {}, never, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FieldType } from '@ngx-formly/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormlyFieldTabsComponent extends FieldType {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTabsComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTabsComponent, "mng-formly-field-tabs", never, {}, {}, never, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './formly-field-autocomplete/formly-field-autocomplete.component';
|
|
2
|
+
export * from './formly-field-input/formly-field-input.component';
|
|
3
|
+
export * from './formly-field-dropdown/formly-field-dropdown.component';
|
|
4
|
+
export * from './formly-field-table-dialog-form/formly-field-table-dialog-form.component';
|
|
5
|
+
export * from './formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component';
|
|
6
|
+
export * from './formly-field-tabs/formly-field-tabs.component';
|
|
7
|
+
export * from './formly-field-fieldset/formly-field-fieldset.component';
|
package/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FieldWrapper } from '@ngx-formly/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FormlyFieldWrapperComponent extends FieldWrapper implements OnInit {
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldWrapperComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldWrapperComponent, "mng-formly-field-wrapper", never, {}, {}, never, never>;
|
|
8
|
+
}
|
package/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FieldWrapper } from '@ngx-formly/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FormlyTableWrapperComponent extends FieldWrapper implements OnInit {
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyTableWrapperComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyTableWrapperComponent, "mng-formly-table-wrapper", never, {}, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './editor/form-editor.component';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { MenuItem } from 'primeng/api';
|
|
4
|
+
import { AppBreadcrumbService } from '../../services/breadcrumb.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AppBreadcrumbComponent implements OnDestroy {
|
|
7
|
+
breadcrumbService: AppBreadcrumbService;
|
|
8
|
+
subscription: Subscription;
|
|
9
|
+
items: MenuItem[];
|
|
10
|
+
home: MenuItem;
|
|
11
|
+
search: string;
|
|
12
|
+
constructor(breadcrumbService: AppBreadcrumbService);
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppBreadcrumbComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppBreadcrumbComponent, "app-breadcrumb", never, {}, {}, never, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AppSettingsService } from '../../services/settings.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AppFooterComponent {
|
|
4
|
+
appSettings: AppSettingsService;
|
|
5
|
+
constructor(appSettings: AppSettingsService);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppFooterComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppFooterComponent, "app-footer", never, {}, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AppSettingsService } from '../../services/settings.service';
|
|
2
|
+
import { MenuService } from '../../services/menu.service';
|
|
3
|
+
import { AppMainComponentService } from './app.main.component.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AppMainComponent {
|
|
6
|
+
private menuService;
|
|
7
|
+
appSettings: AppSettingsService;
|
|
8
|
+
appMainService: AppMainComponentService;
|
|
9
|
+
constructor(menuService: MenuService, appSettings: AppSettingsService, appMainService: AppMainComponentService);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppMainComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppMainComponent, "app-main", never, {}, {}, never, never>;
|
|
12
|
+
}
|