@anguless/angulux 22.6.7 → 22.6.9
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/README.md +12 -9
- package/fesm2022/anguless-angulux-autofocus.mjs +2 -2
- package/fesm2022/anguless-angulux-autofocus.mjs.map +1 -1
- package/fesm2022/anguless-angulux-dialog.mjs +2 -2
- package/fesm2022/anguless-angulux-dialog.mjs.map +1 -1
- package/fesm2022/anguless-angulux-dom.mjs +240 -155
- package/fesm2022/anguless-angulux-dom.mjs.map +1 -1
- package/fesm2022/anguless-angulux-multiselect.mjs +4 -4
- package/fesm2022/anguless-angulux-multiselect.mjs.map +1 -1
- package/fesm2022/anguless-angulux-overlay.mjs +5 -5
- package/fesm2022/anguless-angulux-overlay.mjs.map +1 -1
- package/fesm2022/anguless-angulux-password.mjs +2 -2
- package/fesm2022/anguless-angulux-password.mjs.map +1 -1
- package/fesm2022/anguless-angulux-table.mjs +116 -126
- package/fesm2022/anguless-angulux-table.mjs.map +1 -1
- package/fesm2022/anguless-angulux-treetable.mjs +5 -7
- package/fesm2022/anguless-angulux-treetable.mjs.map +1 -1
- package/fesm2022/anguless-angulux-utils.mjs +176 -120
- package/fesm2022/anguless-angulux-utils.mjs.map +1 -1
- package/package.json +1 -1
- package/types/anguless-angulux-dom.d.ts +36 -2
- package/types/anguless-angulux-table.d.ts +21 -23
- package/types/anguless-angulux-treetable.d.ts +1 -1
- package/types/anguless-angulux-utils.d.ts +12 -2
|
@@ -14,8 +14,8 @@ import { BaseComponent, PARENT_INSTANCE } from '@anguless/angulux/basecomponent'
|
|
|
14
14
|
import * as i1 from '@anguless/angulux/bind';
|
|
15
15
|
import { Bind, BindModule } from '@anguless/angulux/bind';
|
|
16
16
|
import { Checkbox } from '@anguless/angulux/checkbox';
|
|
17
|
-
import {
|
|
18
|
-
import { SpinnerIcon, ArrowDownIcon, ArrowUpIcon, SortAltIcon, SortAmountUpAltIcon, SortAmountDownIcon, ChevronDownIcon, ChevronRightIcon
|
|
17
|
+
import { ɵindexWithinGroup as _indexWithinGroup } from '@anguless/angulux/dom';
|
|
18
|
+
import { SpinnerIcon, ArrowDownIcon, ArrowUpIcon, SortAltIcon, SortAmountUpAltIcon, SortAmountDownIcon, ChevronDownIcon, ChevronRightIcon } from '@anguless/angulux/icons';
|
|
19
19
|
import * as i3 from '@anguless/angulux/paginator';
|
|
20
20
|
import { PaginatorModule } from '@anguless/angulux/paginator';
|
|
21
21
|
import { Ripple } from '@anguless/angulux/ripple';
|
|
@@ -1879,8 +1879,9 @@ class TreeTable extends BaseComponent {
|
|
|
1879
1879
|
onColumnDrop(event, dropColumn) {
|
|
1880
1880
|
event.preventDefault();
|
|
1881
1881
|
if (this.draggedColumn) {
|
|
1882
|
-
|
|
1883
|
-
let
|
|
1882
|
+
// `draggedColumn` is declared as an array and holds the dragged header element.
|
|
1883
|
+
let dragIndex = _indexWithinGroup(this.draggedColumn, 'ttreorderablecolumn');
|
|
1884
|
+
let dropIndex = _indexWithinGroup(dropColumn, 'ttreorderablecolumn');
|
|
1884
1885
|
let allowDrop = dragIndex != dropIndex;
|
|
1885
1886
|
if (allowDrop && ((dropIndex - dragIndex == 1 && this.dropPosition === -1) || (dragIndex - dropIndex == 1 && this.dropPosition === 1))) {
|
|
1886
1887
|
allowDrop = false;
|
|
@@ -4869,7 +4870,6 @@ class TreeTableModule {
|
|
|
4869
4870
|
SortAmountUpAltIcon,
|
|
4870
4871
|
SortAmountDownIcon,
|
|
4871
4872
|
BadgeModule,
|
|
4872
|
-
CheckIcon,
|
|
4873
4873
|
ChevronDownIcon,
|
|
4874
4874
|
ChevronRightIcon,
|
|
4875
4875
|
Checkbox,
|
|
@@ -4886,7 +4886,6 @@ class TreeTableModule {
|
|
|
4886
4886
|
SortAmountUpAltIcon,
|
|
4887
4887
|
SortAmountDownIcon,
|
|
4888
4888
|
BadgeModule,
|
|
4889
|
-
CheckIcon,
|
|
4890
4889
|
ChevronDownIcon,
|
|
4891
4890
|
ChevronRightIcon,
|
|
4892
4891
|
Checkbox,
|
|
@@ -4909,7 +4908,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.2", ngImpor
|
|
|
4909
4908
|
SortAmountUpAltIcon,
|
|
4910
4909
|
SortAmountDownIcon,
|
|
4911
4910
|
BadgeModule,
|
|
4912
|
-
CheckIcon,
|
|
4913
4911
|
ChevronDownIcon,
|
|
4914
4912
|
ChevronRightIcon,
|
|
4915
4913
|
Checkbox,
|