@mediusinc/mng-commons 7.3.0 → 7.4.0-rc.0

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.
Files changed (24) hide show
  1. package/fesm2022/mediusinc-mng-commons-core.mjs +4 -3
  2. package/fesm2022/mediusinc-mng-commons-core.mjs.map +1 -1
  3. package/fesm2022/mediusinc-mng-commons-filter.mjs +10 -0
  4. package/fesm2022/mediusinc-mng-commons-filter.mjs.map +1 -1
  5. package/fesm2022/mediusinc-mng-commons-form-api.mjs +21 -0
  6. package/fesm2022/mediusinc-mng-commons-form-api.mjs.map +1 -1
  7. package/fesm2022/mediusinc-mng-commons-form.mjs +181 -23
  8. package/fesm2022/mediusinc-mng-commons-form.mjs.map +1 -1
  9. package/fesm2022/{mediusinc-mng-commons-table-column-toggle.component-4BDcYyDd.mjs → mediusinc-mng-commons-table-column-toggle.component-D7fm83ug.mjs} +2 -2
  10. package/fesm2022/{mediusinc-mng-commons-table-column-toggle.component-4BDcYyDd.mjs.map → mediusinc-mng-commons-table-column-toggle.component-D7fm83ug.mjs.map} +1 -1
  11. package/fesm2022/{mediusinc-mng-commons-table-mediusinc-mng-commons-table-DoXp48ZT.mjs → mediusinc-mng-commons-table-mediusinc-mng-commons-table-Czmm5fLT.mjs} +45 -9
  12. package/fesm2022/mediusinc-mng-commons-table-mediusinc-mng-commons-table-Czmm5fLT.mjs.map +1 -0
  13. package/fesm2022/mediusinc-mng-commons-table.mjs +1 -1
  14. package/fesm2022/mediusinc-mng-commons-tableview-api.mjs +10 -0
  15. package/fesm2022/mediusinc-mng-commons-tableview-api.mjs.map +1 -1
  16. package/package.json +1 -1
  17. package/types/mediusinc-mng-commons-core.d.ts +14 -4
  18. package/types/mediusinc-mng-commons-filter.d.ts +8 -1
  19. package/types/mediusinc-mng-commons-form-api.d.ts +14 -1
  20. package/types/mediusinc-mng-commons-form.d.ts +36 -3
  21. package/types/mediusinc-mng-commons-table.d.ts +2 -0
  22. package/types/mediusinc-mng-commons-tableview-api.d.ts +8 -1
  23. package/version-info.json +6 -6
  24. package/fesm2022/mediusinc-mng-commons-table-mediusinc-mng-commons-table-DoXp48ZT.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-DoXp48ZT.mjs';
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-Czmm5fLT.mjs';
2
2
  //# sourceMappingURL=mediusinc-mng-commons-table.mjs.map
@@ -1906,6 +1906,16 @@ class FieldLookupDescriptor extends AFieldDescriptor {
1906
1906
  this._dataProvider.withLookup(lookup);
1907
1907
  return this;
1908
1908
  }
1909
+ /**
1910
+ * Sets the cache configuration.
1911
+ * @param enabled If cache is enabled. Defaults to true.
1912
+ * @param opts.ttl Time-to-live in seconds.
1913
+ * @param opts.key Key to use for caching. Defaults to data provider instance.
1914
+ */
1915
+ withCache(enabled, opts) {
1916
+ this._dataProvider.withCache(enabled, opts);
1917
+ return this;
1918
+ }
1909
1919
  withInputTrim(trimOption = 'both') {
1910
1920
  this._autocompleteInputTrim = trimOption;
1911
1921
  return this;