@mediusinc/mng-commons 7.2.1 → 7.3.0-rc.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/fesm2022/mediusinc-mng-commons-core.mjs +48 -10
- package/fesm2022/mediusinc-mng-commons-core.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-form.mjs +2 -4
- package/fesm2022/mediusinc-mng-commons-form.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-table-api.mjs.map +1 -1
- package/fesm2022/{mediusinc-mng-commons-table-column-toggle.component-BZU9-ZJV.mjs → mediusinc-mng-commons-table-column-toggle.component-4BDcYyDd.mjs} +2 -2
- package/fesm2022/{mediusinc-mng-commons-table-column-toggle.component-BZU9-ZJV.mjs.map → mediusinc-mng-commons-table-column-toggle.component-4BDcYyDd.mjs.map} +1 -1
- package/fesm2022/{mediusinc-mng-commons-table-mediusinc-mng-commons-table-D-cGtZ6e.mjs → mediusinc-mng-commons-table-mediusinc-mng-commons-table-DoXp48ZT.mjs} +28 -12
- package/fesm2022/mediusinc-mng-commons-table-mediusinc-mng-commons-table-DoXp48ZT.mjs.map +1 -0
- package/fesm2022/mediusinc-mng-commons-table.mjs +1 -1
- package/fesm2022/mediusinc-mng-commons-tableview-api.mjs +18 -0
- package/fesm2022/mediusinc-mng-commons-tableview-api.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-tableview.mjs +27 -11
- package/fesm2022/mediusinc-mng-commons-tableview.mjs.map +1 -1
- package/i18n/en.json +2 -1
- package/i18n/sl.json +2 -1
- package/package.json +1 -1
- package/types/mediusinc-mng-commons-core.d.ts +5 -0
- package/types/mediusinc-mng-commons-table.d.ts +5 -2
- package/types/mediusinc-mng-commons-tableview-api.d.ts +12 -2
- package/types/mediusinc-mng-commons-tableview.d.ts +4 -1
- package/version-info.json +5 -5
- package/fesm2022/mediusinc-mng-commons-table-mediusinc-mng-commons-table-D-cGtZ6e.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { B as ADataListMetaService, A as ADataListService, D as COMMONS_TABLE_FEATURE_CONFIG_IT, F as FilterService, y as FilterValuePipe, L as LocaleDefaultRowClassPipe, c as TableColumnValueComponent, h as TableComponent, C as TableDataService, d as TableFilterActiveTagComponent, z as TableFilterClassPipe, b as TableFilterComponent, e as TableFilterFormComponent, f as TableHeaderWithFiltersComponent, g as TableHeaderWithFiltersTemplateDirective, i as TableTemplateDirective, s as createFilterDescriptorsFromGeneric, p as filterAdjustDisplayValueOnMatchModeChange, o as filterApplySerializationConfigToCmp, n as filterAreDatesEqual, j as filterGenerateMatchModeOptions, q as filterGetDateConfig, k as filterGetDefaultMatchMode, r as filterGetNumberConfig, l as filterSetStateOnChange, m as filterSetStateOnDisplayChange, x as generateTableLayoutPrefsKey, t as isFilterValueBlank, G as provideTableChild, v as tableCreateFilterState, w as tableCreateSortState, u as tableNotificationError, E as withTable } from './mediusinc-mng-commons-table-mediusinc-mng-commons-table-
|
|
1
|
+
export { B as ADataListMetaService, A as ADataListService, D as COMMONS_TABLE_FEATURE_CONFIG_IT, F as FilterService, y as FilterValuePipe, L as LocaleDefaultRowClassPipe, c as TableColumnValueComponent, h as TableComponent, C as TableDataService, d as TableFilterActiveTagComponent, z as TableFilterClassPipe, b as TableFilterComponent, e as TableFilterFormComponent, f as TableHeaderWithFiltersComponent, g as TableHeaderWithFiltersTemplateDirective, i as TableTemplateDirective, s as createFilterDescriptorsFromGeneric, p as filterAdjustDisplayValueOnMatchModeChange, o as filterApplySerializationConfigToCmp, n as filterAreDatesEqual, j as filterGenerateMatchModeOptions, q as filterGetDateConfig, k as filterGetDefaultMatchMode, r as filterGetNumberConfig, l as filterSetStateOnChange, m as filterSetStateOnDisplayChange, x as generateTableLayoutPrefsKey, t as isFilterValueBlank, G as provideTableChild, v as tableCreateFilterState, w as tableCreateSortState, u as tableNotificationError, E as withTable } from './mediusinc-mng-commons-table-mediusinc-mng-commons-table-DoXp48ZT.mjs';
|
|
2
2
|
//# sourceMappingURL=mediusinc-mng-commons-table.mjs.map
|
|
@@ -3294,6 +3294,12 @@ class TableviewDescriptorInst {
|
|
|
3294
3294
|
get model() {
|
|
3295
3295
|
return this._model;
|
|
3296
3296
|
}
|
|
3297
|
+
get queryParamsEnabled() {
|
|
3298
|
+
return this._queryParamsEnabled;
|
|
3299
|
+
}
|
|
3300
|
+
get queryParamPrepend() {
|
|
3301
|
+
return this._queryParamPrepend;
|
|
3302
|
+
}
|
|
3297
3303
|
isLocalized() {
|
|
3298
3304
|
return this._isLocalized;
|
|
3299
3305
|
}
|
|
@@ -3581,6 +3587,16 @@ class TableviewDescriptorInst {
|
|
|
3581
3587
|
this._editEditor.addFieldGroup(name, title);
|
|
3582
3588
|
return this;
|
|
3583
3589
|
}
|
|
3590
|
+
/**
|
|
3591
|
+
* Sets query params are enabled for filters and sort. And sets queryParams prepend.
|
|
3592
|
+
* @param enabled
|
|
3593
|
+
* @param prepend
|
|
3594
|
+
*/
|
|
3595
|
+
withTableQueryParams(enabled, prepend) {
|
|
3596
|
+
this._queryParamsEnabled = enabled;
|
|
3597
|
+
this._queryParamPrepend = prepend;
|
|
3598
|
+
return this;
|
|
3599
|
+
}
|
|
3584
3600
|
copy() {
|
|
3585
3601
|
const tableview = new TableviewDescriptorInst(this._model.copy());
|
|
3586
3602
|
tableview._table = this._table.copy();
|
|
@@ -3588,6 +3604,8 @@ class TableviewDescriptorInst {
|
|
|
3588
3604
|
tableview._addEditor = this._addEditor.copy();
|
|
3589
3605
|
tableview._editEditor = this._editEditor.copy();
|
|
3590
3606
|
tableview._isLocalized = this._isLocalized;
|
|
3607
|
+
tableview._queryParamsEnabled = this._queryParamsEnabled;
|
|
3608
|
+
tableview._queryParamPrepend = this._queryParamPrepend;
|
|
3591
3609
|
return tableview;
|
|
3592
3610
|
}
|
|
3593
3611
|
localized(property, model, localeProperty) {
|