@mediusinc/mng-commons 7.1.0 → 7.2.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.
- package/fesm2022/mediusinc-mng-commons-filter.mjs +28 -4
- package/fesm2022/mediusinc-mng-commons-filter.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-form.mjs +28 -57
- package/fesm2022/mediusinc-mng-commons-form.mjs.map +1 -1
- package/fesm2022/{mediusinc-mng-commons-table-column-toggle.component-By6V0r5v.mjs → mediusinc-mng-commons-table-column-toggle.component-C9kHux4U.mjs} +2 -2
- package/fesm2022/{mediusinc-mng-commons-table-column-toggle.component-By6V0r5v.mjs.map → mediusinc-mng-commons-table-column-toggle.component-C9kHux4U.mjs.map} +1 -1
- package/fesm2022/{mediusinc-mng-commons-table-mediusinc-mng-commons-table-Bl_OBqxe.mjs → mediusinc-mng-commons-table-mediusinc-mng-commons-table-BDzq5vNu.mjs} +128 -113
- package/fesm2022/mediusinc-mng-commons-table-mediusinc-mng-commons-table-BDzq5vNu.mjs.map +1 -0
- package/fesm2022/mediusinc-mng-commons-table.mjs +1 -1
- package/fesm2022/mediusinc-mng-commons-tableview-api.mjs +22 -3
- package/fesm2022/mediusinc-mng-commons-tableview-api.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-tableview.mjs +4 -4
- package/fesm2022/mediusinc-mng-commons-tableview.mjs.map +1 -1
- package/package.json +1 -1
- package/types/mediusinc-mng-commons-filter.d.ts +22 -5
- package/types/mediusinc-mng-commons-form.d.ts +1 -0
- package/types/mediusinc-mng-commons-table.d.ts +2 -0
- package/types/mediusinc-mng-commons-tableview-api.d.ts +17 -4
- package/version-info.json +5 -5
- package/fesm2022/mediusinc-mng-commons-table-mediusinc-mng-commons-table-Bl_OBqxe.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as ADataListService, C as COMMONS_TABLE_FEATURE_CONFIG_IT, F as FilterService, y as FilterValuePipe, L as LocaleDefaultRowClassPipe, c as TableColumnValueComponent, h as TableComponent, B 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, E as provideTableChild, v as tableCreateFilterState, w as tableCreateSortState, u as tableNotificationError, D as withTable } from './mediusinc-mng-commons-table-mediusinc-mng-commons-table-
|
|
1
|
+
export { A as ADataListService, C as COMMONS_TABLE_FEATURE_CONFIG_IT, F as FilterService, y as FilterValuePipe, L as LocaleDefaultRowClassPipe, c as TableColumnValueComponent, h as TableComponent, B 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, E as provideTableChild, v as tableCreateFilterState, w as tableCreateSortState, u as tableNotificationError, D as withTable } from './mediusinc-mng-commons-table-mediusinc-mng-commons-table-BDzq5vNu.mjs';
|
|
2
2
|
//# sourceMappingURL=mediusinc-mng-commons-table.mjs.map
|
|
@@ -1838,11 +1838,20 @@ class FieldLookupDescriptor extends AFieldDescriptor {
|
|
|
1838
1838
|
get dataProvider() {
|
|
1839
1839
|
return this._dataProvider;
|
|
1840
1840
|
}
|
|
1841
|
+
get inlineSearch() {
|
|
1842
|
+
return this._inlineSearch;
|
|
1843
|
+
}
|
|
1844
|
+
get dropdownAllowInput() {
|
|
1845
|
+
return this._dropdownAllowInput;
|
|
1846
|
+
}
|
|
1841
1847
|
get autocompleteOpenOnFocus() {
|
|
1842
1848
|
return this._autocompleteOpenOnFocus;
|
|
1843
1849
|
}
|
|
1850
|
+
/**
|
|
1851
|
+
* @deprecated Use `inlineSearch` instead.
|
|
1852
|
+
*/
|
|
1844
1853
|
get autocompleteInlineSearch() {
|
|
1845
|
-
return this.
|
|
1854
|
+
return this._inlineSearch;
|
|
1846
1855
|
}
|
|
1847
1856
|
get autocompleteAutoClear() {
|
|
1848
1857
|
return this._autocompleteAutoClear;
|
|
@@ -1908,14 +1917,23 @@ class FieldLookupDescriptor extends AFieldDescriptor {
|
|
|
1908
1917
|
this._dialogTitle = title;
|
|
1909
1918
|
return this;
|
|
1910
1919
|
}
|
|
1920
|
+
asDropdown(opts) {
|
|
1921
|
+
this._lookupType = FieldLookupTypeEnum.Dropdown;
|
|
1922
|
+
this._dropdownAllowInput = opts?.allowInput;
|
|
1923
|
+
this.#setCommonProps(opts);
|
|
1924
|
+
return this;
|
|
1925
|
+
}
|
|
1911
1926
|
asAutocomplete(opts) {
|
|
1912
1927
|
this._lookupType = FieldLookupTypeEnum.Autocomplete;
|
|
1913
1928
|
this._autocompleteAutoClear = opts?.autoClear;
|
|
1914
1929
|
this._autocompleteSelectFirst = opts?.selectFirst;
|
|
1915
1930
|
this._autocompleteOpenOnFocus = opts?.openOnFocus;
|
|
1916
|
-
this
|
|
1931
|
+
this.#setCommonProps(opts);
|
|
1917
1932
|
return this;
|
|
1918
1933
|
}
|
|
1934
|
+
#setCommonProps(opts) {
|
|
1935
|
+
this._inlineSearch = opts?.inlineSearch;
|
|
1936
|
+
}
|
|
1919
1937
|
asDialog(lookupTableDescriptor, tableDataProvider, dialogTitle) {
|
|
1920
1938
|
this._lookupType = FieldLookupTypeEnum.Dialog;
|
|
1921
1939
|
this._dialogTableDescriptor = lookupTableDescriptor;
|
|
@@ -1944,8 +1962,9 @@ class FieldLookupDescriptor extends AFieldDescriptor {
|
|
|
1944
1962
|
field._optionsDisabledProperty = this._optionsDisabledProperty;
|
|
1945
1963
|
field._optionsTrackProperty = this._optionsTrackProperty;
|
|
1946
1964
|
field._dropdownClassName = this._dropdownClassName;
|
|
1965
|
+
field._inlineSearch = this._inlineSearch;
|
|
1966
|
+
field._dropdownAllowInput = this._dropdownAllowInput;
|
|
1947
1967
|
field._autocompleteOpenOnFocus = this._autocompleteOpenOnFocus;
|
|
1948
|
-
field._autocompleteInlineSearch = this._autocompleteInlineSearch;
|
|
1949
1968
|
field._dialogTableDescriptor = this._dialogTableDescriptor;
|
|
1950
1969
|
field._dialogTitle = this._dialogTitle;
|
|
1951
1970
|
return field;
|