ids-enterprise-ng 21.0.7 → 21.0.8

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.
@@ -8942,6 +8942,18 @@ class SohoDataGridComponent {
8942
8942
  }
8943
8943
  return this._gridOptions.headerTabStops;
8944
8944
  }
8945
+ set suppressNonInteractiveFocus(suppressNonInteractiveFocus) {
8946
+ this._gridOptions.suppressNonInteractiveFocus = suppressNonInteractiveFocus;
8947
+ if (this.jQueryElement && this.datagrid) {
8948
+ this.datagrid.settings.suppressNonInteractiveFocus = suppressNonInteractiveFocus;
8949
+ }
8950
+ }
8951
+ get suppressNonInteractiveFocus() {
8952
+ if (this.datagrid) {
8953
+ return this.datagrid.settings.suppressNonInteractiveFocus;
8954
+ }
8955
+ return this._gridOptions.suppressNonInteractiveFocus;
8956
+ }
8945
8957
  set showEditorIcons(showEditorIcons) {
8946
8958
  this._gridOptions.showEditorIcons = showEditorIcons;
8947
8959
  if (this.jQueryElement && this.datagrid) {
@@ -10783,7 +10795,7 @@ class SohoDataGridComponent {
10783
10795
  }
10784
10796
  }
10785
10797
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SohoDataGridComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }, { token: SohoDataGridService, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
10786
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.8", type: SohoDataGridComponent, isStandalone: false, selector: "[soho-datagrid]", inputs: { gridOptions: "gridOptions", idProperty: "idProperty", ellipsisWithIcon: "ellipsisWithIcon", ariaLabel: "ariaLabel", frozenColumns: "frozenColumns", cellNavigation: "cellNavigation", rowNavigation: "rowNavigation", alternateRowShading: "alternateRowShading", dataset: "dataset", columnReorder: "columnReorder", disableClientSort: "disableClientSort", disableClientFilter: "disableClientFilter", resultsText: "resultsText", showFilterTotal: "showFilterTotal", editable: "editable", isRowDisabled: "isRowDisabled", allowOneExpandedRow: "allowOneExpandedRow", rowTemplate: "rowTemplate", rowTemplateComponent: "rowTemplateComponent", rowTemplateComponentInputs: "rowTemplateComponentInputs", rowTemplateField: "rowTemplateField", selectOnEdit: "selectOnEdit", isList: "isList", menuId: "menuId", menuBeforeOpen: "menuBeforeOpen", rowHeight: "rowHeight", fixedRowHeight: "fixedRowHeight", selectable: "selectable", showSelectAllCheckBox: "showSelectAllCheckBox", clickToSelect: "clickToSelect", toolbar: "toolbar", initializeToolbar: "initializeToolbar", saveUserSettings: "saveUserSettings", paging: "paging", pagesize: "pagesize", pagesizes: "pagesizes", indeterminate: "indeterminate", actionableMode: "actionableMode", saveColumns: "saveColumns", source: "source", filterable: "filterable", filterWhenTyping: "filterWhenTyping", treeGrid: "treeGrid", uniqueId: "uniqueId", rowReorder: "rowReorder", showDirty: "showDirty", addCellLayoutClass: "addCellLayoutClass", resizeMode: "resizeMode", headerBackgroundColor: "headerBackgroundColor", headerMenuId: "headerMenuId", headerMenuSelected: "headerMenuSelected", headerMenuBeforeOpen: "headerMenuBeforeOpen", disableRowDeactivation: "disableRowDeactivation", disableRowDeselection: "disableRowDeselection", userObject: "userObject", groupable: "groupable", data: "data", columns: "columns", summaryRowColumns: "summaryRowColumns", spacerColumn: "spacerColumn", sizeColumnsEqually: "sizeColumnsEqually", expandableRow: "expandableRow", redrawOnResize: "redrawOnResize", exportConvertNegative: "exportConvertNegative", overrideTabbing: "overrideTabbing", headerTabStops: "headerTabStops", showEditorIcons: "showEditorIcons", stickyHeader: "stickyHeader", attributes: "attributes", columnSizing: "columnSizing", stretchColumn: "stretchColumn", stretchColumnOnChange: "stretchColumnOnChange", showPageSizeSelector: "showPageSizeSelector", hidePagerOnOnePage: "hidePagerOnOnePage", columnGroup: "columnGroup", emptyMessage: "emptyMessage", enableTooltips: "enableTooltips", selectChildren: "selectChildren", allowChildExpandOnMatch: "allowChildExpandOnMatch", sohoDatagrid: ["soho-datagrid", "sohoDatagrid"], onBeforeSelect: "onBeforeSelect", allowSelectAcrossPages: "allowSelectAcrossPages", selectAllCurrentPage: "selectAllCurrentPage", columnIds: "columnIds", showNewRowIndicator: "showNewRowIndicator", onExpandChildren: "onExpandChildren", onCollapseChildren: "onCollapseChildren", onPostRenderCell: "onPostRenderCell", onDestroyCell: "onDestroyCell", onEditCell: "onEditCell", onKeyDown: "onKeyDown", onExpandRow: "onExpandRow", fallbackImage: "fallbackImage", fallbackTooltip: "fallbackTooltip" }, outputs: { selected: "selected", deselected: "deselected", cellchange: "cellchange", rowRemove: "rowRemove", rowAdd: "rowAdd", filtered: "filtered", expandrow: "expandrow", keydown: "keydown", exiteditmode: "exiteditmode", beforeentereditmode: "beforeentereditmode", entereditmode: "entereditmode", collapserow: "collapserow", sorted: "sorted", searched: "searched", nextPage: "nextPage", previousPage: "previousPage", firstPage: "firstPage", lastPage: "lastPage", pageSizeChange: "pageSizeChange", beforePaging: "beforePaging", afterPaging: "afterPaging", beforeRowActivated: "beforeRowActivated", rowActivated: "rowActivated", columnChange: "columnChange", rowDeactivated: "rowDeactivated", rowClicked: "rowClicked", rowDoubleClicked: "rowDoubleClicked", contextMenu: "contextMenu", rowReordered: "rowReordered", openFilterRow: "openFilterRow", closeFilterRow: "closeFilterRow", settingsChanged: "settingsChanged", rendered: "rendered", afterRender: "afterRender", verticalScroll: "verticalScroll", filteroperatorchanged: "filteroperatorchanged" }, host: { properties: { "class.is-disabled": "this.isDisabled", "attr.role": "this.datagridRole" } }, ngImport: i0, template: ' <ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
10798
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.8", type: SohoDataGridComponent, isStandalone: false, selector: "[soho-datagrid]", inputs: { gridOptions: "gridOptions", idProperty: "idProperty", ellipsisWithIcon: "ellipsisWithIcon", ariaLabel: "ariaLabel", frozenColumns: "frozenColumns", cellNavigation: "cellNavigation", rowNavigation: "rowNavigation", alternateRowShading: "alternateRowShading", dataset: "dataset", columnReorder: "columnReorder", disableClientSort: "disableClientSort", disableClientFilter: "disableClientFilter", resultsText: "resultsText", showFilterTotal: "showFilterTotal", editable: "editable", isRowDisabled: "isRowDisabled", allowOneExpandedRow: "allowOneExpandedRow", rowTemplate: "rowTemplate", rowTemplateComponent: "rowTemplateComponent", rowTemplateComponentInputs: "rowTemplateComponentInputs", rowTemplateField: "rowTemplateField", selectOnEdit: "selectOnEdit", isList: "isList", menuId: "menuId", menuBeforeOpen: "menuBeforeOpen", rowHeight: "rowHeight", fixedRowHeight: "fixedRowHeight", selectable: "selectable", showSelectAllCheckBox: "showSelectAllCheckBox", clickToSelect: "clickToSelect", toolbar: "toolbar", initializeToolbar: "initializeToolbar", saveUserSettings: "saveUserSettings", paging: "paging", pagesize: "pagesize", pagesizes: "pagesizes", indeterminate: "indeterminate", actionableMode: "actionableMode", saveColumns: "saveColumns", source: "source", filterable: "filterable", filterWhenTyping: "filterWhenTyping", treeGrid: "treeGrid", uniqueId: "uniqueId", rowReorder: "rowReorder", showDirty: "showDirty", addCellLayoutClass: "addCellLayoutClass", resizeMode: "resizeMode", headerBackgroundColor: "headerBackgroundColor", headerMenuId: "headerMenuId", headerMenuSelected: "headerMenuSelected", headerMenuBeforeOpen: "headerMenuBeforeOpen", disableRowDeactivation: "disableRowDeactivation", disableRowDeselection: "disableRowDeselection", userObject: "userObject", groupable: "groupable", data: "data", columns: "columns", summaryRowColumns: "summaryRowColumns", spacerColumn: "spacerColumn", sizeColumnsEqually: "sizeColumnsEqually", expandableRow: "expandableRow", redrawOnResize: "redrawOnResize", exportConvertNegative: "exportConvertNegative", overrideTabbing: "overrideTabbing", headerTabStops: "headerTabStops", suppressNonInteractiveFocus: "suppressNonInteractiveFocus", showEditorIcons: "showEditorIcons", stickyHeader: "stickyHeader", attributes: "attributes", columnSizing: "columnSizing", stretchColumn: "stretchColumn", stretchColumnOnChange: "stretchColumnOnChange", showPageSizeSelector: "showPageSizeSelector", hidePagerOnOnePage: "hidePagerOnOnePage", columnGroup: "columnGroup", emptyMessage: "emptyMessage", enableTooltips: "enableTooltips", selectChildren: "selectChildren", allowChildExpandOnMatch: "allowChildExpandOnMatch", sohoDatagrid: ["soho-datagrid", "sohoDatagrid"], onBeforeSelect: "onBeforeSelect", allowSelectAcrossPages: "allowSelectAcrossPages", selectAllCurrentPage: "selectAllCurrentPage", columnIds: "columnIds", showNewRowIndicator: "showNewRowIndicator", onExpandChildren: "onExpandChildren", onCollapseChildren: "onCollapseChildren", onPostRenderCell: "onPostRenderCell", onDestroyCell: "onDestroyCell", onEditCell: "onEditCell", onKeyDown: "onKeyDown", onExpandRow: "onExpandRow", fallbackImage: "fallbackImage", fallbackTooltip: "fallbackTooltip" }, outputs: { selected: "selected", deselected: "deselected", cellchange: "cellchange", rowRemove: "rowRemove", rowAdd: "rowAdd", filtered: "filtered", expandrow: "expandrow", keydown: "keydown", exiteditmode: "exiteditmode", beforeentereditmode: "beforeentereditmode", entereditmode: "entereditmode", collapserow: "collapserow", sorted: "sorted", searched: "searched", nextPage: "nextPage", previousPage: "previousPage", firstPage: "firstPage", lastPage: "lastPage", pageSizeChange: "pageSizeChange", beforePaging: "beforePaging", afterPaging: "afterPaging", beforeRowActivated: "beforeRowActivated", rowActivated: "rowActivated", columnChange: "columnChange", rowDeactivated: "rowDeactivated", rowClicked: "rowClicked", rowDoubleClicked: "rowDoubleClicked", contextMenu: "contextMenu", rowReordered: "rowReordered", openFilterRow: "openFilterRow", closeFilterRow: "closeFilterRow", settingsChanged: "settingsChanged", rendered: "rendered", afterRender: "afterRender", verticalScroll: "verticalScroll", filteroperatorchanged: "filteroperatorchanged" }, host: { properties: { "class.is-disabled": "this.isDisabled", "attr.role": "this.datagridRole" } }, ngImport: i0, template: ' <ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
10787
10799
  }
10788
10800
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SohoDataGridComponent, decorators: [{
10789
10801
  type: Component,
@@ -10927,6 +10939,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
10927
10939
  type: Input
10928
10940
  }], headerTabStops: [{
10929
10941
  type: Input
10942
+ }], suppressNonInteractiveFocus: [{
10943
+ type: Input
10930
10944
  }], showEditorIcons: [{
10931
10945
  type: Input
10932
10946
  }], stickyHeader: [{
@@ -24743,7 +24757,17 @@ class SohoRadioButtonComponent {
24743
24757
  console.warn('The property `disabled` has been removed, please use [attr.disabled]="disable"');
24744
24758
  }
24745
24759
  get tabIndex() {
24746
- return this.element.nativeElement.checked ? 0 : -1;
24760
+ const el = this.element.nativeElement;
24761
+ const name = el.getAttribute('name');
24762
+ if (!name)
24763
+ return -1;
24764
+ if (el.checked)
24765
+ return 0;
24766
+ const root = (el.form || el.getRootNode());
24767
+ const group = Array.from(root.querySelectorAll(`input[type="radio"][name="${name}"]`));
24768
+ if (group.some(r => r.checked))
24769
+ return -1;
24770
+ return group.find(r => !r.disabled) === el ? 0 : -1;
24747
24771
  }
24748
24772
  /**
24749
24773
  * Constructor.
@@ -31973,7 +31997,7 @@ class SohoVersionInitializerService {
31973
31997
  * Initializes the version attribute.
31974
31998
  */
31975
31999
  initialize() {
31976
- $('html').attr(SohoVersionInitializerService.VERSION_ATTR_NAME, '21.0.7');
32000
+ $('html').attr(SohoVersionInitializerService.VERSION_ATTR_NAME, '21.0.8');
31977
32001
  }
31978
32002
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SohoVersionInitializerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
31979
32003
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SohoVersionInitializerService, providedIn: 'root' }); }