@mediusinc/mng-commons 0.2.0 → 0.2.6
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/esm2020/lib/api/models/builders/query-param.builder.mjs +48 -48
- package/esm2020/lib/api/models/filter-match-type.model.mjs +26 -26
- package/esm2020/lib/api/models/filter-param.model.mjs +46 -46
- package/esm2020/lib/api/models/index.mjs +9 -9
- package/esm2020/lib/api/models/mappers.mjs +17 -17
- package/esm2020/lib/api/models/query-mode.model.mjs +19 -19
- package/esm2020/lib/api/models/query-param.model.mjs +69 -69
- package/esm2020/lib/api/models/query-result.model.mjs +45 -45
- package/esm2020/lib/api/models/serialization.model.mjs +2 -2
- package/esm2020/lib/api/services/crud-api.abstract.service.mjs +72 -72
- package/esm2020/lib/api/services/index.mjs +2 -2
- package/esm2020/lib/api/utils/index.mjs +3 -3
- package/esm2020/lib/api/utils/medius-rest.util.mjs +122 -122
- package/esm2020/lib/api/utils/object-serializer.util.mjs +226 -226
- package/esm2020/lib/components/action/action.component.mjs +65 -65
- package/esm2020/lib/components/action/dialog/action-dialog.component.mjs +148 -148
- package/esm2020/lib/components/action/index.mjs +4 -4
- package/esm2020/lib/components/action/models/action-confirmation-service.model.mjs +2 -2
- package/esm2020/lib/components/action/models/action-execution.model.mjs +58 -58
- package/esm2020/lib/components/action/models/index.mjs +3 -3
- package/esm2020/lib/components/action/route/action-route.component.mjs +144 -144
- package/esm2020/lib/components/form/autocomplete/autocomplete.component.mjs +114 -114
- package/esm2020/lib/components/form/dropdown/dropdown.component.mjs +113 -113
- package/esm2020/lib/components/form/editor/form-editor.component.mjs +141 -141
- package/esm2020/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.mjs +19 -19
- package/esm2020/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.mjs +19 -19
- package/esm2020/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.mjs +16 -16
- package/esm2020/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.mjs +30 -26
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +108 -109
- package/esm2020/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +122 -122
- package/esm2020/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.mjs +17 -17
- package/esm2020/lib/components/form/formly/fields/index.mjs +8 -8
- package/esm2020/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.mjs +17 -17
- package/esm2020/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.mjs +16 -16
- package/esm2020/lib/components/form/formly/wrappers/index.mjs +3 -3
- package/esm2020/lib/components/form/index.mjs +4 -4
- package/esm2020/lib/components/form/models/form-editor.event.mjs +7 -7
- package/esm2020/lib/components/form/models/index.mjs +2 -2
- package/esm2020/lib/components/layout/breadcrumb.component.mjs +17 -17
- package/esm2020/lib/components/layout/footer.component.mjs +17 -17
- package/esm2020/lib/components/layout/index.mjs +7 -7
- package/esm2020/lib/components/layout/main-layout.component.mjs +54 -54
- package/esm2020/lib/components/layout/menu-item.component.mjs +173 -173
- package/esm2020/lib/components/layout/menu.component.mjs +20 -20
- package/esm2020/lib/components/layout/services/index.mjs +2 -2
- package/esm2020/lib/components/layout/services/main-layout.component.service.mjs +190 -190
- package/esm2020/lib/components/layout/topbar.component.mjs +59 -59
- package/esm2020/lib/components/tableview/index.mjs +7 -6
- package/esm2020/lib/components/tableview/models/index.mjs +2 -2
- package/esm2020/lib/components/tableview/models/table.event.mjs +16 -16
- package/esm2020/lib/components/tableview/route/tableview-route.abstract.component.mjs +24 -24
- package/esm2020/lib/components/tableview/route/tableview-route.component.mjs +33 -0
- package/esm2020/lib/components/tableview/services/index.mjs +2 -2
- package/esm2020/lib/components/tableview/services/tableview.component.service.mjs +16 -17
- package/esm2020/lib/components/tableview/table/column-filter/column-filter.component.mjs +85 -74
- package/esm2020/lib/components/tableview/table/column-value/column-value.component.mjs +25 -25
- package/esm2020/lib/components/tableview/table/table.component.mjs +307 -307
- package/esm2020/lib/components/tableview/tableview.component.mjs +82 -82
- package/esm2020/lib/config/formly.config.mjs +136 -136
- package/esm2020/lib/config/index.mjs +2 -2
- package/esm2020/lib/config/models/index.mjs +2 -2
- package/esm2020/lib/config/models/mng-config.model.mjs +2 -2
- package/esm2020/lib/data-providers/base.data-provider.mjs +24 -24
- package/esm2020/lib/data-providers/editor.data-provider.mjs +37 -37
- package/esm2020/lib/data-providers/index.mjs +6 -6
- package/esm2020/lib/data-providers/lookup.data-provider.mjs +16 -16
- package/esm2020/lib/data-providers/table.data-provider.mjs +2 -2
- package/esm2020/lib/data-providers/tableview.data-provider.mjs +17 -17
- package/esm2020/lib/descriptors/action.descriptor.mjs +332 -332
- package/esm2020/lib/descriptors/editor.descriptor.mjs +670 -670
- package/esm2020/lib/descriptors/field.validator.mjs +21 -21
- package/esm2020/lib/descriptors/index.mjs +8 -8
- package/esm2020/lib/descriptors/lookup.descriptor.mjs +2 -2
- package/esm2020/lib/descriptors/model.descriptor.mjs +34 -34
- package/esm2020/lib/descriptors/table.descriptor.mjs +427 -401
- package/esm2020/lib/descriptors/tableview.descriptor.mjs +131 -131
- package/esm2020/lib/directives/component.directive.mjs +23 -23
- package/esm2020/lib/directives/index.mjs +3 -3
- package/esm2020/lib/directives/template.directive.mjs +29 -29
- package/esm2020/lib/mng-commons.module.mjs +412 -410
- package/esm2020/lib/models/index.mjs +2 -3
- package/esm2020/lib/models/user.model.mjs +2 -2
- package/esm2020/lib/pipes/boolean.pipe.mjs +22 -22
- package/esm2020/lib/pipes/index.mjs +3 -3
- package/esm2020/lib/pipes/property-path.pipe.mjs +36 -36
- package/esm2020/lib/router/index.mjs +2 -0
- package/esm2020/lib/router/models/index.mjs +2 -0
- package/esm2020/lib/router/models/router.model.mjs +2 -0
- package/esm2020/lib/router/route-builder.mjs +288 -0
- package/esm2020/lib/services/action.service.mjs +269 -269
- package/esm2020/lib/services/commons.service.mjs +354 -353
- package/esm2020/lib/services/configuration.service.mjs +78 -78
- package/esm2020/lib/services/index.mjs +5 -5
- package/esm2020/lib/services/navigation.service.mjs +48 -48
- package/esm2020/lib/services/providers/commons-init.provider.mjs +4 -4
- package/esm2020/lib/services/providers/config-service.provider.mjs +20 -20
- package/esm2020/lib/services/providers/formly-config.provider.mjs +31 -31
- package/esm2020/lib/services/providers/index.mjs +4 -4
- package/esm2020/lib/services/tokens/browser-storage.token.mjs +6 -6
- package/esm2020/lib/services/tokens/index.mjs +3 -3
- package/esm2020/lib/services/tokens/module-config.token.mjs +3 -3
- package/esm2020/lib/types/index.mjs +3 -3
- package/esm2020/lib/types/type.decorator.mjs +7 -7
- package/esm2020/lib/types/type.model.mjs +2 -2
- package/esm2020/lib/utils/editor-formly.util.mjs +176 -176
- package/esm2020/lib/utils/i18n.util.mjs +125 -125
- package/esm2020/lib/utils/index.mjs +6 -6
- package/esm2020/lib/utils/model.util.mjs +57 -57
- package/esm2020/lib/utils/route.util.mjs +24 -0
- package/esm2020/lib/utils/toast.util.mjs +39 -39
- package/esm2020/lib/utils/type.util.mjs +39 -39
- package/esm2020/mediusinc-mng-commons.mjs +5 -5
- package/esm2020/public-api.mjs +37 -36
- package/fesm2015/mediusinc-mng-commons.mjs +6407 -6024
- package/fesm2015/mediusinc-mng-commons.mjs.map +1 -1
- package/fesm2020/mediusinc-mng-commons.mjs +6329 -5950
- package/fesm2020/mediusinc-mng-commons.mjs.map +1 -1
- package/lib/api/models/builders/query-param.builder.d.ts +11 -11
- package/lib/api/models/filter-match-type.model.d.ts +23 -23
- package/lib/api/models/filter-param.model.d.ts +23 -23
- package/lib/api/models/index.d.ts +8 -8
- package/lib/api/models/mappers.d.ts +6 -6
- package/lib/api/models/query-mode.model.d.ts +16 -16
- package/lib/api/models/query-param.model.d.ts +31 -31
- package/lib/api/models/query-result.model.d.ts +36 -36
- package/lib/api/models/serialization.model.d.ts +8 -8
- package/lib/api/services/crud-api.abstract.service.d.ts +23 -23
- package/lib/api/services/index.d.ts +1 -1
- package/lib/api/utils/index.d.ts +2 -2
- package/lib/api/utils/medius-rest.util.d.ts +12 -12
- package/lib/api/utils/object-serializer.util.d.ts +30 -30
- package/lib/components/action/action.component.d.ts +36 -36
- package/lib/components/action/dialog/action-dialog.component.d.ts +46 -46
- package/lib/components/action/index.d.ts +3 -3
- package/lib/components/action/models/action-confirmation-service.model.d.ts +6 -6
- package/lib/components/action/models/action-execution.model.d.ts +53 -53
- package/lib/components/action/models/index.d.ts +2 -2
- package/lib/components/action/route/action-route.component.d.ts +32 -32
- package/lib/components/form/autocomplete/autocomplete.component.d.ts +36 -36
- package/lib/components/form/dropdown/dropdown.component.d.ts +34 -34
- package/lib/components/form/editor/form-editor.component.d.ts +39 -39
- package/lib/components/form/formly/fields/formly-field-autocomplete/formly-field-autocomplete.component.d.ts +11 -11
- package/lib/components/form/formly/fields/formly-field-dropdown/formly-field-dropdown.component.d.ts +11 -11
- package/lib/components/form/formly/fields/formly-field-fieldset/formly-field-fieldset.component.d.ts +6 -6
- package/lib/components/form/formly/fields/formly-field-input/formly-field-input.component.d.ts +12 -12
- package/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +17 -17
- package/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +36 -36
- package/lib/components/form/formly/fields/formly-field-tabs/formly-field-tabs.component.d.ts +6 -6
- package/lib/components/form/formly/fields/index.d.ts +7 -7
- package/lib/components/form/formly/wrappers/formly-field-wrapper/formly-field-wrapper.component.d.ts +8 -8
- package/lib/components/form/formly/wrappers/formly-table-wrapper/formly-table-wrapper.component.d.ts +8 -8
- package/lib/components/form/formly/wrappers/index.d.ts +2 -2
- package/lib/components/form/index.d.ts +3 -3
- package/lib/components/form/models/form-editor.event.d.ts +5 -5
- package/lib/components/form/models/index.d.ts +1 -1
- package/lib/components/layout/breadcrumb.component.d.ts +8 -8
- package/lib/components/layout/footer.component.d.ts +9 -9
- package/lib/components/layout/index.d.ts +6 -6
- package/lib/components/layout/main-layout.component.d.ts +21 -21
- package/lib/components/layout/menu-item.component.d.ts +29 -29
- package/lib/components/layout/menu.component.d.ts +10 -10
- package/lib/components/layout/services/index.d.ts +1 -1
- package/lib/components/layout/services/main-layout.component.service.d.ts +65 -65
- package/lib/components/layout/topbar.component.d.ts +25 -25
- package/lib/components/tableview/index.d.ts +6 -5
- package/lib/components/tableview/models/index.d.ts +1 -1
- package/lib/components/tableview/models/table.event.d.ts +17 -17
- package/lib/components/tableview/route/tableview-route.abstract.component.d.ts +15 -14
- package/lib/components/tableview/route/tableview-route.component.d.ts +15 -0
- package/lib/components/tableview/services/index.d.ts +1 -1
- package/lib/components/tableview/services/tableview.component.service.d.ts +13 -13
- package/lib/components/tableview/table/column-filter/column-filter.component.d.ts +27 -22
- package/lib/components/tableview/table/column-value/column-value.component.d.ts +12 -12
- package/lib/components/tableview/table/table.component.d.ts +79 -79
- package/lib/components/tableview/tableview.component.d.ts +35 -35
- package/lib/config/formly.config.d.ts +14 -14
- package/lib/config/index.d.ts +1 -1
- package/lib/config/models/index.d.ts +1 -1
- package/lib/config/models/mng-config.model.d.ts +34 -34
- package/lib/data-providers/base.data-provider.d.ts +17 -17
- package/lib/data-providers/editor.data-provider.d.ts +25 -25
- package/lib/data-providers/index.d.ts +5 -5
- package/lib/data-providers/lookup.data-provider.d.ts +14 -14
- package/lib/data-providers/table.data-provider.d.ts +6 -6
- package/lib/data-providers/tableview.data-provider.d.ts +15 -15
- package/lib/descriptors/action.descriptor.d.ts +148 -148
- package/lib/descriptors/editor.descriptor.d.ts +255 -255
- package/lib/descriptors/field.validator.d.ts +18 -18
- package/lib/descriptors/index.d.ts +7 -7
- package/lib/descriptors/lookup.descriptor.d.ts +17 -17
- package/lib/descriptors/model.descriptor.d.ts +15 -15
- package/lib/descriptors/table.descriptor.d.ts +184 -164
- package/lib/descriptors/tableview.descriptor.d.ts +39 -39
- package/lib/directives/component.directive.d.ts +11 -11
- package/lib/directives/index.d.ts +2 -2
- package/lib/directives/template.directive.d.ts +13 -13
- package/lib/mng-commons.module.d.ts +80 -79
- package/lib/models/index.d.ts +1 -2
- package/lib/models/user.model.d.ts +8 -8
- package/lib/pipes/boolean.pipe.d.ts +7 -7
- package/lib/pipes/index.d.ts +2 -2
- package/lib/pipes/property-path.pipe.d.ts +7 -7
- package/lib/router/index.d.ts +1 -0
- package/lib/router/models/index.d.ts +1 -0
- package/lib/router/models/router.model.d.ts +22 -0
- package/lib/router/route-builder.d.ts +66 -0
- package/lib/services/action.service.d.ts +92 -92
- package/lib/services/commons.service.d.ts +72 -72
- package/lib/services/configuration.service.d.ts +35 -35
- package/lib/services/index.d.ts +4 -4
- package/lib/services/navigation.service.d.ts +14 -14
- package/lib/services/providers/commons-init.provider.d.ts +2 -2
- package/lib/services/providers/config-service.provider.d.ts +5 -5
- package/lib/services/providers/formly-config.provider.d.ts +4 -4
- package/lib/services/providers/index.d.ts +3 -3
- package/lib/services/tokens/browser-storage.token.d.ts +2 -2
- package/lib/services/tokens/index.d.ts +2 -2
- package/lib/services/tokens/module-config.token.d.ts +3 -3
- package/lib/types/index.d.ts +2 -2
- package/lib/types/type.decorator.d.ts +2 -2
- package/lib/types/type.model.d.ts +10 -10
- package/lib/utils/editor-formly.util.d.ts +9 -9
- package/lib/utils/i18n.util.d.ts +18 -18
- package/lib/utils/index.d.ts +5 -5
- package/lib/utils/model.util.d.ts +7 -7
- package/lib/utils/route.util.d.ts +4 -0
- package/lib/utils/toast.util.d.ts +13 -13
- package/lib/utils/type.util.d.ts +15 -15
- package/mediusinc-mng-commons.d.ts +5 -5
- package/package.json +4 -4
- package/public-api.d.ts +26 -25
- package/scss/common/layout/_exception.scss +1 -1
- package/esm2020/lib/models/router.model.mjs +0 -2
- package/lib/models/router.model.d.ts +0 -14
- package/mediusinc-mng-commons-0.2.0.tgz +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import 'reflect-metadata';
|
|
2
|
-
import { typeNameDecoratorPropertyName } from '../types';
|
|
3
|
-
export class TypeUtil {
|
|
4
|
-
static defineReflectTypeName(targetType, typeName) {
|
|
5
|
-
if (!typeName) {
|
|
6
|
-
typeName = TypeUtil.getDecoratorTypeName(targetType);
|
|
7
|
-
if (!typeName) {
|
|
8
|
-
console.warn(`Type name not provided for target ${targetType}, nor could be retrieved from decorator. Type name was not registered to reflect.`);
|
|
9
|
-
return;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
if (!Reflect.hasOwnMetadata(typeNameDecoratorPropertyName, targetType)) {
|
|
13
|
-
Reflect.defineMetadata(typeNameDecoratorPropertyName, typeName, targetType);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Gets type name from either decorator or reflect metadata.
|
|
18
|
-
* @param type Class.
|
|
19
|
-
*/
|
|
20
|
-
static findTypeName(type) {
|
|
21
|
-
let decoratorName = TypeUtil.getDecoratorTypeName(type);
|
|
22
|
-
if (decoratorName) {
|
|
23
|
-
return decoratorName;
|
|
24
|
-
}
|
|
25
|
-
decoratorName = Reflect.getMetadata(typeNameDecoratorPropertyName, type);
|
|
26
|
-
if (decoratorName) {
|
|
27
|
-
return decoratorName;
|
|
28
|
-
}
|
|
29
|
-
return type.name;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Get value from decorator defined property name
|
|
33
|
-
* @param type Class.
|
|
34
|
-
*/
|
|
35
|
-
static getDecoratorTypeName(type) {
|
|
36
|
-
return type[typeNameDecoratorPropertyName];
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
import { typeNameDecoratorPropertyName } from '../types';
|
|
3
|
+
export class TypeUtil {
|
|
4
|
+
static defineReflectTypeName(targetType, typeName) {
|
|
5
|
+
if (!typeName) {
|
|
6
|
+
typeName = TypeUtil.getDecoratorTypeName(targetType);
|
|
7
|
+
if (!typeName) {
|
|
8
|
+
console.warn(`Type name not provided for target ${targetType}, nor could be retrieved from decorator. Type name was not registered to reflect.`);
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
if (!Reflect.hasOwnMetadata(typeNameDecoratorPropertyName, targetType)) {
|
|
13
|
+
Reflect.defineMetadata(typeNameDecoratorPropertyName, typeName, targetType);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Gets type name from either decorator or reflect metadata.
|
|
18
|
+
* @param type Class.
|
|
19
|
+
*/
|
|
20
|
+
static findTypeName(type) {
|
|
21
|
+
let decoratorName = TypeUtil.getDecoratorTypeName(type);
|
|
22
|
+
if (decoratorName) {
|
|
23
|
+
return decoratorName;
|
|
24
|
+
}
|
|
25
|
+
decoratorName = Reflect.getMetadata(typeNameDecoratorPropertyName, type);
|
|
26
|
+
if (decoratorName) {
|
|
27
|
+
return decoratorName;
|
|
28
|
+
}
|
|
29
|
+
return type.name;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Get value from decorator defined property name
|
|
33
|
+
* @param type Class.
|
|
34
|
+
*/
|
|
35
|
+
static getDecoratorTypeName(type) {
|
|
36
|
+
return type[typeNameDecoratorPropertyName];
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZS51dGlsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpYi91dGlscy90eXBlLnV0aWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxrQkFBa0IsQ0FBQztBQUUxQixPQUFPLEVBQVksNkJBQTZCLEVBQUMsTUFBTSxVQUFVLENBQUM7QUFFbEUsTUFBTSxPQUFPLFFBQVE7SUFFVixNQUFNLENBQUMscUJBQXF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SBDbGFzcy5cbiAgICAgKi9cbiAgICBwdWJsaWMgc3RhdGljIGZpbmRUeXBlTmFtZSh0eXBlOiBDbGFzc1R5cGU8YW55Pik6IHN0cmluZyB7XG4gICAgICAgIGxldCBkZWNvcmF0b3JOYW1lID0gVHlwZVV0aWwuZ2V0RGVjb3JhdG9yVHlwZU5hbWUodHlwZSk7XG4gICAgICAgIGlmIChkZWNvcmF0b3JOYW1lKSB7XG4gICAgICAgICAgICByZXR1cm4gZGVjb3JhdG9yTmFtZTtcbiAgICAgICAgfVxuICAgICAgICBkZWNvcmF0b3JOYW1lID0gUmVmbGVjdC5nZXRNZXRhZGF0YSh0eXBlTmFtZURlY29yYXRvclByb3BlcnR5TmFtZSwgdHlwZSk7XG4gICAgICAgIGlmIChkZWNvcmF0b3JOYW1lKSB7XG4gICAgICAgICAgICByZXR1cm4gZGVjb3JhdG9yTmFtZTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gdHlwZS5uYW1lO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIEdldCB2YWx1ZSBmcm9tIGRlY29yYXRvciBkZWZpbmVkIHByb3BlcnR5IG5hbWVcbiAgICAgKiBAcGFyYW0gdHlwZSBDbGFzcy5cbiAgICAgKi9cbiAgICBwdWJsaWMgc3RhdGljIGdldERlY29yYXRvclR5cGVOYW1lKHR5cGU6IEZ1bmN0aW9uKTogc3RyaW5nfHVuZGVmaW5lZCB7XG4gICAgICAgIHJldHVybiAodHlwZSBhcyBhbnkpW3R5cGVOYW1lRGVjb3JhdG9yUHJvcGVydHlOYW1lXTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaXVzaW5jLW1uZy1jb21tb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL21lZGl1c2luYy1tbmctY29tbW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
package/esm2020/public-api.mjs
CHANGED
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of mng-commons
|
|
3
|
-
*/
|
|
4
|
-
// module
|
|
5
|
-
export * from './lib/mng-commons.module';
|
|
6
|
-
// services
|
|
7
|
-
export * from './lib/api/services';
|
|
8
|
-
export * from './lib/components/layout/services';
|
|
9
|
-
export * from './lib/components/tableview/services';
|
|
10
|
-
export * from './lib/services';
|
|
11
|
-
export * from './lib/services/providers';
|
|
12
|
-
// utils
|
|
13
|
-
export * from './lib/api/utils';
|
|
14
|
-
export * from './lib/utils';
|
|
15
|
-
// components
|
|
16
|
-
export * from './lib/components/action';
|
|
17
|
-
export * from './lib/components/form';
|
|
18
|
-
export * from './lib/components/form/formly/fields';
|
|
19
|
-
export * from './lib/components/form/formly/wrappers';
|
|
20
|
-
export * from './lib/components/layout';
|
|
21
|
-
export * from './lib/components/tableview';
|
|
22
|
-
// directives
|
|
23
|
-
export * from './lib/directives';
|
|
24
|
-
// pipes
|
|
25
|
-
export * from './lib/pipes';
|
|
26
|
-
// models&other
|
|
27
|
-
export * from './lib/api/models';
|
|
28
|
-
export * from './lib/components/action/models';
|
|
29
|
-
export * from './lib/components/form/models';
|
|
30
|
-
export * from './lib/config/models';
|
|
31
|
-
export * from './lib/config';
|
|
32
|
-
export * from './lib/data-providers';
|
|
33
|
-
export * from './lib/descriptors';
|
|
34
|
-
export * from './lib/models';
|
|
35
|
-
export * from './lib/
|
|
36
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Public API Surface of mng-commons
|
|
3
|
+
*/
|
|
4
|
+
// module
|
|
5
|
+
export * from './lib/mng-commons.module';
|
|
6
|
+
// services
|
|
7
|
+
export * from './lib/api/services';
|
|
8
|
+
export * from './lib/components/layout/services';
|
|
9
|
+
export * from './lib/components/tableview/services';
|
|
10
|
+
export * from './lib/services';
|
|
11
|
+
export * from './lib/services/providers';
|
|
12
|
+
// utils
|
|
13
|
+
export * from './lib/api/utils';
|
|
14
|
+
export * from './lib/utils';
|
|
15
|
+
// components
|
|
16
|
+
export * from './lib/components/action';
|
|
17
|
+
export * from './lib/components/form';
|
|
18
|
+
export * from './lib/components/form/formly/fields';
|
|
19
|
+
export * from './lib/components/form/formly/wrappers';
|
|
20
|
+
export * from './lib/components/layout';
|
|
21
|
+
export * from './lib/components/tableview';
|
|
22
|
+
// directives
|
|
23
|
+
export * from './lib/directives';
|
|
24
|
+
// pipes
|
|
25
|
+
export * from './lib/pipes';
|
|
26
|
+
// models&other
|
|
27
|
+
export * from './lib/api/models';
|
|
28
|
+
export * from './lib/components/action/models';
|
|
29
|
+
export * from './lib/components/form/models';
|
|
30
|
+
export * from './lib/config/models';
|
|
31
|
+
export * from './lib/config';
|
|
32
|
+
export * from './lib/data-providers';
|
|
33
|
+
export * from './lib/descriptors';
|
|
34
|
+
export * from './lib/models';
|
|
35
|
+
export * from './lib/router';
|
|
36
|
+
export * from './lib/types';
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzI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