@acorex/components 22.4.34 → 22.4.36
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/acorex-components-button.mjs +2 -2
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +2 -2
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +14 -11
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +2 -2
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-lookup.mjs +71 -79
- package/fesm2022/acorex-components-lookup.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +24 -19
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +25 -25
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +95 -7
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +9 -12
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +2 -2
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/package.json +3 -3
- package/types/acorex-components-lookup.d.ts +1 -1
- package/types/acorex-components-notification.d.ts +5 -5
- package/types/acorex-components-step-wizard.d.ts +9 -1
- package/types/acorex-components-switch.d.ts +3 -2
|
@@ -1426,38 +1426,41 @@ class AXLookupMultiColumnTreeComponent {
|
|
|
1426
1426
|
}
|
|
1427
1427
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: AXLookupMultiColumnTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1428
1428
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: AXLookupMultiColumnTreeComponent, isStandalone: true, selector: "ax-lookup-multi-column-tree", inputs: { dataSource: { classPropertyName: "dataSource", publicName: "dataSource", isSignal: true, isRequired: true, transformFunction: null }, valueField: { classPropertyName: "valueField", publicName: "valueField", isSignal: true, isRequired: false, transformFunction: null }, textField: { classPropertyName: "textField", publicName: "textField", isSignal: true, isRequired: false, transformFunction: null }, disabledField: { classPropertyName: "disabledField", publicName: "disabledField", isSignal: true, isRequired: false, transformFunction: null }, parentField: { classPropertyName: "parentField", publicName: "parentField", isSignal: true, isRequired: false, transformFunction: null }, hasChildrenField: { classPropertyName: "hasChildrenField", publicName: "hasChildrenField", isSignal: true, isRequired: false, transformFunction: null }, selectedValues: { classPropertyName: "selectedValues", publicName: "selectedValues", isSignal: true, isRequired: false, transformFunction: null }, itemHeight: { classPropertyName: "itemHeight", publicName: "itemHeight", isSignal: true, isRequired: false, transformFunction: null }, maxVisibleItems: { classPropertyName: "maxVisibleItems", publicName: "maxVisibleItems", isSignal: true, isRequired: false, transformFunction: null }, columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, itemTemplate: { classPropertyName: "itemTemplate", publicName: "itemTemplate", isSignal: true, isRequired: false, transformFunction: null }, emptyTemplate: { classPropertyName: "emptyTemplate", publicName: "emptyTemplate", isSignal: true, isRequired: false, transformFunction: null }, loadingTemplate: { classPropertyName: "loadingTemplate", publicName: "loadingTemplate", isSignal: true, isRequired: false, transformFunction: null }, alternate: { classPropertyName: "alternate", publicName: "alternate", isSignal: true, isRequired: false, transformFunction: null }, highlightText: { classPropertyName: "highlightText", publicName: "highlightText", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClick: "itemClick" }, host: { properties: { "style.height.px": "tableHeight()" }, classAttribute: "ax-lookup-multi-column ax-lookup-multi-column-tree" }, ngImport: i0, template: `
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1429
|
+
<!-- ax-data-table only subscribes to dataSource in ngOnInit; re-create it when the source changes. -->
|
|
1430
|
+
@for (tableSource of [dataSource()]; track tableSource) {
|
|
1431
|
+
<ax-data-table
|
|
1432
|
+
class="ax-lookup-multi-column-table"
|
|
1433
|
+
look="minimal"
|
|
1434
|
+
[dataSource]="tableSource"
|
|
1435
|
+
[parentField]="parentField()"
|
|
1436
|
+
[hasChildrenField]="hasChildrenField()"
|
|
1437
|
+
[itemHeight]="itemHeight()"
|
|
1438
|
+
[alternative]="alternate()"
|
|
1439
|
+
[emptyTemplate]="emptyTemplate()"
|
|
1440
|
+
[highlightText]="highlightText()"
|
|
1441
|
+
[loading]="loadingConfig()"
|
|
1442
|
+
[paging]="false"
|
|
1443
|
+
[showHeader]="true"
|
|
1444
|
+
[fixedHeader]="true"
|
|
1445
|
+
[showFooter]="false"
|
|
1446
|
+
[allowReordering]="false"
|
|
1447
|
+
[rowTemplate]="itemTemplate() ? customRowTemplate : undefined"
|
|
1448
|
+
[rowCssClass]="resolveRowCssClass"
|
|
1449
|
+
(onRowClick)="handleRowClick($event)"
|
|
1450
|
+
>
|
|
1451
|
+
@for (column of columns(); track trackColumnKey($index, column)) {
|
|
1452
|
+
<ax-text-column
|
|
1453
|
+
[dataField]="column.field"
|
|
1454
|
+
[caption]="column.title | translate | async"
|
|
1455
|
+
[translate]="true"
|
|
1456
|
+
[width]="resolveColumnWidth(column)"
|
|
1457
|
+
[expandHandler]="isExpandColumn($index, column)"
|
|
1458
|
+
[allowSorting]="false"
|
|
1459
|
+
[allowResizing]="false"
|
|
1460
|
+
/>
|
|
1461
|
+
}
|
|
1462
|
+
</ax-data-table>
|
|
1463
|
+
}
|
|
1461
1464
|
|
|
1462
1465
|
<ng-template #customRowTemplate let-ctx>
|
|
1463
1466
|
<tr
|
|
@@ -1491,38 +1494,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
1491
1494
|
'[style.height.px]': 'tableHeight()',
|
|
1492
1495
|
},
|
|
1493
1496
|
template: `
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1497
|
+
<!-- ax-data-table only subscribes to dataSource in ngOnInit; re-create it when the source changes. -->
|
|
1498
|
+
@for (tableSource of [dataSource()]; track tableSource) {
|
|
1499
|
+
<ax-data-table
|
|
1500
|
+
class="ax-lookup-multi-column-table"
|
|
1501
|
+
look="minimal"
|
|
1502
|
+
[dataSource]="tableSource"
|
|
1503
|
+
[parentField]="parentField()"
|
|
1504
|
+
[hasChildrenField]="hasChildrenField()"
|
|
1505
|
+
[itemHeight]="itemHeight()"
|
|
1506
|
+
[alternative]="alternate()"
|
|
1507
|
+
[emptyTemplate]="emptyTemplate()"
|
|
1508
|
+
[highlightText]="highlightText()"
|
|
1509
|
+
[loading]="loadingConfig()"
|
|
1510
|
+
[paging]="false"
|
|
1511
|
+
[showHeader]="true"
|
|
1512
|
+
[fixedHeader]="true"
|
|
1513
|
+
[showFooter]="false"
|
|
1514
|
+
[allowReordering]="false"
|
|
1515
|
+
[rowTemplate]="itemTemplate() ? customRowTemplate : undefined"
|
|
1516
|
+
[rowCssClass]="resolveRowCssClass"
|
|
1517
|
+
(onRowClick)="handleRowClick($event)"
|
|
1518
|
+
>
|
|
1519
|
+
@for (column of columns(); track trackColumnKey($index, column)) {
|
|
1520
|
+
<ax-text-column
|
|
1521
|
+
[dataField]="column.field"
|
|
1522
|
+
[caption]="column.title | translate | async"
|
|
1523
|
+
[translate]="true"
|
|
1524
|
+
[width]="resolveColumnWidth(column)"
|
|
1525
|
+
[expandHandler]="isExpandColumn($index, column)"
|
|
1526
|
+
[allowSorting]="false"
|
|
1527
|
+
[allowResizing]="false"
|
|
1528
|
+
/>
|
|
1529
|
+
}
|
|
1530
|
+
</ax-data-table>
|
|
1531
|
+
}
|
|
1526
1532
|
|
|
1527
1533
|
<ng-template #customRowTemplate let-ctx>
|
|
1528
1534
|
<tr
|
|
@@ -3483,7 +3489,7 @@ class AXLookupComponent extends NXValueComponent {
|
|
|
3483
3489
|
}
|
|
3484
3490
|
/**
|
|
3485
3491
|
* Toggles an item in the multi-select list; the popup stays open.
|
|
3486
|
-
*
|
|
3492
|
+
* Keeps the current search query and filtered results so the user can select multiple matches in a row.
|
|
3487
3493
|
*/
|
|
3488
3494
|
handleMultiToggle(e) {
|
|
3489
3495
|
this.#emitItemClick(e.item);
|
|
@@ -3510,13 +3516,6 @@ class AXLookupComponent extends NXValueComponent {
|
|
|
3510
3516
|
const next = exists ? current.filter((v) => !(v == e.value)) : [...current, e.value];
|
|
3511
3517
|
this.value.set(next);
|
|
3512
3518
|
}
|
|
3513
|
-
if (this.isSheetSearchEnabled() && this.sheetSearchText()) {
|
|
3514
|
-
this.#clearSheetSearch();
|
|
3515
|
-
}
|
|
3516
|
-
else if (this.isEditableTrigger() && this.searchText()) {
|
|
3517
|
-
this.searchText.set('');
|
|
3518
|
-
this.#applyFilterDebounced('');
|
|
3519
|
-
}
|
|
3520
3519
|
}
|
|
3521
3520
|
/**
|
|
3522
3521
|
* Applies the multi-select-tree selection to the value; the popup stays open.
|
|
@@ -3552,13 +3551,6 @@ class AXLookupComponent extends NXValueComponent {
|
|
|
3552
3551
|
}
|
|
3553
3552
|
this.value.set([...e.ids]);
|
|
3554
3553
|
}
|
|
3555
|
-
if (this.isSheetSearchEnabled() && this.sheetSearchText()) {
|
|
3556
|
-
this.#clearSheetSearch();
|
|
3557
|
-
}
|
|
3558
|
-
else if (this.isEditableTrigger() && this.searchText()) {
|
|
3559
|
-
this.searchText.set('');
|
|
3560
|
-
this.#applyFilterDebounced('');
|
|
3561
|
-
}
|
|
3562
3554
|
}
|
|
3563
3555
|
/** Forwards native focus from the trigger input. */
|
|
3564
3556
|
emitOnFocus(e) {
|