ids-enterprise-wc 1.15.9-patch.3 → 1.15.9-patch.4
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-PLPR5GKJ-full.js → ids-chunk-INOASOWB-full.js} +2 -2
- package/chunks/{ids-chunk-FBSXIEML-full.js → ids-chunk-LBCYQLZV-full.js} +2 -2
- package/chunks/{ids-chunk-FBSXIEML-full.js.map → ids-chunk-LBCYQLZV-full.js.map} +2 -2
- package/chunks/{ids-chunk-TUTTQTPT-full.js → ids-chunk-LFAI3KCS-full.js} +16 -5
- package/chunks/{ids-chunk-TUTTQTPT-full.js.map → ids-chunk-LFAI3KCS-full.js.map} +2 -2
- package/chunks/{ids-chunk-YNW5W3PP-full.js → ids-chunk-PNETRNHG-full.js} +35 -12
- package/chunks/ids-chunk-PNETRNHG-full.js.map +7 -0
- package/chunks/{ids-chunk-GLMW7DMU-full.js → ids-chunk-TJ35QP4Y-full.js} +4 -3
- package/chunks/{ids-chunk-GLMW7DMU-full.js.map → ids-chunk-TJ35QP4Y-full.js.map} +2 -2
- package/components/ids-accordion/ids-accordion.css +156 -8
- package/components/ids-calendar/ids-calendar.js +4 -4
- package/components/ids-card/ids-card.css +4 -344
- package/components/ids-data-grid/ids-data-grid-editors.js +3 -3
- package/components/ids-data-grid/ids-data-grid-filters.js +2 -2
- package/components/ids-data-grid/ids-data-grid.js +4 -4
- package/components/ids-date-picker/ids-date-picker-popup.js +2 -2
- package/components/ids-date-picker/ids-date-picker.css +389 -31
- package/components/ids-date-picker/ids-date-picker.d.ts +5 -0
- package/components/ids-date-picker/ids-date-picker.js +3 -3
- package/components/ids-hierarchy/ids-hierarchy.css +117 -14
- package/components/ids-hyperlink/ids-hyperlink.css +15 -188
- package/components/ids-layout-flex/ids-layout-flex.css +69 -6
- package/components/ids-layout-grid/ids-layout-grid.css +10 -21300
- package/components/ids-list-view/ids-list-view.css +112 -15
- package/components/ids-menu/ids-menu.css +11 -7
- package/components/ids-modal/ids-modal.css +23 -94
- package/components/ids-module-nav/ids-module-nav.css +1 -182
- package/components/ids-month-view/ids-month-view.js +1 -1
- package/components/ids-pager/ids-pager.css +28 -25
- package/components/ids-swappable/ids-swappable.css +84 -19
- package/components/ids-tabs/ids-tabs.css +542 -11
- package/components/ids-tag/ids-tag.css +8 -152
- package/components/ids-time-picker/ids-time-picker.css +49 -67
- package/components/ids-week-view/ids-week-view.js +3 -3
- package/custom-elements.json +964 -942
- package/enterprise-wc.all.iife.js +53 -18
- package/enterprise-wc.all.iife.js.map +3 -3
- package/enterprise-wc.js +5 -5
- package/package.json +1 -1
- package/vscode.html-custom-data.json +1 -1
- package/chunks/ids-chunk-YNW5W3PP-full.js.map +0 -7
- /package/chunks/{ids-chunk-PLPR5GKJ-full.js.map → ids-chunk-INOASOWB-full.js.map} +0 -0
|
@@ -2688,7 +2688,7 @@ var Base = ids_pager_mixin_default(
|
|
|
2688
2688
|
)
|
|
2689
2689
|
)
|
|
2690
2690
|
);
|
|
2691
|
-
var _activeCellCache, _editedCellsCache, _startSelectionCell, _endSelectionCell, _currentScroll, _header, _IdsDataGrid_instances, redrawBodyTemplate_fn, _lastSelectedRow, _initiallySelectedRow, _lastShiftedRow, resetLastSelectedRow_fn, resetInitiallySelectedRow_fn, resetLastShiftedRow_fn, toggleShiftSelectionInBetween_fn, getSelection_fn, attachEventHandlers_fn, attachDragSelection_fn, createSelectionBorder_fn, updateSelectionBorder_fn, attachCopyPasteCellHandlers_fn, attachKeyboardListeners_fn, setColumnWidths_fn, setFrozenColumnWidth_fn, calcMaxContentWidth_fn, reapplyDirtyStates_fn, setColumnGroupsWidth_fn, appendMissingRows_fn, _virtualScrollMaxRowsInDom, attachScrollEvents_fn, attachVirtualScrollEvent_fn, calculateColumnsOnscreen_fn, detachScrollEvents_fn, syncTreeHiddenStates_fn, handleTreeRowExpandCollapse_fn, recycleAllTreeRows_fn, handleVirtualScroll_fn, _customScrollEventCache, triggerCustomScrollEvent_fn, positionVirtualScrollWindow_fn, restoreScrollPosition_fn, scrollTo_fn, scrollToTreeRow_fn, scrollRowIntoView_fn, setVirtualScrollPaddingBottom_fn, scrollTreeRowIntoView_fn, recycleTreeRowsDown_fn, recycleTreeRowsUp_fn, recycleAllRows_fn, recycleTopRowsDown_fn, recycleBottomRowsUp_fn, saveCellOriginalValue_fn, updateCellDirtyState_fn, findParentRow_fn, findRootRow_fn, updateRowCount_fn, applyAutoFit_fn, removeAttachedMenus_fn, filterColumnList_fn, handleCopy_fn, handlePaste_fn, saveEditedCellsBeforeScroll_fn, restoreActiveCellAfterScroll_fn, restoreEditedCellsAfterScroll_fn;
|
|
2691
|
+
var _activeCellCache, _editedCellsCache, _startSelectionCell, _endSelectionCell, _currentScroll, _afterSetActiveCellFn, _header, _IdsDataGrid_instances, redrawBodyTemplate_fn, _lastSelectedRow, _initiallySelectedRow, _lastShiftedRow, resetLastSelectedRow_fn, resetInitiallySelectedRow_fn, resetLastShiftedRow_fn, toggleShiftSelectionInBetween_fn, getSelection_fn, attachEventHandlers_fn, attachDragSelection_fn, createSelectionBorder_fn, updateSelectionBorder_fn, attachCopyPasteCellHandlers_fn, attachKeyboardListeners_fn, setColumnWidths_fn, setFrozenColumnWidth_fn, calcMaxContentWidth_fn, reapplyDirtyStates_fn, setColumnGroupsWidth_fn, appendMissingRows_fn, _virtualScrollMaxRowsInDom, attachScrollEvents_fn, attachVirtualScrollEvent_fn, calculateColumnsOnscreen_fn, detachScrollEvents_fn, syncTreeHiddenStates_fn, handleTreeRowExpandCollapse_fn, recycleAllTreeRows_fn, handleVirtualScroll_fn, _customScrollEventCache, triggerCustomScrollEvent_fn, positionVirtualScrollWindow_fn, restoreScrollPosition_fn, scrollTo_fn, scrollToTreeRow_fn, scrollRowIntoView_fn, setVirtualScrollPaddingBottom_fn, scrollTreeRowIntoView_fn, recycleTreeRowsDown_fn, recycleTreeRowsUp_fn, recycleAllRows_fn, recycleTopRowsDown_fn, recycleBottomRowsUp_fn, saveCellOriginalValue_fn, updateCellDirtyState_fn, findParentRow_fn, findRootRow_fn, updateRowCount_fn, applyAutoFit_fn, removeAttachedMenus_fn, filterColumnList_fn, handleCopy_fn, handlePaste_fn, saveEditedCellsBeforeScroll_fn, restoreActiveCellAfterScroll_fn, restoreEditedCellsAfterScroll_fn;
|
|
2692
2692
|
var IdsDataGrid = class extends Base {
|
|
2693
2693
|
constructor() {
|
|
2694
2694
|
super();
|
|
@@ -2722,6 +2722,7 @@ var IdsDataGrid = class extends Base {
|
|
|
2722
2722
|
top: NaN,
|
|
2723
2723
|
left: NaN
|
|
2724
2724
|
});
|
|
2725
|
+
__privateAdd(this, _afterSetActiveCellFn);
|
|
2725
2726
|
/**
|
|
2726
2727
|
* Types for contextmenu.
|
|
2727
2728
|
*/
|
|
@@ -4708,13 +4709,13 @@ var IdsDataGrid = class extends Base {
|
|
|
4708
4709
|
*/
|
|
4709
4710
|
get rowPixelHeight() {
|
|
4710
4711
|
const rowHeights = {
|
|
4711
|
-
xxs:
|
|
4712
|
+
xxs: 24,
|
|
4712
4713
|
xs: 30,
|
|
4713
|
-
sm:
|
|
4714
|
+
sm: 34,
|
|
4714
4715
|
md: 40,
|
|
4715
4716
|
lg: 50
|
|
4716
4717
|
};
|
|
4717
|
-
return rowHeights[this.rowHeight]
|
|
4718
|
+
return rowHeights[this.rowHeight];
|
|
4718
4719
|
}
|
|
4719
4720
|
/**
|
|
4720
4721
|
* Set the card to auto fit to its parent size
|
|
@@ -4763,14 +4764,26 @@ var IdsDataGrid = class extends Base {
|
|
|
4763
4764
|
this.updateActiveCellCache(rowIndex, cellNumber, currentCell?.value);
|
|
4764
4765
|
let rowNode = this.rowByIndex(rowIndex);
|
|
4765
4766
|
if (!rowNode && this.virtualScroll) {
|
|
4767
|
+
const setActiveCellData = {
|
|
4768
|
+
row: rowIndex,
|
|
4769
|
+
cell: cellNumber
|
|
4770
|
+
};
|
|
4771
|
+
__privateSet(this, _afterSetActiveCellFn, () => {
|
|
4772
|
+
const rowEl = this.rowByIndex(setActiveCellData.row);
|
|
4773
|
+
const cellNode2 = rowEl?.querySelector(`ids-data-grid-cell[aria-colindex="${setActiveCellData.cell + 1}"]`);
|
|
4774
|
+
if (cellNode2) {
|
|
4775
|
+
cellNode2.activate(Boolean(noFocus), reason);
|
|
4776
|
+
}
|
|
4777
|
+
});
|
|
4766
4778
|
__privateMethod(this, _IdsDataGrid_instances, scrollRowIntoView_fn).call(this, rowIndex);
|
|
4767
4779
|
rowNode = this.rowByIndex(rowIndex);
|
|
4780
|
+
return this.activeCell;
|
|
4768
4781
|
}
|
|
4769
|
-
const
|
|
4770
|
-
if (
|
|
4771
|
-
const cellNode = queriedCells[cellNumber];
|
|
4782
|
+
const cellNode = rowNode?.querySelector(`ids-data-grid-cell[aria-colindex="${cellNumber + 1}"]`);
|
|
4783
|
+
if (cellNode) {
|
|
4772
4784
|
cellNode.activate(Boolean(noFocus), reason);
|
|
4773
4785
|
}
|
|
4786
|
+
this.activeCell.node = rowNode?.querySelector(`ids-data-grid-cell[aria-colindex="${cellNumber + 1}"]`) || null;
|
|
4774
4787
|
return this.activeCell;
|
|
4775
4788
|
}
|
|
4776
4789
|
/**
|
|
@@ -5336,6 +5349,7 @@ _editedCellsCache = new WeakMap();
|
|
|
5336
5349
|
_startSelectionCell = new WeakMap();
|
|
5337
5350
|
_endSelectionCell = new WeakMap();
|
|
5338
5351
|
_currentScroll = new WeakMap();
|
|
5352
|
+
_afterSetActiveCellFn = new WeakMap();
|
|
5339
5353
|
_header = new WeakMap();
|
|
5340
5354
|
_IdsDataGrid_instances = new WeakSet();
|
|
5341
5355
|
/**
|
|
@@ -5785,13 +5799,18 @@ attachCopyPasteCellHandlers_fn = function() {
|
|
|
5785
5799
|
*/
|
|
5786
5800
|
attachKeyboardListeners_fn = function() {
|
|
5787
5801
|
this.listen(["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "PageUp", "PageDown", "Home", "End"], this, (e) => {
|
|
5788
|
-
if (["
|
|
5802
|
+
if (["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown"].includes(e.key) && document.activeElement?.nodeName === "IDS-DATA-GRID" && __privateGet(this, _activeCellCache) && __privateGet(this, _activeCellCache)?.hasLeaveViewport) {
|
|
5789
5803
|
__privateMethod(this, _IdsDataGrid_instances, scrollRowIntoView_fn).call(this, Math.max(__privateGet(this, _activeCellCache).rowIndex - 3, 0));
|
|
5790
5804
|
e.preventDefault();
|
|
5791
5805
|
e.stopPropagation();
|
|
5792
|
-
let
|
|
5793
|
-
|
|
5794
|
-
|
|
5806
|
+
let newRowIndex = 0;
|
|
5807
|
+
let newColIndex = 0;
|
|
5808
|
+
if (e.key === "ArrowUp") newRowIndex = -1;
|
|
5809
|
+
if (e.key === "ArrowDown") newRowIndex = 1;
|
|
5810
|
+
if (e.key === "ArrowRight") newColIndex = 1;
|
|
5811
|
+
if (e.key === "ArrowLeft") newColIndex = -1;
|
|
5812
|
+
__privateGet(this, _activeCellCache).rowIndex = Math.max(__privateGet(this, _activeCellCache).rowIndex + newRowIndex, 0);
|
|
5813
|
+
__privateGet(this, _activeCellCache).columnIndex = Math.max(__privateGet(this, _activeCellCache).columnIndex + newColIndex, 0);
|
|
5795
5814
|
requestAnimationTimeout(() => {
|
|
5796
5815
|
__privateMethod(this, _IdsDataGrid_instances, restoreActiveCellAfterScroll_fn).call(this);
|
|
5797
5816
|
});
|
|
@@ -6232,6 +6251,10 @@ attachVirtualScrollEvent_fn = function() {
|
|
|
6232
6251
|
if (document.activeElement?.nodeName === "BODY" && __privateGet(this, _activeCellCache)?.hasLeaveViewport) {
|
|
6233
6252
|
this.container?.focus({ preventScroll: true });
|
|
6234
6253
|
}
|
|
6254
|
+
if (__privateGet(this, _afterSetActiveCellFn)) {
|
|
6255
|
+
__privateGet(this, _afterSetActiveCellFn).call(this);
|
|
6256
|
+
__privateSet(this, _afterSetActiveCellFn, void 0);
|
|
6257
|
+
}
|
|
6235
6258
|
}, { capture: true, passive: true });
|
|
6236
6259
|
this.offEvent("rowexpanded.data-grid.virtual-scroll", this);
|
|
6237
6260
|
this.onEvent("rowexpanded.data-grid.virtual-scroll", this, (evt) => {
|
|
@@ -7008,4 +7031,4 @@ IdsDataGrid = __decorateClass([
|
|
|
7008
7031
|
export {
|
|
7009
7032
|
IdsDataGrid
|
|
7010
7033
|
};
|
|
7011
|
-
//# sourceMappingURL=ids-chunk-
|
|
7034
|
+
//# sourceMappingURL=ids-chunk-PNETRNHG-full.js.map
|