@mediusinc/mng-commons 7.3.0 → 7.4.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/fesm2022/mediusinc-mng-commons-core.mjs +4 -3
- package/fesm2022/mediusinc-mng-commons-core.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-filter.mjs +19 -3
- package/fesm2022/mediusinc-mng-commons-filter.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-form-api.mjs +21 -0
- package/fesm2022/mediusinc-mng-commons-form-api.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-form.mjs +437 -235
- package/fesm2022/mediusinc-mng-commons-form.mjs.map +1 -1
- package/fesm2022/{mediusinc-mng-commons-table-column-toggle.component-4BDcYyDd.mjs → mediusinc-mng-commons-table-column-toggle.component-bggQruAI.mjs} +2 -2
- package/fesm2022/{mediusinc-mng-commons-table-column-toggle.component-4BDcYyDd.mjs.map → mediusinc-mng-commons-table-column-toggle.component-bggQruAI.mjs.map} +1 -1
- package/fesm2022/{mediusinc-mng-commons-table-mediusinc-mng-commons-table-DoXp48ZT.mjs → mediusinc-mng-commons-table-mediusinc-mng-commons-table-SYFYosV_.mjs} +66 -14
- package/fesm2022/mediusinc-mng-commons-table-mediusinc-mng-commons-table-SYFYosV_.mjs.map +1 -0
- package/fesm2022/mediusinc-mng-commons-table.mjs +1 -1
- package/fesm2022/mediusinc-mng-commons-tableview-api.mjs +19 -3
- package/fesm2022/mediusinc-mng-commons-tableview-api.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-tableview.mjs +5 -4
- package/fesm2022/mediusinc-mng-commons-tableview.mjs.map +1 -1
- package/i18n/en.json +4 -1
- package/i18n/sl.json +5 -1
- package/package.json +1 -1
- package/types/mediusinc-mng-commons-core.d.ts +14 -4
- package/types/mediusinc-mng-commons-filter.d.ts +14 -4
- package/types/mediusinc-mng-commons-form-api.d.ts +14 -1
- package/types/mediusinc-mng-commons-form.d.ts +83 -78
- package/types/mediusinc-mng-commons-table.d.ts +6 -1
- package/types/mediusinc-mng-commons-tableview-api.d.ts +14 -4
- package/version-info.json +6 -6
- 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-
|
|
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-SYFYosV_.mjs';
|
|
2
2
|
//# sourceMappingURL=mediusinc-mng-commons-table.mjs.map
|
|
@@ -1841,8 +1841,14 @@ class FieldLookupDescriptor extends AFieldDescriptor {
|
|
|
1841
1841
|
get inlineSearch() {
|
|
1842
1842
|
return this._inlineSearch;
|
|
1843
1843
|
}
|
|
1844
|
+
/**
|
|
1845
|
+
* @deprecated Use `allowInput` instead.
|
|
1846
|
+
*/
|
|
1844
1847
|
get dropdownAllowInput() {
|
|
1845
|
-
return this.
|
|
1848
|
+
return this._allowInput;
|
|
1849
|
+
}
|
|
1850
|
+
get allowInput() {
|
|
1851
|
+
return this._allowInput;
|
|
1846
1852
|
}
|
|
1847
1853
|
get autocompleteOpenOnFocus() {
|
|
1848
1854
|
return this._autocompleteOpenOnFocus;
|
|
@@ -1906,6 +1912,16 @@ class FieldLookupDescriptor extends AFieldDescriptor {
|
|
|
1906
1912
|
this._dataProvider.withLookup(lookup);
|
|
1907
1913
|
return this;
|
|
1908
1914
|
}
|
|
1915
|
+
/**
|
|
1916
|
+
* Sets the cache configuration.
|
|
1917
|
+
* @param enabled If cache is enabled. Defaults to true.
|
|
1918
|
+
* @param opts.ttl Time-to-live in seconds.
|
|
1919
|
+
* @param opts.key Key to use for caching. Defaults to data provider instance.
|
|
1920
|
+
*/
|
|
1921
|
+
withCache(enabled, opts) {
|
|
1922
|
+
this._dataProvider.withCache(enabled, opts);
|
|
1923
|
+
return this;
|
|
1924
|
+
}
|
|
1909
1925
|
withInputTrim(trimOption = 'both') {
|
|
1910
1926
|
this._autocompleteInputTrim = trimOption;
|
|
1911
1927
|
return this;
|
|
@@ -1919,7 +1935,6 @@ class FieldLookupDescriptor extends AFieldDescriptor {
|
|
|
1919
1935
|
}
|
|
1920
1936
|
asDropdown(opts) {
|
|
1921
1937
|
this._lookupType = FieldLookupTypeEnum.Dropdown;
|
|
1922
|
-
this._dropdownAllowInput = opts?.allowInput;
|
|
1923
1938
|
this.#setCommonProps(opts);
|
|
1924
1939
|
return this;
|
|
1925
1940
|
}
|
|
@@ -1933,6 +1948,7 @@ class FieldLookupDescriptor extends AFieldDescriptor {
|
|
|
1933
1948
|
}
|
|
1934
1949
|
#setCommonProps(opts) {
|
|
1935
1950
|
this._inlineSearch = opts?.inlineSearch;
|
|
1951
|
+
this._allowInput = opts?.allowInput;
|
|
1936
1952
|
}
|
|
1937
1953
|
asDialog(lookupTableDescriptor, tableDataProvider, dialogTitle) {
|
|
1938
1954
|
this._lookupType = FieldLookupTypeEnum.Dialog;
|
|
@@ -1963,7 +1979,7 @@ class FieldLookupDescriptor extends AFieldDescriptor {
|
|
|
1963
1979
|
field._optionsTrackProperty = this._optionsTrackProperty;
|
|
1964
1980
|
field._dropdownClassName = this._dropdownClassName;
|
|
1965
1981
|
field._inlineSearch = this._inlineSearch;
|
|
1966
|
-
field.
|
|
1982
|
+
field._allowInput = this._allowInput;
|
|
1967
1983
|
field._autocompleteOpenOnFocus = this._autocompleteOpenOnFocus;
|
|
1968
1984
|
field._dialogTableDescriptor = this._dialogTableDescriptor;
|
|
1969
1985
|
field._dialogTitle = this._dialogTitle;
|