@mediusinc/mng-commons 6.0.0 → 6.1.0-rc.1
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/core/action/action-parameters.model.d.ts +27 -0
- package/core/pipes/parametrize.pipe.d.ts +5 -1
- package/fesm2022/mediusinc-mng-commons-core.mjs +74 -68
- package/fesm2022/mediusinc-mng-commons-core.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-form.mjs +19 -19
- package/fesm2022/mediusinc-mng-commons-form.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-table-api.mjs +8 -2
- package/fesm2022/mediusinc-mng-commons-table-api.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-table-column-toggle.component-CCyGSxaD.mjs +30 -0
- package/fesm2022/{mediusinc-mng-commons-table-column-toggle.component-a8KG1NIX.mjs.map → mediusinc-mng-commons-table-column-toggle.component-CCyGSxaD.mjs.map} +1 -1
- package/fesm2022/{mediusinc-mng-commons-table-mediusinc-mng-commons-table-C2vrMoNL.mjs → mediusinc-mng-commons-table-mediusinc-mng-commons-table-8TdW6NCC.mjs} +59 -44
- package/fesm2022/mediusinc-mng-commons-table-mediusinc-mng-commons-table-8TdW6NCC.mjs.map +1 -0
- package/fesm2022/mediusinc-mng-commons-table.mjs +1 -1
- package/fesm2022/mediusinc-mng-commons-tableview-api.mjs +5 -4
- package/fesm2022/mediusinc-mng-commons-tableview-api.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-tableview.mjs +192 -161
- package/fesm2022/mediusinc-mng-commons-tableview.mjs.map +1 -1
- package/package.json +2 -2
- package/table/api/descriptors/column.descriptor.d.ts +7 -1
- package/table/components/column-value/column-value.component.d.ts +5 -0
- package/table/components/table/table.component.d.ts +1 -1
- package/table/services/table-data.service.d.ts +1 -0
- package/tableview/action/components/action/action.component.d.ts +1 -1
- package/tableview/action/components/editor/action-editor.component.d.ts +2 -2
- package/tableview/action/components/editor/injector-context/action-editor-injector-context.component.d.ts +3 -2
- package/tableview/action/helpers/action-execution.d.ts +1 -1
- package/tableview/action/helpers/inject.d.ts +39 -0
- package/tableview/action/helpers/styles.d.ts +1 -1
- package/tableview/action/models/execution/action-instance.model.d.ts +1 -1
- package/tableview/action/services/view-container.service.d.ts +1 -1
- package/tableview/api/action/descriptors/action-editor-descriptor.factory.d.ts +1 -1
- package/tableview/api/action/descriptors/action-editor.descriptor.d.ts +14 -14
- package/tableview/api/action/descriptors/action.descriptor.d.ts +6 -6
- package/tableview/api/action/descriptors/editor-action-descriptor.factory.d.ts +1 -1
- package/tableview/api/action/descriptors/editor-action-editor-descriptor.factory.d.ts +1 -1
- package/tableview/api/action/descriptors/table-action-editor-descriptor.factory.d.ts +4 -4
- package/tableview/api/action/models/action-component.model.d.ts +1 -1
- package/tableview/api/action/models/action-confirmation.model.d.ts +2 -2
- package/tableview/api/action/models/action-descriptor.types.d.ts +2 -1
- package/tableview/api/action/models/execution/action-context.model.d.ts +2 -1
- package/tableview/api/action/models/execution/view-container.model.d.ts +1 -1
- package/tableview/api/editor/descriptors/field-many.descriptor.d.ts +2 -2
- package/tableview/api/editor/models/form-editor.interface.d.ts +4 -4
- package/tableview/editor/components/editor/form-editor.component.d.ts +2 -1
- package/tableview/editor/components/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.d.ts +2 -2
- package/tableview/index.d.ts +1 -0
- package/tableview/tableview/components/tableview/tableview.component.d.ts +5 -3
- package/version-info.json +5 -5
- package/fesm2022/mediusinc-mng-commons-table-column-toggle.component-a8KG1NIX.mjs +0 -30
- package/fesm2022/mediusinc-mng-commons-table-mediusinc-mng-commons-table-C2vrMoNL.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { C as COMMONS_TABLE_FEATURE_CONFIG_IT, F as FilterValuePipe, L as LocaleDefaultRowClassPipe, s as TableColumnFilterClassPipe, b as TableColumnFilterComponent, c as TableColumnValueComponent, g as TableComponent, u as TableDataService, d as TableFilterActiveTagComponent, e as TableFilterFormComponent, f as TableFilterOverlayWithTagComponent, q as createFilterDescriptorsFromGeneric, n as filterAdjustDisplayValueOnMatchModeChange, m as filterApplySerializationConfigToCmp, l as filterAreDatesEqual, h as filterGenerateMatchModeOptions, o as filterGetDateConfig, i as filterGetDefaultMatchMode, p as filterGetNumberConfig, j as filterSetMetadataOnChange, k as filterSetMetadataOnDisplayChange, r as generateTableLayoutPrefsKey, v as provideTableChild, t as tableNotificationError, w as withTable } from './mediusinc-mng-commons-table-mediusinc-mng-commons-table-
|
|
1
|
+
export { C as COMMONS_TABLE_FEATURE_CONFIG_IT, F as FilterValuePipe, L as LocaleDefaultRowClassPipe, s as TableColumnFilterClassPipe, b as TableColumnFilterComponent, c as TableColumnValueComponent, g as TableComponent, u as TableDataService, d as TableFilterActiveTagComponent, e as TableFilterFormComponent, f as TableFilterOverlayWithTagComponent, q as createFilterDescriptorsFromGeneric, n as filterAdjustDisplayValueOnMatchModeChange, m as filterApplySerializationConfigToCmp, l as filterAreDatesEqual, h as filterGenerateMatchModeOptions, o as filterGetDateConfig, i as filterGetDefaultMatchMode, p as filterGetNumberConfig, j as filterSetMetadataOnChange, k as filterSetMetadataOnDisplayChange, r as generateTableLayoutPrefsKey, v as provideTableChild, t as tableNotificationError, w as withTable } from './mediusinc-mng-commons-table-mediusinc-mng-commons-table-8TdW6NCC.mjs';
|
|
2
2
|
//# sourceMappingURL=mediusinc-mng-commons-table.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { of, Subject, isObservable, throwError, map, tap } from 'rxjs';
|
|
2
2
|
import { StyleLevelEnum, CommonsInternalError, DataProviderInst, LoggerService, findReflectTypeName, StyleSizeEnum, ACommonsErrorBase, toObservable, fromEnumValuesAsValueArray, fromEnumConstantsAsValueArray, getEnumConstantName, GetterPipe, copyDataListParams } from '@mediusinc/mng-commons/core';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { InjectionToken,
|
|
4
|
+
import { InjectionToken, Input, Directive, inject, Injector } from '@angular/core';
|
|
5
5
|
import { LookupDataProviderInst } from '@mediusinc/mng-commons/form/api';
|
|
6
6
|
import { TableDataProviderInst, TableDescriptorInst, TableDynamicDescriptorInst } from '@mediusinc/mng-commons/table/api';
|
|
7
7
|
import { model, ModelDescriptor } from '@mediusinc/mng-commons/model';
|
|
@@ -2043,6 +2043,7 @@ class FieldManyEditorDescriptor extends AFieldDescriptor {
|
|
|
2043
2043
|
super(property);
|
|
2044
2044
|
this._fieldType = FieldManyEditorTypeEnum.DialogEditor;
|
|
2045
2045
|
this._fieldActions = [];
|
|
2046
|
+
// we allow any action (item is not defined, the same goes for other generics). Developer should define types depending on action's specifics
|
|
2046
2047
|
this._actions = [];
|
|
2047
2048
|
this._tableviewDescriptor = tableviewDescriptor;
|
|
2048
2049
|
this._fieldActions.push(FieldManyEditorActionEnum.View, FieldManyEditorActionEnum.Add, FieldManyEditorActionEnum.Edit, FieldManyEditorActionEnum.Delete);
|
|
@@ -3020,10 +3021,10 @@ class AFormlyCustomFieldComponent extends FieldType {
|
|
|
3020
3021
|
get formState() {
|
|
3021
3022
|
return this._formState;
|
|
3022
3023
|
}
|
|
3023
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
3024
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
3024
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AFormlyCustomFieldComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3025
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.10", type: AFormlyCustomFieldComponent, isStandalone: true, inputs: { field: "field", _model: ["model", "_model"], _form: ["form", "_form"], _options: ["options", "_options"], _key: ["key", "_key"], _formControl: ["formControl", "_formControl"], _props: ["props", "_props"], _showError: ["showError", "_showError"], _id: ["id", "_id"], _formState: ["formState", "_formState"] }, usesInheritance: true, ngImport: i0 }); }
|
|
3025
3026
|
}
|
|
3026
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
3027
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AFormlyCustomFieldComponent, decorators: [{
|
|
3027
3028
|
type: Directive
|
|
3028
3029
|
}], propDecorators: { field: [{
|
|
3029
3030
|
type: Input,
|