ids-enterprise-wc 1.15.9-patch.7 → 1.15.9-patch.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.
- package/chunks/{ids-chunk-HZO4QUAW-full.js → ids-chunk-KL2N6T26-full.js} +15 -6
- package/chunks/{ids-chunk-HZO4QUAW-full.js.map → ids-chunk-KL2N6T26-full.js.map} +2 -2
- package/components/ids-accordion/ids-accordion.css +8 -156
- package/components/ids-calendar/ids-calendar.css +190 -265
- package/components/ids-card/ids-card.css +4 -344
- package/components/ids-data-grid/ids-data-grid.js +1 -1
- package/components/ids-list-box/ids-list-box.css +98 -66
- package/components/ids-menu/ids-menu.css +8 -338
- package/components/ids-module-nav/ids-module-nav.css +476 -29
- package/components/ids-pager/ids-pager.css +37 -3
- package/components/ids-tabs/ids-tabs.css +4 -548
- package/components/ids-tag/ids-tag.css +152 -8
- package/components/ids-time-picker/ids-time-picker.css +67 -49
- package/components/ids-toolbar/ids-toolbar.css +122 -12
- package/custom-elements.json +371 -371
- package/enterprise-wc.all.iife.js +14 -5
- package/enterprise-wc.all.iife.js.map +2 -2
- package/enterprise-wc.js +1 -1
- package/package.json +1 -1
- package/vscode.html-custom-data.json +1 -1
|
@@ -5928,7 +5928,7 @@ attachKeyboardListeners_fn = function() {
|
|
|
5928
5928
|
if (!activeCell) {
|
|
5929
5929
|
const firstRow = this.rowByIndex(0);
|
|
5930
5930
|
activeCell = firstRow?.cellByIndex(0) ?? null;
|
|
5931
|
-
activeCell
|
|
5931
|
+
activeCell?.activate(false, "keyboard");
|
|
5932
5932
|
}
|
|
5933
5933
|
if (activeCell?.isEditing) return;
|
|
5934
5934
|
e.preventDefault();
|
|
@@ -5972,9 +5972,11 @@ attachKeyboardListeners_fn = function() {
|
|
|
5972
5972
|
if (this.virtualScroll && activeCell) {
|
|
5973
5973
|
__privateMethod(this, _IdsDataGrid_instances, ensureRowInViewport_fn).call(this, activeCell.rowIndex, "down" /* Down */);
|
|
5974
5974
|
}
|
|
5975
|
-
} else if (key === "ArrowLeft" && !e.metaKey)
|
|
5976
|
-
|
|
5977
|
-
else if (key === "
|
|
5975
|
+
} else if (key === "ArrowLeft" && !e.metaKey) {
|
|
5976
|
+
activeCell = this.findNextNavigableCell(activeCell, "left" /* Left */);
|
|
5977
|
+
} else if (key === "ArrowRight" && !e.metaKey) {
|
|
5978
|
+
activeCell = this.findNextNavigableCell(activeCell, "right" /* Right */);
|
|
5979
|
+
} else if (key === "PageUp") {
|
|
5978
5980
|
const columnIndex = activeCell?.columnIndex ?? 0;
|
|
5979
5981
|
activeCell = this.findCellByLogicalPosition(0, columnIndex);
|
|
5980
5982
|
} else if (key === "PageDown") {
|
|
@@ -6031,7 +6033,7 @@ attachKeyboardListeners_fn = function() {
|
|
|
6031
6033
|
if (this.openMenu) return;
|
|
6032
6034
|
if (activeCell.isEditing) return;
|
|
6033
6035
|
if (!activeCell.canClose()) return;
|
|
6034
|
-
const row = this.rowByIndex(activeCell.
|
|
6036
|
+
const row = this.rowByIndex(activeCell.rowIndex);
|
|
6035
6037
|
if (!row || row.disabled) return;
|
|
6036
6038
|
const button = activeCell.querySelector("ids-button");
|
|
6037
6039
|
if (button) {
|
|
@@ -6163,6 +6165,13 @@ attachKeyboardListeners_fn = function() {
|
|
|
6163
6165
|
});
|
|
6164
6166
|
this.offEvent("keydown.body", this.header);
|
|
6165
6167
|
this.onEvent("keydown.body", this.header, (e) => {
|
|
6168
|
+
const path = eventPath(e);
|
|
6169
|
+
const inFilter = findInPath(path, ".ids-data-grid-header-cell-filter-wrapper");
|
|
6170
|
+
const target = e.target;
|
|
6171
|
+
const isEditable = inFilter || target instanceof HTMLInputElement || target instanceof HTMLTextAreaElement || target?.isContentEditable || findInPath(path, "ids-input");
|
|
6172
|
+
if (isEditable) {
|
|
6173
|
+
return;
|
|
6174
|
+
}
|
|
6166
6175
|
if (e.key === "ArrowUp") {
|
|
6167
6176
|
e.preventDefault();
|
|
6168
6177
|
e.stopPropagation();
|
|
@@ -7362,4 +7371,4 @@ IdsDataGrid = __decorateClass([
|
|
|
7362
7371
|
export {
|
|
7363
7372
|
IdsDataGrid
|
|
7364
7373
|
};
|
|
7365
|
-
//# sourceMappingURL=ids-chunk-
|
|
7374
|
+
//# sourceMappingURL=ids-chunk-KL2N6T26-full.js.map
|