@acorex/components 22.2.0-next.0 → 22.2.0-next.2
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/comment/README.md +467 -2
- package/fesm2022/acorex-components-action-sheet.mjs +2 -2
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +2 -2
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +2 -2
- package/fesm2022/acorex-components-button.mjs +1 -1
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +13 -15
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +2 -2
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +2 -2
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-combo-box.mjs +44 -2
- package/fesm2022/acorex-components-combo-box.mjs.map +1 -1
- package/fesm2022/acorex-components-command.mjs +2 -2
- package/fesm2022/acorex-components-command.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +905 -69
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/{acorex-components-conversation-acorex-components-conversation-C1Lf9tAe.mjs → acorex-components-conversation-acorex-components-conversation-pR9sXIuW.mjs} +6 -6
- package/fesm2022/{acorex-components-conversation-acorex-components-conversation-C1Lf9tAe.mjs.map → acorex-components-conversation-acorex-components-conversation-pR9sXIuW.mjs.map} +1 -1
- package/fesm2022/{acorex-components-conversation-picker-rename-file-dialog.component-DyOC1WEb.mjs → acorex-components-conversation-picker-rename-file-dialog.component-DWIRLLMb.mjs} +2 -2
- package/fesm2022/{acorex-components-conversation-picker-rename-file-dialog.component-DyOC1WEb.mjs.map → acorex-components-conversation-picker-rename-file-dialog.component-DWIRLLMb.mjs.map} +1 -1
- package/fesm2022/acorex-components-conversation.mjs +1 -1
- package/fesm2022/acorex-components-data-list.mjs +1 -1
- package/fesm2022/acorex-components-data-list.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +524 -145
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +2 -2
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +2 -2
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +2 -2
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +17 -6
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +16 -11
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +2 -2
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-fab.mjs +1 -1
- package/fesm2022/acorex-components-fab.mjs.map +1 -1
- package/fesm2022/acorex-components-file-viewer.mjs +6 -2
- package/fesm2022/acorex-components-file-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +8 -8
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +108 -5
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +7 -8
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +2 -2
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-lookup.mjs +160 -23
- package/fesm2022/acorex-components-lookup.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +27 -9
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +30 -8
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +1 -1
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +1 -1
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +14 -1
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-reaction.mjs +1 -1
- package/fesm2022/acorex-components-reaction.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +10 -10
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +1 -1
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-sidebar.mjs +2 -2
- package/fesm2022/acorex-components-sidebar.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +4 -2
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +2 -2
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-text-editor.mjs +1950 -0
- package/fesm2022/acorex-components-text-editor.mjs.map +1 -0
- package/fesm2022/acorex-components-time-duration.mjs +59 -19
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +2 -2
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +49 -4
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +1 -1
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +10 -3
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/package.json +9 -20
- package/text-editor/README.md +7 -0
- package/types/acorex-components-combo-box.d.ts +5 -0
- package/types/acorex-components-comment.d.ts +352 -33
- package/types/acorex-components-data-table.d.ts +121 -14
- package/types/acorex-components-drawer.d.ts +2 -2
- package/types/acorex-components-dropdown-button.d.ts +7 -2
- package/types/acorex-components-file-viewer.d.ts +3 -0
- package/types/acorex-components-lookup.d.ts +35 -6
- package/types/acorex-components-map.d.ts +7 -0
- package/types/acorex-components-menu.d.ts +5 -0
- package/types/acorex-components-popover.d.ts +5 -1
- package/types/acorex-components-text-editor.d.ts +1256 -0
- package/types/acorex-components-time-duration.d.ts +17 -3
- package/types/acorex-components-tooltip.d.ts +11 -1
- package/types/acorex-components-wysiwyg.d.ts +5 -0
- package/cron-job/README.md +0 -3
- package/editor/README.md +0 -3
- package/fesm2022/acorex-components-cron-job.mjs +0 -1309
- package/fesm2022/acorex-components-cron-job.mjs.map +0 -1
- package/fesm2022/acorex-components-editor.mjs +0 -199
- package/fesm2022/acorex-components-editor.mjs.map +0 -1
- package/types/acorex-components-cron-job.d.ts +0 -330
- package/types/acorex-components-editor.d.ts +0 -79
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i2 from '@acorex/cdk/common';
|
|
2
2
|
import { AXSortOrder, MXBaseComponent, AXDataSource, AXStyleColorType, AXEvent, AXButtonClickEvent, AXStyleLookType, AXClickEvent, AXItemClickEvent, AXValueChangedEvent } from '@acorex/cdk/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { QueryList, TemplateRef, EventEmitter, WritableSignal, ChangeDetectorRef, OnInit, AfterViewInit, Signal } from '@angular/core';
|
|
4
|
+
import { QueryList, TemplateRef, EventEmitter, WritableSignal, DestroyRef, ChangeDetectorRef, OnInit, AfterViewInit, Signal } from '@angular/core';
|
|
5
5
|
import * as i11 from '@acorex/core/format';
|
|
6
6
|
import { AXFormatOptions } from '@acorex/core/format';
|
|
7
7
|
import * as i8 from '@acorex/components/button';
|
|
@@ -44,6 +44,10 @@ declare abstract class AXDataTableColumnComponent {
|
|
|
44
44
|
effectiveFixed: 'start' | 'end' | undefined;
|
|
45
45
|
get isBand(): boolean;
|
|
46
46
|
getLeafColumns(): AXDataTableColumnComponent[];
|
|
47
|
+
/**
|
|
48
|
+
* Column used for multi-level header layout. Single-child bands are skipped so the child is promoted.
|
|
49
|
+
*/
|
|
50
|
+
getHeaderColumn(): AXDataTableColumnComponent;
|
|
47
51
|
getHeaderDepth(): number;
|
|
48
52
|
abstract get renderCellTemplate(): TemplateRef<unknown>;
|
|
49
53
|
abstract get renderHeaderTemplate(): TemplateRef<unknown>;
|
|
@@ -119,6 +123,16 @@ interface AXDataTableAutoFitColumnOptions {
|
|
|
119
123
|
maxWidth?: number;
|
|
120
124
|
/** When true, only the header cell is measured (e.g. before row data exists). */
|
|
121
125
|
headerOnly?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* When true, `onColumnSizeChanged` is emitted with `isUserInteraction: true` (e.g. double-click resize handle).
|
|
128
|
+
* @defaultValue `false`
|
|
129
|
+
*/
|
|
130
|
+
isUserInteraction?: boolean;
|
|
131
|
+
}
|
|
132
|
+
/** Options for auto-fitting columns configured with `width: 'auto'`. */
|
|
133
|
+
interface AXDataTableAutoFitColumnsWithAutoWidthOptions {
|
|
134
|
+
/** When true, only header cells are measured (e.g. before row data exists). */
|
|
135
|
+
headerOnly?: boolean;
|
|
122
136
|
}
|
|
123
137
|
/** Options for auto-fitting all columns to their content width. */
|
|
124
138
|
interface AXDataTableAutoFitAllColumnsOptions {
|
|
@@ -170,7 +184,7 @@ declare abstract class AXBaseDataTable extends MXBaseComponent {
|
|
|
170
184
|
private readonly cellCssClassCache;
|
|
171
185
|
private readonly highlightService;
|
|
172
186
|
private readonly platformId;
|
|
173
|
-
|
|
187
|
+
protected readonly destroyRef: DestroyRef;
|
|
174
188
|
private _highlightText?;
|
|
175
189
|
private highlightOrder;
|
|
176
190
|
private textHighlightFrame?;
|
|
@@ -317,6 +331,11 @@ declare abstract class AXBaseDataTable extends MXBaseComponent {
|
|
|
317
331
|
* Auto-fits a single column by its `name` / data field.
|
|
318
332
|
*/
|
|
319
333
|
abstract autoFitColumnByName(columnName: string, options?: AXDataTableAutoFitColumnOptions): void;
|
|
334
|
+
/**
|
|
335
|
+
* Auto-fits columns that were configured with `width: 'auto'` (and pending header-only passes).
|
|
336
|
+
* Call again after async cell content (e.g. widgets or lookup labels) has rendered.
|
|
337
|
+
*/
|
|
338
|
+
abstract autoFitColumnsWithAutoWidth(options?: AXDataTableAutoFitColumnsWithAutoWidthOptions): void;
|
|
320
339
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBaseDataTable, never>;
|
|
321
340
|
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
322
341
|
}
|
|
@@ -489,6 +508,13 @@ declare abstract class AXBaseRowCommandColumnComponent extends AXDataTableColumn
|
|
|
489
508
|
allowSorting: boolean;
|
|
490
509
|
get loadingEnabled(): boolean;
|
|
491
510
|
get cssClass(): string;
|
|
511
|
+
/**
|
|
512
|
+
* Command cells already include their own padding in measurement.
|
|
513
|
+
* Extra fit padding would leave empty space around the icon buttons.
|
|
514
|
+
*/
|
|
515
|
+
get autoFitPadding(): number;
|
|
516
|
+
/** One icon button plus the command cell's horizontal padding. */
|
|
517
|
+
get minAutoWidth(): number;
|
|
492
518
|
protected resolveCommandId(rowData: unknown, commandName: string): string;
|
|
493
519
|
protected setCommandLoadingState(commandId: string, loading: boolean): void;
|
|
494
520
|
onItemClick: EventEmitter<AXRowCommandItemClickEvent>;
|
|
@@ -535,8 +561,6 @@ declare class AXRowDropdownCommandColumnComponent extends AXBaseRowCommandColumn
|
|
|
535
561
|
* Returns the name identifier for the column component.
|
|
536
562
|
*/
|
|
537
563
|
get name(): string;
|
|
538
|
-
get autoFitPadding(): number;
|
|
539
|
-
get minAutoWidth(): number;
|
|
540
564
|
/**
|
|
541
565
|
* @ignore
|
|
542
566
|
*/
|
|
@@ -760,6 +784,7 @@ declare class AXRowSelectColumnComponent extends AXDataTableColumnComponent {
|
|
|
760
784
|
* @defaultValue `false`
|
|
761
785
|
*/
|
|
762
786
|
advanceSelect: i0.InputSignal<boolean>;
|
|
787
|
+
private readonly syncAdvanceSelectColumnWidth;
|
|
763
788
|
/**
|
|
764
789
|
* @ignore
|
|
765
790
|
*/
|
|
@@ -860,8 +885,10 @@ interface DataTableBandHeaderCell {
|
|
|
860
885
|
colspan: number;
|
|
861
886
|
/** Index of the last leaf column covered by this band within the current header section. */
|
|
862
887
|
endLeafIndex: number;
|
|
863
|
-
/**
|
|
888
|
+
/** Band column rendered in this header cell. */
|
|
864
889
|
column: AXDataTableColumnComponent;
|
|
890
|
+
/** Top-level column for drag-reorder on the first header row; otherwise the rendered column. */
|
|
891
|
+
ownerColumn: AXDataTableColumnComponent;
|
|
865
892
|
}
|
|
866
893
|
interface DataTableLeafHeaderCell {
|
|
867
894
|
type: 'leaf';
|
|
@@ -869,6 +896,8 @@ interface DataTableLeafHeaderCell {
|
|
|
869
896
|
rowspan: number;
|
|
870
897
|
/** Leaf column index within the current header section. */
|
|
871
898
|
endLeafIndex: number;
|
|
899
|
+
/** Top-level column for drag-reorder on the first header row; otherwise the rendered column. */
|
|
900
|
+
ownerColumn: AXDataTableColumnComponent;
|
|
872
901
|
}
|
|
873
902
|
interface DataTableGapHeaderCell {
|
|
874
903
|
type: 'gap';
|
|
@@ -971,10 +1000,23 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
971
1000
|
*/
|
|
972
1001
|
protected normalColumnsList: Signal<AXDataTableColumnComponent[]>;
|
|
973
1002
|
/**
|
|
974
|
-
* True when a
|
|
975
|
-
*
|
|
1003
|
+
* True when a column owns the tree expander. Its width stays the widest parent row.
|
|
1004
|
+
* Nested rows do not widen it, and leftover wrapper space stays in the spacer column.
|
|
976
1005
|
*/
|
|
977
1006
|
protected hasTreeFillColumn: Signal<boolean>;
|
|
1007
|
+
/**
|
|
1008
|
+
* Pixel width of the table. At least the sum of column content widths, and at least
|
|
1009
|
+
* the wrapper width so a short table still fills the container.
|
|
1010
|
+
*
|
|
1011
|
+
* @ignore
|
|
1012
|
+
*/
|
|
1013
|
+
protected readonly tableWidth: WritableSignal<string>;
|
|
1014
|
+
/**
|
|
1015
|
+
* Minimum table width in pixels. Wider than the wrapper, this produces horizontal scroll.
|
|
1016
|
+
*
|
|
1017
|
+
* @ignore
|
|
1018
|
+
*/
|
|
1019
|
+
protected readonly tableMinWidth: WritableSignal<string>;
|
|
978
1020
|
/**
|
|
979
1021
|
* @ignore
|
|
980
1022
|
*/
|
|
@@ -1065,6 +1107,21 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
1065
1107
|
* @ignore
|
|
1066
1108
|
*/
|
|
1067
1109
|
private userResizedColumns;
|
|
1110
|
+
/**
|
|
1111
|
+
* Content width of tree-expander columns. Used as a floor so those columns are not
|
|
1112
|
+
* squeezed when the other columns are wider than the wrapper.
|
|
1113
|
+
* @ignore
|
|
1114
|
+
*/
|
|
1115
|
+
private treeFillContentWidths;
|
|
1116
|
+
/**
|
|
1117
|
+
* Rendered width of tree-expander columns: content width, plus leftover wrapper space.
|
|
1118
|
+
* @ignore
|
|
1119
|
+
*/
|
|
1120
|
+
private readonly treeFillResolvedWidths;
|
|
1121
|
+
/** Coalesces tree remeasure until expanded rows are in the DOM. */
|
|
1122
|
+
private treeFillAfterExpandTimer;
|
|
1123
|
+
/** @ignore */
|
|
1124
|
+
private resizeObserver;
|
|
1068
1125
|
/**
|
|
1069
1126
|
* @ignore
|
|
1070
1127
|
*/
|
|
@@ -1243,7 +1300,8 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
1243
1300
|
ngAfterViewInit(): void;
|
|
1244
1301
|
private captureAutoFitIntentColumns;
|
|
1245
1302
|
/**
|
|
1246
|
-
* Tree expand columns
|
|
1303
|
+
* Tree expand columns keep a content minimum and grow into leftover table space for nested indent.
|
|
1304
|
+
* `expandHandler` opts any column in, including hosts that extend the base column instead of `ax-text-column`.
|
|
1247
1305
|
*/
|
|
1248
1306
|
private isTreeFillColumn;
|
|
1249
1307
|
/**
|
|
@@ -1376,12 +1434,11 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
1376
1434
|
*/
|
|
1377
1435
|
private calculateStickyColumnsPositions;
|
|
1378
1436
|
/**
|
|
1379
|
-
* Auto-fits columns that have width
|
|
1380
|
-
*
|
|
1381
|
-
*
|
|
1382
|
-
* @ignore
|
|
1437
|
+
* Auto-fits columns that have `width: 'auto'` (captured at init) and columns awaiting a full pass after header-only sizing.
|
|
1438
|
+
* The table runs a header-only pass after view init and a best-effort pass ~100ms after data loads; cell templates that
|
|
1439
|
+
* render asynchronously should call {@link autoFitColumnByName} or this method again once content is in the DOM.
|
|
1383
1440
|
*/
|
|
1384
|
-
|
|
1441
|
+
autoFitColumnsWithAutoWidth(options?: AXDataTableAutoFitColumnsWithAutoWidthOptions): void;
|
|
1385
1442
|
/**
|
|
1386
1443
|
* Auto-fits all resizable columns to their content width.
|
|
1387
1444
|
* Call this whenever row data or templates change and column widths should be recalculated.
|
|
@@ -1392,10 +1449,60 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
1392
1449
|
* Similar to Excel's "AutoFit Column Width" feature.
|
|
1393
1450
|
*
|
|
1394
1451
|
* @param columnIndex - 0-based index in the columns `QueryList`.
|
|
1452
|
+
* @param options - Measurement options; programmatic calls default to `isUserInteraction: false`.
|
|
1395
1453
|
*/
|
|
1396
1454
|
autoFitColumn(columnIndex: number, options?: AXDataTableAutoFitColumnOptions): void;
|
|
1455
|
+
/**
|
|
1456
|
+
* Measures a column's content width without writing it back.
|
|
1457
|
+
* Tree-expander columns use the result as a minimum so they can still grow.
|
|
1458
|
+
*/
|
|
1459
|
+
private measureColumnContentWidth;
|
|
1460
|
+
private isCommandColumn;
|
|
1461
|
+
/**
|
|
1462
|
+
* Select-column header chevron is absolutely positioned, so DOM auto-fit under-reports width.
|
|
1463
|
+
*/
|
|
1464
|
+
private measureSelectColumnWidth;
|
|
1465
|
+
/**
|
|
1466
|
+
* Command buttons are a fixed icon size inside the table. Cloning them outside
|
|
1467
|
+
* `ax-data-table` drops that size and measures default button padding instead.
|
|
1468
|
+
* Read the live controls, then add the cell's own horizontal padding and border.
|
|
1469
|
+
*/
|
|
1470
|
+
private measureCommandColumnWidth;
|
|
1471
|
+
private readCommandControlsWidth;
|
|
1472
|
+
/** Horizontal padding and borders already painted inside the command cell. */
|
|
1473
|
+
private readCommandCellChrome;
|
|
1474
|
+
/** Lets cloned header/cells report their text width instead of the collapsed column width. */
|
|
1475
|
+
private prepareMeasuredCell;
|
|
1476
|
+
/**
|
|
1477
|
+
* Re-measures tree-expander columns and assigns leftover wrapper width.
|
|
1478
|
+
* Does not write a pixel `column.width` or emit `onColumnSizeChanged`.
|
|
1479
|
+
*/
|
|
1480
|
+
private refreshTreeFillLayout;
|
|
1481
|
+
/** Nested rows paint after `onItemExpanded`; remeasure parent rows without widening for children. */
|
|
1482
|
+
private scheduleTreeFillAfterExpand;
|
|
1483
|
+
/**
|
|
1484
|
+
* Stores the content width of tree-expander columns from parent rows only.
|
|
1485
|
+
* Child indent must not widen the column.
|
|
1486
|
+
*/
|
|
1487
|
+
private measureTreeFillColumns;
|
|
1488
|
+
/** A body row nested under a parent (`data-level` greater than 0). */
|
|
1489
|
+
private isNestedTreeRow;
|
|
1490
|
+
private columnHasVisibleRootRow;
|
|
1491
|
+
private readPixelWidth;
|
|
1492
|
+
/**
|
|
1493
|
+
* Sizes the table to the sum of column widths so columns keep their content width
|
|
1494
|
+
* and the wrapper scrolls horizontally when that sum exceeds the container.
|
|
1495
|
+
* A tree-expander column stays at the widest parent row. Leftover space stays in the spacer.
|
|
1496
|
+
*/
|
|
1497
|
+
private updateColumnLayoutWidths;
|
|
1498
|
+
private observeTableWrapper;
|
|
1397
1499
|
/**
|
|
1398
1500
|
* Auto-fits a single column by its `name` / data field.
|
|
1501
|
+
* Call after async cell content has rendered when `width` is `'auto'`.
|
|
1502
|
+
* A tree expand column keeps `width: 'auto'` and refreshes the shared tree layout instead of pinning a pixel width.
|
|
1503
|
+
*
|
|
1504
|
+
* @param columnName - Column `name` / data field.
|
|
1505
|
+
* @param options - Measurement options; programmatic calls default to `isUserInteraction: false`.
|
|
1399
1506
|
*/
|
|
1400
1507
|
autoFitColumnByName(columnName: string, options?: AXDataTableAutoFitColumnOptions): void;
|
|
1401
1508
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableComponent, never>;
|
|
@@ -1409,4 +1516,4 @@ declare class AXDataTableModule {
|
|
|
1409
1516
|
}
|
|
1410
1517
|
|
|
1411
1518
|
export { AXBaseDataTable, AXBaseRowCommandColumnComponent, AXDataTableColumnComponent, AXDataTableColumnResizableDirective, AXDataTableComponent, AXDataTableModule, AXDataTableTextColumnComponent, AXRowCommandColumnComponent, AXRowDropdownCommandColumnComponent, AXRowExpandColumnComponent, AXRowIndexColumnComponent, AXRowSelectColumnComponent, AX_DATA_TABLE_ROW_COLOR_TYPES, AX_DATA_TABLE_ROW_HIGHLIGHT_DEFAULT_BADGE };
|
|
1412
|
-
export type { AXColumnsOrderChangedEvent, AXDataTableAutoFitAllColumnsOptions, AXDataTableAutoFitColumnOptions, AXDataTableCellCssClassResolver, AXDataTableCssClassValue, AXDataTableLook, AXDataTableRowClick, AXDataTableRowColorType, AXDataTableRowCssClassResolver, AXDataTableRowDbClick, AXDataTableRowHighlight, AXDataTableRowHighlightOptions, AXDataTableScrollIndexChanged, AXRowCommandItem, AXRowCommandItemClickEvent, onColumnSizeChangedEvent };
|
|
1519
|
+
export type { AXColumnsOrderChangedEvent, AXDataTableAutoFitAllColumnsOptions, AXDataTableAutoFitColumnOptions, AXDataTableAutoFitColumnsWithAutoWidthOptions, AXDataTableCellCssClassResolver, AXDataTableCssClassValue, AXDataTableLook, AXDataTableRowClick, AXDataTableRowColorType, AXDataTableRowCssClassResolver, AXDataTableRowDbClick, AXDataTableRowHighlight, AXDataTableRowHighlightOptions, AXDataTableScrollIndexChanged, AXRowCommandItem, AXRowCommandItemClickEvent, onColumnSizeChangedEvent };
|
|
@@ -26,7 +26,7 @@ declare class AXDrawerComponent extends MXBaseComponent {
|
|
|
26
26
|
readonly transition: _angular_core.InputSignal<number>;
|
|
27
27
|
readonly closeOnBackdropClick: _angular_core.InputSignal<boolean>;
|
|
28
28
|
readonly backdropClass: _angular_core.InputSignal<string>;
|
|
29
|
-
readonly collapsed: _angular_core.
|
|
29
|
+
readonly collapsed: _angular_core.ModelSignal<boolean>;
|
|
30
30
|
readonly singleOpenMode: _angular_core.InputSignal<boolean>;
|
|
31
31
|
onBackdropClick: _angular_core.OutputEmitterRef<AXClickEvent>;
|
|
32
32
|
collapsedStateChanged: _angular_core.OutputEmitterRef<boolean>;
|
|
@@ -50,7 +50,7 @@ declare class AXDrawerComponent extends MXBaseComponent {
|
|
|
50
50
|
*/
|
|
51
51
|
open(): void;
|
|
52
52
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXDrawerComponent, never>;
|
|
53
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXDrawerComponent, "ax-drawer", never, { "location": { "alias": "location"; "required": false; "isSignal": true; }; "showBackdrop": { "alias": "showBackdrop"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "transition": { "alias": "transition"; "required": false; "isSignal": true; }; "closeOnBackdropClick": { "alias": "closeOnBackdropClick"; "required": false; "isSignal": true; }; "backdropClass": { "alias": "backdropClass"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "singleOpenMode": { "alias": "singleOpenMode"; "required": false; "isSignal": true; }; }, { "onBackdropClick": "onBackdropClick"; "collapsedStateChanged": "collapsedStateChanged"; }, never, ["ax-header", "ax-content"], true, [{ directive: typeof i1.AXDrawerItemDirective; inputs: {}; outputs: {}; }]>;
|
|
53
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXDrawerComponent, "ax-drawer", never, { "location": { "alias": "location"; "required": false; "isSignal": true; }; "showBackdrop": { "alias": "showBackdrop"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "transition": { "alias": "transition"; "required": false; "isSignal": true; }; "closeOnBackdropClick": { "alias": "closeOnBackdropClick"; "required": false; "isSignal": true; }; "backdropClass": { "alias": "backdropClass"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "singleOpenMode": { "alias": "singleOpenMode"; "required": false; "isSignal": true; }; }, { "collapsed": "collapsedChange"; "onBackdropClick": "onBackdropClick"; "collapsedStateChanged": "collapsedStateChanged"; }, never, ["ax-header", "ax-content"], true, [{ directive: typeof i1.AXDrawerItemDirective; inputs: {}; outputs: {}; }]>;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
declare class AXDrawerModule {
|
|
@@ -40,6 +40,12 @@ declare class AXDropdownButtonComponent extends MXButtonBaseComponent implements
|
|
|
40
40
|
* @defaultValue 'split'
|
|
41
41
|
*/
|
|
42
42
|
mode: 'split' | 'dropdown';
|
|
43
|
+
/**
|
|
44
|
+
* Hides the button text and keeps only the projected icon.
|
|
45
|
+
*
|
|
46
|
+
* @defaultValue false
|
|
47
|
+
*/
|
|
48
|
+
iconOnly: boolean;
|
|
43
49
|
/**
|
|
44
50
|
* @ignore
|
|
45
51
|
*/
|
|
@@ -76,9 +82,8 @@ declare class AXDropdownButtonComponent extends MXButtonBaseComponent implements
|
|
|
76
82
|
* @returns void - No return value. The dropdown panel is closed.
|
|
77
83
|
*/
|
|
78
84
|
close(): void;
|
|
79
|
-
private get __hostClass();
|
|
80
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDropdownButtonComponent, never>;
|
|
81
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDropdownButtonComponent, "ax-dropdown-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "text": { "alias": "text"; "required": false; }; "dropdownColor": { "alias": "color"; "required": false; }; "dropdownLook": { "alias": "look"; "required": false; }; "type": { "alias": "type"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "lookChange": "lookChange"; "colorChange": "colorChange"; "disabledChange": "disabledChange"; }, never, ["ax-
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDropdownButtonComponent, "ax-dropdown-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "text": { "alias": "text"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "dropdownColor": { "alias": "color"; "required": false; }; "dropdownLook": { "alias": "look"; "required": false; }; "type": { "alias": "type"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "lookChange": "lookChange"; "colorChange": "colorChange"; "disabledChange": "disabledChange"; }, never, ["ax-prefix, ax-loading, ax-loading-spinner", "*"], true, never>;
|
|
82
87
|
}
|
|
83
88
|
|
|
84
89
|
declare class AXDropdownButtonModule {
|
|
@@ -78,6 +78,9 @@ declare class AXFileViewerContainerComponent implements OnDestroy {
|
|
|
78
78
|
readonly headerActionClick: _angular_core.OutputEmitterRef<AXFileViewerHeaderActionClickEvent>;
|
|
79
79
|
readonly fullscreenClosed: _angular_core.OutputEmitterRef<void>;
|
|
80
80
|
readonly service: AXFileViewerService;
|
|
81
|
+
private localeService;
|
|
82
|
+
/** Mirrors the active locale so slide arrows follow RTL reading direction. */
|
|
83
|
+
protected readonly isRtl: _angular_core.Signal<boolean>;
|
|
81
84
|
private readonly host;
|
|
82
85
|
private readonly fullScreenService;
|
|
83
86
|
private readonly document;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { TemplateRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { TemplateRef, InjectionToken, ElementRef } from '@angular/core';
|
|
3
3
|
import { AXEvent, AXDataSource, AXListDataSource, AXHtmlEvent, NXValueComponent, AXStyleLookType, AXValueChangedEvent, AXFocusEvent, AXItemClickEvent, AXItemSelectedEvent } from '@acorex/cdk/common';
|
|
4
4
|
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
5
5
|
import { AXSearchBoxComponent } from '@acorex/components/search-box';
|
|
6
|
-
import {
|
|
6
|
+
import { AXTreeViewDataSource, AXTreeViewSelectionBehavior, AXTreeViewItemTemplateContext, AXTreeViewNode, AXTreeViewSelectionChangeEvent } from '@acorex/components/tree-view';
|
|
7
7
|
import { FormValueControl } from '@angular/forms/signals';
|
|
8
8
|
import { AXListNavigationDirective, AXListNavigationItemDirective } from '@acorex/cdk/list-navigation';
|
|
9
9
|
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
@@ -261,6 +261,15 @@ declare class AXLookupMultiSelectTreeComponent {
|
|
|
261
261
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXLookupMultiSelectTreeComponent, "ax-lookup-multi-select-tree", never, { "dataSource": { "alias": "dataSource"; "required": true; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "disabledField": { "alias": "disabledField"; "required": false; "isSignal": true; }; "selectedValues": { "alias": "selectedValues"; "required": false; "isSignal": true; }; "selectionBehavior": { "alias": "selectionBehavior"; "required": false; "isSignal": true; }; "nodeTemplate": { "alias": "nodeTemplate"; "required": false; "isSignal": true; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; "isSignal": true; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "alternate": { "alias": "alternate"; "required": false; "isSignal": true; }; "filterKey": { "alias": "filterKey"; "required": false; "isSignal": true; }; "highlightText": { "alias": "highlightText"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; }, never, never, true, never>;
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
+
interface AXLookupConfig {
|
|
265
|
+
/** Whether multi-select modes show the default "Select all" header. */
|
|
266
|
+
allowSelectAll: boolean;
|
|
267
|
+
}
|
|
268
|
+
declare const AXLookupDefaultConfig: AXLookupConfig;
|
|
269
|
+
declare const AX_LOOKUP_CONFIG: InjectionToken<AXLookupConfig>;
|
|
270
|
+
type PartialLookupConfig = Partial<AXLookupConfig>;
|
|
271
|
+
declare function lookupConfig(config?: PartialLookupConfig): AXLookupConfig;
|
|
272
|
+
|
|
264
273
|
/**
|
|
265
274
|
* An advanced drop-down (lookup) editor with six modes, `AXDataSource` support, and virtual scrolling.
|
|
266
275
|
*
|
|
@@ -404,6 +413,14 @@ declare class AXLookupComponent<T = AXLookupItem> extends NXValueComponent imple
|
|
|
404
413
|
* while the user searches.
|
|
405
414
|
*/
|
|
406
415
|
highlightSearch: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
416
|
+
/**
|
|
417
|
+
* When `true` (default), `multi-select` and `multi-select-tree` show the default popover header
|
|
418
|
+
* with “Select all” unless you project `ax-header`. When `false`, that header is hidden and users
|
|
419
|
+
* cannot enter select-all mode from the UI. Defaults to `AX_LOOKUP_CONFIG.allowSelectAll`.
|
|
420
|
+
* If a `{ selectAll: true }` value is bound while this is `false`, the trigger still shows a
|
|
421
|
+
* removable “Select all” chip until the user clears it.
|
|
422
|
+
*/
|
|
423
|
+
allowSelectAll: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
407
424
|
/**
|
|
408
425
|
* Custom template rendered for each item/node. Context: `$implicit` is the item;
|
|
409
426
|
* `highlightText` is the active search query when result highlighting is enabled.
|
|
@@ -425,7 +442,8 @@ declare class AXLookupComponent<T = AXLookupItem> extends NXValueComponent imple
|
|
|
425
442
|
loadingTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
|
|
426
443
|
/**
|
|
427
444
|
* The selected value(s): a scalar in single modes; in `multi-select` / `multi-select-tree` an array
|
|
428
|
-
* of keys or `{ selectAll: true, excluded?: [...] }` when
|
|
445
|
+
* of keys or `{ selectAll: true, excluded?: [...] }` when `allowSelectAll` is enabled and the
|
|
446
|
+
* default header “Select all” is used.
|
|
429
447
|
* Supports `[(value)]`, `[(ngModel)]`, and signal forms via {@link FormValueControl}.
|
|
430
448
|
*/
|
|
431
449
|
readonly value: _angular_core.ModelSignal<unknown>;
|
|
@@ -498,6 +516,7 @@ declare class AXLookupComponent<T = AXLookupItem> extends NXValueComponent imple
|
|
|
498
516
|
protected multiSelectAllActive: _angular_core.Signal<boolean>;
|
|
499
517
|
protected multiExcludedValues: _angular_core.Signal<unknown[]>;
|
|
500
518
|
protected hasProjectedHeader: _angular_core.Signal<boolean>;
|
|
519
|
+
protected multiViewEmpty: _angular_core.Signal<boolean>;
|
|
501
520
|
protected showDefaultSelectAllHeader: _angular_core.Signal<boolean>;
|
|
502
521
|
protected selectAllHeaderChecked: _angular_core.Signal<boolean>;
|
|
503
522
|
protected selectAllHeaderIndeterminate: _angular_core.Signal<boolean>;
|
|
@@ -532,6 +551,7 @@ declare class AXLookupComponent<T = AXLookupItem> extends NXValueComponent imple
|
|
|
532
551
|
protected popupRef: _angular_core.Signal<ElementRef<HTMLElement>>;
|
|
533
552
|
protected triggerSearchInput: _angular_core.Signal<ElementRef<HTMLInputElement>>;
|
|
534
553
|
protected listView: _angular_core.Signal<AXLookupListViewBase>;
|
|
554
|
+
protected multiTreeView: _angular_core.Signal<AXLookupMultiSelectTreeComponent>;
|
|
535
555
|
protected sheetSearchRef: _angular_core.Signal<AXSearchBoxComponent>;
|
|
536
556
|
constructor();
|
|
537
557
|
/** Returns the display text of an item using the `textField` mapping. */
|
|
@@ -566,6 +586,11 @@ declare class AXLookupComponent<T = AXLookupItem> extends NXValueComponent imple
|
|
|
566
586
|
protected onSelectAllHeaderMouseDown(event: Event): void;
|
|
567
587
|
/** Blocks typing when the trigger is not editable (keeps Tab / keyboard open working). */
|
|
568
588
|
protected onBeforeInput(event: Event): void;
|
|
589
|
+
/**
|
|
590
|
+
* On pointer down, select the committed label so the next keystroke replaces it
|
|
591
|
+
* instead of editing character-by-character (single-select searchable trigger).
|
|
592
|
+
*/
|
|
593
|
+
protected onTriggerPointerDown(event: PointerEvent): void;
|
|
569
594
|
/**
|
|
570
595
|
* Returns focus to the search field when list navigation requests it.
|
|
571
596
|
*/
|
|
@@ -615,6 +640,8 @@ declare class AXLookupComponent<T = AXLookupItem> extends NXValueComponent imple
|
|
|
615
640
|
* Removes a single chip from the multi selection.
|
|
616
641
|
*/
|
|
617
642
|
protected removeChip(event: Event, item: AXLookupItem): void;
|
|
643
|
+
/** Clears select-all mode from the trigger chip (same as unchecking the header). */
|
|
644
|
+
protected removeSelectAllChip(event: Event): void;
|
|
618
645
|
/**
|
|
619
646
|
* Seeds the item cache with known items so matching `value` keys resolve without `byKey`.
|
|
620
647
|
* Useful after an async parent-entity load when `valueItems` is not bound.
|
|
@@ -630,7 +657,7 @@ declare class AXLookupComponent<T = AXLookupItem> extends NXValueComponent imple
|
|
|
630
657
|
*/
|
|
631
658
|
reset(isUserInteraction?: boolean): void;
|
|
632
659
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXLookupComponent<any>, never>;
|
|
633
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXLookupComponent<any>, "ax-lookup", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "treeDataSource": { "alias": "treeDataSource"; "required": false; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "disabledField": { "alias": "disabledField"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "treeParentField": { "alias": "treeParentField"; "required": false; "isSignal": true; }; "hasChildrenField": { "alias": "hasChildrenField"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "adaptivityEnabled": { "alias": "adaptivityEnabled"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "alternate": { "alias": "alternate"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "itemHeight": { "alias": "itemHeight"; "required": false; "isSignal": true; }; "maxVisibleItems": { "alias": "maxVisibleItems"; "required": false; "isSignal": true; }; "treeSelectionBehavior": { "alias": "treeSelectionBehavior"; "required": false; "isSignal": true; }; "highlightSearch": { "alias": "highlightSearch"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; "selectedTemplate": { "alias": "selectedTemplate"; "required": false; "isSignal": true; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; "isSignal": true; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "valueItems": { "alias": "valueItems"; "required": false; "isSignal": true; }; }, { "look": "lookChange"; "value": "valueChange"; "onValueChanged": "onValueChanged"; "onSelectionChanged": "onSelectionChanged"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onItemClick": "onItemClick"; "onItemSelected": "onItemSelected"; "onOpened": "onOpened"; "onClosed": "onClosed"; }, ["projectedHeader"], ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-header", "ax-footer", "ax-validation-rule"], true, never>;
|
|
660
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXLookupComponent<any>, "ax-lookup", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "treeDataSource": { "alias": "treeDataSource"; "required": false; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "disabledField": { "alias": "disabledField"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "treeParentField": { "alias": "treeParentField"; "required": false; "isSignal": true; }; "hasChildrenField": { "alias": "hasChildrenField"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "adaptivityEnabled": { "alias": "adaptivityEnabled"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "alternate": { "alias": "alternate"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "itemHeight": { "alias": "itemHeight"; "required": false; "isSignal": true; }; "maxVisibleItems": { "alias": "maxVisibleItems"; "required": false; "isSignal": true; }; "treeSelectionBehavior": { "alias": "treeSelectionBehavior"; "required": false; "isSignal": true; }; "highlightSearch": { "alias": "highlightSearch"; "required": false; "isSignal": true; }; "allowSelectAll": { "alias": "allowSelectAll"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; "selectedTemplate": { "alias": "selectedTemplate"; "required": false; "isSignal": true; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; "isSignal": true; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "valueItems": { "alias": "valueItems"; "required": false; "isSignal": true; }; }, { "look": "lookChange"; "value": "valueChange"; "onValueChanged": "onValueChanged"; "onSelectionChanged": "onSelectionChanged"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onItemClick": "onItemClick"; "onItemSelected": "onItemSelected"; "onOpened": "onOpened"; "onClosed": "onClosed"; }, ["projectedHeader"], ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-header", "ax-footer", "ax-validation-rule"], true, never>;
|
|
634
661
|
}
|
|
635
662
|
|
|
636
663
|
/**
|
|
@@ -943,6 +970,8 @@ declare function isLookupSelectAllValue(value: unknown): value is AXLookupSelect
|
|
|
943
970
|
declare function lookupExcludedValues(value: unknown): unknown[];
|
|
944
971
|
/** Whether the bound multi value is in select-all mode. */
|
|
945
972
|
declare function lookupSelectAllActive(value: unknown): boolean;
|
|
973
|
+
/** Whether the bound value represents no selection (matches clear-button semantics). */
|
|
974
|
+
declare function lookupBoundValueIsEmpty(value: unknown): boolean;
|
|
946
975
|
/** Normalized explicit key list for array-mode multi values. */
|
|
947
976
|
declare function lookupArrayValues(value: unknown): unknown[];
|
|
948
977
|
declare function createLookupSelectAllValue(excluded?: unknown[]): AXLookupSelectAllValue;
|
|
@@ -1008,5 +1037,5 @@ declare function cloneLookupTreeNodes(nodes: AXLookupItem[]): AXLookupItem[];
|
|
|
1008
1037
|
/** Depth-first flattening of nested `children` arrays. */
|
|
1009
1038
|
declare function flattenTreeNodes(nodes: AXLookupItem[]): AXLookupItem[];
|
|
1010
1039
|
|
|
1011
|
-
export { AXLookupComponent, AXLookupDropDownListComponent, AXLookupDropDownTreeComponent, AXLookupModule, AXLookupMultiColumnComponent, AXLookupMultiColumnTreeComponent, AXLookupMultiSelectComponent, AXLookupMultiSelectTreeComponent, cloneLookupTreeNodes, convertLookupArrayToDataSource, createLookupSelectAllValue, createLookupTreeTableDataSource, filterTreeNodes, flattenTreeNodes, hydrateLookupTree, isLookupSelectAllValue, lookupArrayValues, lookupExcludedValues, lookupMultiValuesEqual, lookupSelectAllActive, lookupTreeNodeMayHaveChildren, matchesLookupText, prepareFilteredTreeTableRows };
|
|
1012
|
-
export type { AXLookupArrayDataSourceOptions, AXLookupColumn, AXLookupItem, AXLookupItemClickEvent, AXLookupMode, AXLookupMultiValue, AXLookupSelectAllValue, AXLookupSelectionChangedEvent, AXLookupTreeSelectionEvent, AXLookupTreeTableDataSourceOptions, HydrateLookupTreeOptions };
|
|
1040
|
+
export { AXLookupComponent, AXLookupDefaultConfig, AXLookupDropDownListComponent, AXLookupDropDownTreeComponent, AXLookupModule, AXLookupMultiColumnComponent, AXLookupMultiColumnTreeComponent, AXLookupMultiSelectComponent, AXLookupMultiSelectTreeComponent, AX_LOOKUP_CONFIG, cloneLookupTreeNodes, convertLookupArrayToDataSource, createLookupSelectAllValue, createLookupTreeTableDataSource, filterTreeNodes, flattenTreeNodes, hydrateLookupTree, isLookupSelectAllValue, lookupArrayValues, lookupBoundValueIsEmpty, lookupConfig, lookupExcludedValues, lookupMultiValuesEqual, lookupSelectAllActive, lookupTreeNodeMayHaveChildren, matchesLookupText, prepareFilteredTreeTableRows };
|
|
1041
|
+
export type { AXLookupArrayDataSourceOptions, AXLookupColumn, AXLookupConfig, AXLookupItem, AXLookupItemClickEvent, AXLookupMode, AXLookupMultiValue, AXLookupSelectAllValue, AXLookupSelectionChangedEvent, AXLookupTreeSelectionEvent, AXLookupTreeTableDataSourceOptions, HydrateLookupTreeOptions, PartialLookupConfig };
|
|
@@ -29,6 +29,7 @@ interface AXMapLatLng {
|
|
|
29
29
|
interface AXMapMarker extends AXMapLatLng {
|
|
30
30
|
title?: string;
|
|
31
31
|
iconKey?: string;
|
|
32
|
+
icon?: string;
|
|
32
33
|
popup?: string;
|
|
33
34
|
popupOpen?: boolean;
|
|
34
35
|
popupCloseButton?: boolean;
|
|
@@ -47,6 +48,7 @@ interface AXMapMarker extends AXMapLatLng {
|
|
|
47
48
|
interface AXPoiMarker extends AXMapLatLng {
|
|
48
49
|
title?: string;
|
|
49
50
|
iconKey?: string;
|
|
51
|
+
icon?: string;
|
|
50
52
|
popup?: string;
|
|
51
53
|
popupOpen?: boolean;
|
|
52
54
|
popupCloseButton?: boolean;
|
|
@@ -773,6 +775,11 @@ declare class AXLeafletService {
|
|
|
773
775
|
* @returns Leaflet icon
|
|
774
776
|
*/
|
|
775
777
|
setCustomIcon(iconSrc: string): Promise<any>;
|
|
778
|
+
/**
|
|
779
|
+
* True when the value is already renderable (inline SVG, data URI, or URL/path)
|
|
780
|
+
* and should not be sent to AXIconResolverService as an icon key.
|
|
781
|
+
*/
|
|
782
|
+
private isDirectIconContent;
|
|
776
783
|
/**
|
|
777
784
|
* Creates a Leaflet icon from SVG or URL
|
|
778
785
|
* @param iconSrc The icon source (SVG string or URL)
|
|
@@ -14,6 +14,8 @@ declare abstract class AXRootMenu {
|
|
|
14
14
|
onItemClick: OutputEmitterRef<AXMenuItemClickBaseEvent>;
|
|
15
15
|
nativeElement: HTMLDivElement;
|
|
16
16
|
hasArrow: WritableSignal<boolean>;
|
|
17
|
+
/** When implemented (e.g. context menu), reports whether the root panel is open. */
|
|
18
|
+
isOpen?: () => boolean;
|
|
17
19
|
}
|
|
18
20
|
declare abstract class AXMenuItemComponentBase {
|
|
19
21
|
parent?: AXMenuItemComponentBase | null;
|
|
@@ -85,6 +87,9 @@ declare class AXContextMenuComponent extends NXComponent {
|
|
|
85
87
|
/** Emitted when the menu closes (backdrop, item click, scroll, another menu opening, etc.). */
|
|
86
88
|
onClose: _angular_core.OutputEmitterRef<void>;
|
|
87
89
|
hasArrow: _angular_core.WritableSignal<boolean>;
|
|
90
|
+
private readonly isMenuOpen;
|
|
91
|
+
/** @ignore */
|
|
92
|
+
isOpen: () => boolean;
|
|
88
93
|
private service;
|
|
89
94
|
private renderer;
|
|
90
95
|
private document;
|
|
@@ -135,6 +135,10 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
135
135
|
* Determines if a backdrop should be displayed behind the popover.
|
|
136
136
|
*/
|
|
137
137
|
hasBackdrop: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Whether the popover saves the focused element on open and restores it on close.
|
|
140
|
+
*/
|
|
141
|
+
restoreFocusOnClose: boolean;
|
|
138
142
|
/**
|
|
139
143
|
* Delay in milliseconds before the popover opens after a trigger event.
|
|
140
144
|
*/
|
|
@@ -263,7 +267,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
263
267
|
/** @ignore */
|
|
264
268
|
ngOnDestroy(): void;
|
|
265
269
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPopoverComponent, never>;
|
|
266
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPopoverComponent, "ax-popover", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "disablePanelClass": { "alias": "disablePanelClass"; "required": false; "isSignal": true; }; "visualContextScope": { "alias": "visualContextScope"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; "offsetX": { "alias": "offsetX"; "required": false; }; "offsetY": { "alias": "offsetY"; "required": false; }; "target": { "alias": "target"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "content": { "alias": "content"; "required": false; }; "openOn": { "alias": "openOn"; "required": false; }; "closeOn": { "alias": "closeOn"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "openAfter": { "alias": "openAfter"; "required": false; }; "closeAfter": { "alias": "closeAfter"; "required": false; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; }; "closeOnNavigation": { "alias": "closeOnNavigation"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "adaptivityEnabled": { "alias": "adaptivityEnabled"; "required": false; }; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["*"], true, never>;
|
|
270
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPopoverComponent, "ax-popover", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "disablePanelClass": { "alias": "disablePanelClass"; "required": false; "isSignal": true; }; "visualContextScope": { "alias": "visualContextScope"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; }; "offsetX": { "alias": "offsetX"; "required": false; }; "offsetY": { "alias": "offsetY"; "required": false; }; "target": { "alias": "target"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "content": { "alias": "content"; "required": false; }; "openOn": { "alias": "openOn"; "required": false; }; "closeOn": { "alias": "closeOn"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "restoreFocusOnClose": { "alias": "restoreFocusOnClose"; "required": false; }; "openAfter": { "alias": "openAfter"; "required": false; }; "closeAfter": { "alias": "closeAfter"; "required": false; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; }; "closeOnNavigation": { "alias": "closeOnNavigation"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "adaptivityEnabled": { "alias": "adaptivityEnabled"; "required": false; }; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["*"], true, never>;
|
|
267
271
|
}
|
|
268
272
|
|
|
269
273
|
declare class AXPopoverModule {
|