@acorex/components 20.1.23 → 20.1.25
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/breadcrumbs/index.d.ts +1 -0
- package/button-group/index.d.ts +7 -1
- package/calendar/index.d.ts +3 -0
- package/comment/index.d.ts +5 -5
- package/fesm2022/acorex-components-accordion.mjs +10 -10
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +16 -13
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +7 -7
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +7 -7
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs +8 -8
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +10 -10
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +7 -7
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +10 -10
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +20 -17
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +29 -17
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +13 -13
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +18 -15
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +7 -7
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +7 -7
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +7 -7
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +10 -10
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +7 -7
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +28 -28
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +34 -34
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +51 -51
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +46 -46
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +31 -31
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +37 -37
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +7 -7
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +7 -7
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +9 -9
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +25 -25
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +10 -10
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer-2.mjs +10 -10
- package/fesm2022/acorex-components-drawer-2.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +13 -13
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +7 -7
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +13 -13
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs +25 -25
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs +16 -16
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +16 -16
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +10 -10
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +34 -34
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +7 -7
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +7 -7
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +10 -6
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +16 -10
- package/fesm2022/acorex-components-kbd.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +7 -7
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +8 -8
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +39 -21
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +74 -16
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +481 -110
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +34 -34
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +33 -16
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-C4zx7OP6.mjs → acorex-components-modal-acorex-components-modal-DykbEbg0.mjs} +21 -21
- package/fesm2022/{acorex-components-modal-acorex-components-modal-C4zx7OP6.mjs.map → acorex-components-modal-acorex-components-modal-DykbEbg0.mjs.map} +1 -1
- package/fesm2022/{acorex-components-modal-modal-content.component-DfhgA_WL.mjs → acorex-components-modal-modal-content.component-73xLTLTg.mjs} +5 -5
- package/fesm2022/{acorex-components-modal-modal-content.component-DfhgA_WL.mjs.map → acorex-components-modal-modal-content.component-73xLTLTg.mjs.map} +1 -1
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +7 -7
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +10 -10
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box-2.mjs +3 -3
- package/fesm2022/acorex-components-number-box-2.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +7 -7
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +7 -7
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs +10 -10
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +25 -25
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +10 -10
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +7 -7
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +7 -7
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +13 -13
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +8 -13
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +10 -10
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +7 -7
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +7 -7
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +7 -7
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +7 -7
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +13 -13
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +7 -7
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +7 -7
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs +22 -22
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +7 -7
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +7 -7
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-rrule.mjs +6 -6
- package/fesm2022/acorex-components-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +31 -31
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-scss.mjs +4 -4
- package/fesm2022/acorex-components-scss.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +7 -7
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +9 -10
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list-2.mjs +7 -7
- package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +7 -7
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +98 -43
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +7 -7
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +7 -7
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-sliding-item.mjs +13 -13
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +13 -13
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +10 -10
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +13 -13
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +9 -9
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +7 -7
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +7 -7
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +12 -12
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs +7 -7
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +10 -10
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +10 -10
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +7 -7
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +10 -10
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +10 -10
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +22 -22
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-video-player.mjs +7 -7
- package/fesm2022/acorex-components-video-player.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +31 -31
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/kanban/index.d.ts +7 -3
- package/kbd/index.d.ts +6 -0
- package/list/index.d.ts +1 -1
- package/loading/index.d.ts +58 -1
- package/loading-dialog/index.d.ts +29 -11
- package/map/index.d.ts +93 -1
- package/menu/index.d.ts +17 -0
- package/package.json +16 -16
- package/popover/index.d.ts +1 -1
- package/rate-picker/index.d.ts +1 -1
- package/side-menu/index.d.ts +15 -6
package/kanban/index.d.ts
CHANGED
@@ -29,9 +29,13 @@ declare class AXKanbanComponent extends NXComponent {
|
|
29
29
|
protected items: _angular_core.Signal<AXKanbanItem[]>;
|
30
30
|
protected filteredStatuses: _angular_core.Signal<AXKanbanStatus[]>;
|
31
31
|
/**
|
32
|
-
* Handles
|
33
|
-
*
|
34
|
-
* re-indexing, and emits a comprehensive event with
|
32
|
+
* Handles a drop operation to reorder items or move them between statuses.
|
33
|
+
* It uses the component's current rendered state (`this.items`) as the source
|
34
|
+
* of truth, performs precise re-indexing, and emits a comprehensive event with
|
35
|
+
* the updated data source.
|
36
|
+
*
|
37
|
+
* @param event AXDropListDroppedEvent - The drag-and-drop event including indices and container information.
|
38
|
+
* @returns void
|
35
39
|
*/
|
36
40
|
drop(event: AXDropListDroppedEvent): void;
|
37
41
|
protected getItemsById(key: any): AXKanbanItem[];
|
package/kbd/index.d.ts
CHANGED
@@ -4,6 +4,12 @@ import * as i1 from '@angular/common';
|
|
4
4
|
declare class AXKBDItemComponent {
|
5
5
|
keys: i0.InputSignal<string | string[]>;
|
6
6
|
modifierKeys: i0.WritableSignal<string[]>;
|
7
|
+
/**
|
8
|
+
* Capitalizes the first letter of the provided text.
|
9
|
+
*
|
10
|
+
* @param text Input text to transform
|
11
|
+
* @returns The text with its first character uppercased
|
12
|
+
*/
|
7
13
|
capitalizeFirstLetter(text: string): string;
|
8
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXKBDItemComponent, never>;
|
9
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXKBDItemComponent, "ax-kbd-item", never, { "keys": { "alias": "keys"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
package/list/index.d.ts
CHANGED
@@ -148,7 +148,7 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
|
|
148
148
|
*/
|
149
149
|
showEmptyTemplate: i0.Signal<boolean>;
|
150
150
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXListComponent, never>;
|
151
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXListComponent, "ax-list", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "textTemplate": { "alias": "textTemplate"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "isItemTruncated": { "alias": "isItemTruncated"; "required": false; "isSignal": true; }; "showItemTooltip": { "alias": "showItemTooltip"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; }, { "onValueChanged": "onValueChanged"; "disabledChange": "disabledChange"; "
|
151
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXListComponent, "ax-list", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "textTemplate": { "alias": "textTemplate"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "isItemTruncated": { "alias": "isItemTruncated"; "required": false; "isSignal": true; }; "showItemTooltip": { "alias": "showItemTooltip"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; }; "itemHeight": { "alias": "itemHeight"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; }, { "onValueChanged": "onValueChanged"; "disabledChange": "disabledChange"; "readonlyChange": "readonlyChange"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onItemClick": "onItemClick"; "onScrolledIndexChanged": "onScrolledIndexChanged"; }, never, ["ax-header", "ax-footer"], true, never>;
|
152
152
|
}
|
153
153
|
|
154
154
|
declare class AXListModule {
|
package/loading/index.d.ts
CHANGED
@@ -15,7 +15,6 @@ import * as i3 from '@angular/cdk/dialog';
|
|
15
15
|
declare class AXLoadingSpinnerComponent {
|
16
16
|
/**
|
17
17
|
* The text to display alongside the spinner.
|
18
|
-
* @ignore
|
19
18
|
*/
|
20
19
|
text: string;
|
21
20
|
/**
|
@@ -105,17 +104,75 @@ declare class AXLoadingService {
|
|
105
104
|
protected loadingStates: WeakMap<object, Map<LoaderId, boolean>>;
|
106
105
|
protected loadingStates$: WeakMap<object, Map<LoaderId, BehaviorSubject<boolean>>>;
|
107
106
|
private dialog;
|
107
|
+
/**
|
108
|
+
* Shows a modal loading overlay.
|
109
|
+
*
|
110
|
+
* If a host element is provided via `config.location`, the overlay is attached to that
|
111
|
+
* element; otherwise it is attached to `document.body`.
|
112
|
+
*
|
113
|
+
* @param config Optional configuration: host `location`, `type`, and `context` passed to the spinner instance.
|
114
|
+
* @returns number Unique loading reference id to be used with {@link hide}.
|
115
|
+
*/
|
108
116
|
show(config?: {
|
109
117
|
location?: Element;
|
110
118
|
type?: string;
|
111
119
|
context?: unknown;
|
112
120
|
}): number;
|
121
|
+
/**
|
122
|
+
* Hides a previously shown modal loading overlay.
|
123
|
+
*
|
124
|
+
* @param id Loading reference id returned by {@link show}.
|
125
|
+
*/
|
113
126
|
hide(id: number): void;
|
127
|
+
/**
|
128
|
+
* Wraps an Observable and toggles loading for its duration.
|
129
|
+
*
|
130
|
+
* Starts loading before subscription settles and ends loading on finalize.
|
131
|
+
*
|
132
|
+
* @param source$ Source observable.
|
133
|
+
* @param context Loading context key.
|
134
|
+
* @param loaderId Optional id to scope multiple loaders per context.
|
135
|
+
* @returns Observable<V> The original stream with loading side effects.
|
136
|
+
*/
|
114
137
|
doLoading<V>(source$: Observable<V>, context: LoadingContext, loaderId?: LoaderId): Observable<V>;
|
138
|
+
/**
|
139
|
+
* Returns current loading state for the given context and optional loader id.
|
140
|
+
*
|
141
|
+
* @param context Loading context key.
|
142
|
+
* @param loaderId Optional loader id.
|
143
|
+
* @returns boolean True if any matching loader is active.
|
144
|
+
*/
|
115
145
|
isLoading(context: LoadingContext, loaderId?: LoaderId): boolean;
|
146
|
+
/**
|
147
|
+
* Observable loading state for the given context and optional loader id.
|
148
|
+
* Initializes the state if it does not exist yet.
|
149
|
+
*
|
150
|
+
* @param context Loading context key.
|
151
|
+
* @param loaderId Optional loader id.
|
152
|
+
* @returns Observable<boolean>
|
153
|
+
*/
|
116
154
|
isLoading$(context: LoadingContext, loaderId?: LoaderId | any): Observable<boolean>;
|
155
|
+
/**
|
156
|
+
* Sets loading state to true for the given context/loader id.
|
157
|
+
*
|
158
|
+
* @param context Loading context key.
|
159
|
+
* @param loaderId Optional loader id.
|
160
|
+
* @returns void
|
161
|
+
*/
|
117
162
|
startLoading(context: LoadingContext, loaderId?: LoaderId): void;
|
163
|
+
/**
|
164
|
+
* Sets loading state to false for the given context/loader id.
|
165
|
+
*
|
166
|
+
* @param context Loading context key.
|
167
|
+
* @param loaderId Optional loader id.
|
168
|
+
* @returns void
|
169
|
+
*/
|
118
170
|
endLoading(context: LoadingContext, loaderId?: LoaderId): void;
|
171
|
+
/**
|
172
|
+
* Clears all tracked loading states across all contexts.
|
173
|
+
*
|
174
|
+
* @returns void
|
175
|
+
*/
|
119
176
|
clearLoadings(): void;
|
120
177
|
protected setLoadingState(context: LoadingContext, state: boolean, loaderId: LoaderId): void;
|
121
178
|
protected hasLoadingStates(context: LoadingContext, loaderId: LoaderId): boolean;
|
@@ -62,32 +62,44 @@ declare class AXLoadingDialogComponent extends MXBaseComponent {
|
|
62
62
|
/** @ignore */
|
63
63
|
protected progressValue: WritableSignal<number>;
|
64
64
|
/**
|
65
|
-
* Closes the dialog.
|
65
|
+
* Closes the loading dialog.
|
66
|
+
*
|
67
|
+
* @returns void - No return value. The dialog is closed and control returns to the caller.
|
66
68
|
*/
|
67
69
|
close(): void;
|
68
70
|
/**
|
69
|
-
* Sets the progress text.
|
70
|
-
*
|
71
|
+
* Sets the displayed progress text inside the dialog.
|
72
|
+
*
|
73
|
+
* @param text The text to display under the progress bar.
|
74
|
+
* @returns void
|
71
75
|
*/
|
72
76
|
setProgressText(text: string): void;
|
73
77
|
/**
|
74
|
-
* Sets the
|
75
|
-
*
|
78
|
+
* Sets the status text, typically representing the current step out of total steps (e.g., "5/10").
|
79
|
+
*
|
80
|
+
* @param status The status text to display.
|
81
|
+
* @returns void
|
76
82
|
*/
|
77
83
|
setProgressStatus(status: string): void;
|
78
84
|
/**
|
79
|
-
* Sets the color
|
80
|
-
*
|
85
|
+
* Sets the color used by the progress indicator.
|
86
|
+
*
|
87
|
+
* @param color The color token to apply to the progress UI.
|
88
|
+
* @returns void
|
81
89
|
*/
|
82
90
|
setProgressColor(color: AXStyleColorType): void;
|
83
91
|
/**
|
84
|
-
* Sets the title
|
85
|
-
*
|
92
|
+
* Sets the dialog title text.
|
93
|
+
*
|
94
|
+
* @param text The title text to display at the top of the dialog.
|
95
|
+
* @returns void
|
86
96
|
*/
|
87
97
|
setDialogTitle(text: string): void;
|
88
98
|
/**
|
89
|
-
* Sets the progress value.
|
90
|
-
*
|
99
|
+
* Sets the numeric progress value.
|
100
|
+
*
|
101
|
+
* @param value A number in the range 0–100 representing the current progress.
|
102
|
+
* @returns void
|
91
103
|
*/
|
92
104
|
setProgressValue(value: number): void;
|
93
105
|
/** @ignore */
|
@@ -106,6 +118,12 @@ declare class AXLoadingDialogModule {
|
|
106
118
|
|
107
119
|
declare class AXLoadingDialogService {
|
108
120
|
private dialog;
|
121
|
+
/**
|
122
|
+
* Opens a loading dialog with the specified configuration.
|
123
|
+
*
|
124
|
+
* @param options Configuration for the loading dialog, including title, progress mode, and optional initial values.
|
125
|
+
* @returns AXDialogRef - A reference with helper methods to control the dialog lifecycle and UI (close, setProgressValue, setProgressText, setDialogTitle, setProgressColor, setProgressStatus).
|
126
|
+
*/
|
109
127
|
show(options: AXLoadingDialogConfig): AXDialogRef;
|
110
128
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingDialogService, never>;
|
111
129
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXLoadingDialogService>;
|
package/map/index.d.ts
CHANGED
@@ -31,6 +31,14 @@ interface AXMapMarker extends AXMapLatLng {
|
|
31
31
|
popup?: string;
|
32
32
|
popupOpen?: boolean;
|
33
33
|
popupCloseButton?: boolean;
|
34
|
+
/**
|
35
|
+
* If true, the marker cannot be deleted or moved/edited via draw interactions
|
36
|
+
*/
|
37
|
+
isLocked?: boolean;
|
38
|
+
/**
|
39
|
+
* Optional unique identifier for id-based operations
|
40
|
+
*/
|
41
|
+
id?: string | number;
|
34
42
|
}
|
35
43
|
/**
|
36
44
|
* Represents a Point of Interest marker on the map with the same properties as AXMapMarker.
|
@@ -126,6 +134,12 @@ declare class AXMapComponent implements OnDestroy {
|
|
126
134
|
* @default false
|
127
135
|
*/
|
128
136
|
addPoiToFitDraw: _angular_core.InputSignal<boolean>;
|
137
|
+
/**
|
138
|
+
* @description
|
139
|
+
* If true, user can add a marker by clicking/tapping on the map.
|
140
|
+
* @default false
|
141
|
+
*/
|
142
|
+
addMarkerOnTap: _angular_core.InputSignal<boolean>;
|
129
143
|
/**
|
130
144
|
* @description
|
131
145
|
* Position of the marker control on the map.
|
@@ -212,6 +226,11 @@ declare class AXMapComponent implements OnDestroy {
|
|
212
226
|
* Event triggered map is loaded.
|
213
227
|
*/
|
214
228
|
onMapReady: _angular_core.OutputEmitterRef<void>;
|
229
|
+
/**
|
230
|
+
* @description
|
231
|
+
* Event triggered when map loading/initialization fails.
|
232
|
+
*/
|
233
|
+
onLoadError: _angular_core.OutputEmitterRef<Error>;
|
215
234
|
private mapContainer;
|
216
235
|
private leafletService;
|
217
236
|
private rendered;
|
@@ -234,6 +253,11 @@ declare class AXMapComponent implements OnDestroy {
|
|
234
253
|
* @param emitEvents - Whether to emit events for the marker.
|
235
254
|
*/
|
236
255
|
addMarker(location: AXMapMarker | AXMapMarker[], emitEvents?: boolean): Promise<void>;
|
256
|
+
/**
|
257
|
+
* @description
|
258
|
+
* Removes markers by id or location; if not provided removes all markers
|
259
|
+
*/
|
260
|
+
removeMarker(location?: AXMapMarker | AXMapMarker[]): void;
|
237
261
|
/**
|
238
262
|
* @description
|
239
263
|
* Adds a polygon to the specified location on the map.
|
@@ -241,6 +265,11 @@ declare class AXMapComponent implements OnDestroy {
|
|
241
265
|
* @param emitEvents - Whether to emit events for the polygon.
|
242
266
|
*/
|
243
267
|
addPolygon(location: AXMapPolygon | AXMapPolygon[], emitEvents?: boolean): void;
|
268
|
+
/**
|
269
|
+
* @description
|
270
|
+
* Removes polygons by id or geometry; if not provided removes all polygons
|
271
|
+
*/
|
272
|
+
removePolygon(location?: AXMapPolygon | AXMapPolygon[]): void;
|
244
273
|
/**
|
245
274
|
* @description
|
246
275
|
* Retrieves all markers currently placed on the map.
|
@@ -303,14 +332,42 @@ declare class AXMapComponent implements OnDestroy {
|
|
303
332
|
* Setup map event listeners
|
304
333
|
*/
|
305
334
|
private setupMapEvents;
|
335
|
+
/**
|
336
|
+
* Setup map movement event subscriptions
|
337
|
+
*/
|
338
|
+
private setupMapMovementEvents;
|
306
339
|
/**
|
307
340
|
* Setup draw event subscriptions
|
308
341
|
*/
|
309
342
|
private setupDrawEventSubscriptions;
|
343
|
+
/**
|
344
|
+
* Setup marker event subscriptions
|
345
|
+
*/
|
346
|
+
private setupMarkerEventSubscriptions;
|
347
|
+
/**
|
348
|
+
* Setup polygon event subscriptions
|
349
|
+
*/
|
350
|
+
private setupPolygonEventSubscriptions;
|
351
|
+
/**
|
352
|
+
* Setup POI event subscriptions
|
353
|
+
*/
|
354
|
+
private setupPoiEventSubscriptions;
|
310
355
|
/**
|
311
356
|
* Unsubscribe from draw events
|
312
357
|
*/
|
313
358
|
private unsubscribeFromDrawEvents;
|
359
|
+
/**
|
360
|
+
* Unsubscribe from marker events
|
361
|
+
*/
|
362
|
+
private unsubscribeMarkerEvents;
|
363
|
+
/**
|
364
|
+
* Unsubscribe from polygon events
|
365
|
+
*/
|
366
|
+
private unsubscribePolygonEvents;
|
367
|
+
/**
|
368
|
+
* Unsubscribe from POI events
|
369
|
+
*/
|
370
|
+
private unsubscribePoiEvents;
|
314
371
|
/**
|
315
372
|
* @description
|
316
373
|
* Update popup for a specific marker
|
@@ -342,8 +399,16 @@ declare class AXMapComponent implements OnDestroy {
|
|
342
399
|
* Cleanup function that destroys the map and unsubscribes from all subscriptions.
|
343
400
|
*/
|
344
401
|
ngOnDestroy(): void;
|
402
|
+
/**
|
403
|
+
* Unsubscribe from all event subscriptions
|
404
|
+
*/
|
405
|
+
private unsubscribeFromAllEvents;
|
406
|
+
/**
|
407
|
+
* Unsubscribe from map-level events
|
408
|
+
*/
|
409
|
+
private unsubscribeFromMapEvents;
|
345
410
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMapComponent, never>;
|
346
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMapComponent, "ax-map", never, { "zoomLevel": { "alias": "zoomLevel"; "required": false; "isSignal": true; }; "latitude": { "alias": "latitude"; "required": false; "isSignal": true; }; "longitude": { "alias": "longitude"; "required": false; "isSignal": true; }; "maxMarker": { "alias": "maxMarker"; "required": false; "isSignal": true; }; "maxPolygon": { "alias": "maxPolygon"; "required": false; "isSignal": true; }; "hasDraw": { "alias": "hasDraw"; "required": false; "isSignal": true; }; "hasLocator": { "alias": "hasLocator"; "required": false; "isSignal": true; }; "fitToDraw": { "alias": "fitToDraw"; "required": false; "isSignal": true; }; "limitDraw": { "alias": "limitDraw"; "required": false; "isSignal": true; }; "addPoiToFitDraw": { "alias": "addPoiToFitDraw"; "required": false; "isSignal": true; }; "markerPlace": { "alias": "markerPlace"; "required": false; "isSignal": true; }; "locatePlace": { "alias": "locatePlace"; "required": false; "isSignal": true; }; "poiMinZoom": { "alias": "poiMinZoom"; "required": false; "isSignal": true; }; "markers": { "alias": "markers"; "required": false; "isSignal": true; }; "polygons": { "alias": "polygons"; "required": false; "isSignal": true; }; "pois": { "alias": "pois"; "required": false; "isSignal": true; }; }, { "zoomLevel": "zoomLevelChange"; "latitude": "latitudeChange"; "longitude": "longitudeChange"; "onMarkerAdded": "onMarkerAdded"; "onMarkerClick": "onMarkerClick"; "onMarkerChanged": "onMarkerChanged"; "onPolygonAdded": "onPolygonAdded"; "onPolygonClick": "onPolygonClick"; "onPolygonChanged": "onPolygonChanged"; "onLocationFound": "onLocationFound"; "onPoiChanged": "onPoiChanged"; "onPoiAdded": "onPoiAdded"; "onMapReady": "onMapReady"; }, never, never, true, never>;
|
411
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMapComponent, "ax-map", never, { "zoomLevel": { "alias": "zoomLevel"; "required": false; "isSignal": true; }; "latitude": { "alias": "latitude"; "required": false; "isSignal": true; }; "longitude": { "alias": "longitude"; "required": false; "isSignal": true; }; "maxMarker": { "alias": "maxMarker"; "required": false; "isSignal": true; }; "maxPolygon": { "alias": "maxPolygon"; "required": false; "isSignal": true; }; "hasDraw": { "alias": "hasDraw"; "required": false; "isSignal": true; }; "hasLocator": { "alias": "hasLocator"; "required": false; "isSignal": true; }; "fitToDraw": { "alias": "fitToDraw"; "required": false; "isSignal": true; }; "limitDraw": { "alias": "limitDraw"; "required": false; "isSignal": true; }; "addPoiToFitDraw": { "alias": "addPoiToFitDraw"; "required": false; "isSignal": true; }; "addMarkerOnTap": { "alias": "addMarkerOnTap"; "required": false; "isSignal": true; }; "markerPlace": { "alias": "markerPlace"; "required": false; "isSignal": true; }; "locatePlace": { "alias": "locatePlace"; "required": false; "isSignal": true; }; "poiMinZoom": { "alias": "poiMinZoom"; "required": false; "isSignal": true; }; "markers": { "alias": "markers"; "required": false; "isSignal": true; }; "polygons": { "alias": "polygons"; "required": false; "isSignal": true; }; "pois": { "alias": "pois"; "required": false; "isSignal": true; }; }, { "zoomLevel": "zoomLevelChange"; "latitude": "latitudeChange"; "longitude": "longitudeChange"; "onMarkerAdded": "onMarkerAdded"; "onMarkerClick": "onMarkerClick"; "onMarkerChanged": "onMarkerChanged"; "onPolygonAdded": "onPolygonAdded"; "onPolygonClick": "onPolygonClick"; "onPolygonChanged": "onPolygonChanged"; "onLocationFound": "onLocationFound"; "onPoiChanged": "onPoiChanged"; "onPoiAdded": "onPoiAdded"; "onMapReady": "onMapReady"; "onLoadError": "onLoadError"; }, never, never, true, never>;
|
347
412
|
}
|
348
413
|
|
349
414
|
interface AXMapConfig {
|
@@ -387,6 +452,9 @@ declare class AXLeafletService {
|
|
387
452
|
private poiLayer?;
|
388
453
|
private boundary;
|
389
454
|
private boundaryLayer;
|
455
|
+
private _addMarkerOnTapEnabled;
|
456
|
+
private _isCurrentlyDrawing;
|
457
|
+
private _hasDrawControl;
|
390
458
|
/**
|
391
459
|
* Emits when the zoom level of the map changes.
|
392
460
|
*/
|
@@ -427,6 +495,10 @@ declare class AXLeafletService {
|
|
427
495
|
* Emits when polygon data changes.
|
428
496
|
*/
|
429
497
|
onPolygonChanged: EventEmitter<AXMapPolygon[]>;
|
498
|
+
/**
|
499
|
+
* Emits when an error occurs during map load/initialization
|
500
|
+
*/
|
501
|
+
onLoadError: EventEmitter<Error>;
|
430
502
|
/**
|
431
503
|
* Emits when a polygon is added.
|
432
504
|
*/
|
@@ -630,6 +702,26 @@ declare class AXLeafletService {
|
|
630
702
|
* @param providerKey The key of the provider to refresh
|
631
703
|
*/
|
632
704
|
refreshPoiByProvider(providerKey: string): Promise<void>;
|
705
|
+
/**
|
706
|
+
* Sets whether markers can be added by clicking/tapping on the map
|
707
|
+
* @param enabled Whether to enable marker-on-tap functionality
|
708
|
+
*/
|
709
|
+
setAddMarkerOnTap(enabled: boolean): void;
|
710
|
+
/**
|
711
|
+
* Checks if the map is currently in drawing mode
|
712
|
+
* @returns True if currently drawing
|
713
|
+
*/
|
714
|
+
private _isDrawingMode;
|
715
|
+
/**
|
716
|
+
* Removes markers by id or location. If no location provided, removes all markers.
|
717
|
+
*/
|
718
|
+
removeMarker(locations?: AXMapMarker | AXMapMarker[]): void;
|
719
|
+
/**
|
720
|
+
* Removes polygons by id or geometry. If no location provided, removes all polygons.
|
721
|
+
*/
|
722
|
+
removePolygon(locations?: AXMapPolygon | AXMapPolygon[]): void;
|
723
|
+
setMaxMarkers(maxMarkers: number): void;
|
724
|
+
setMaxPolygons(maxPolygons: number): void;
|
633
725
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXLeafletService, never>;
|
634
726
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXLeafletService>;
|
635
727
|
}
|
package/menu/index.d.ts
CHANGED
@@ -133,7 +133,19 @@ declare class AXMenuItemComponent extends NXComponent implements OnDestroy {
|
|
133
133
|
* Manually detect all `ax-menu-item` elements and check if this menu item has sub-items.
|
134
134
|
*/
|
135
135
|
private detectSubItems;
|
136
|
+
/**
|
137
|
+
* Opens the submenu of this menu item if it has sub-items and is not disabled.
|
138
|
+
*
|
139
|
+
* Inherited behavior: Uses the injected service to notify other items to close.
|
140
|
+
*
|
141
|
+
* @returns void - No return value. Triggers submenu opening side-effects.
|
142
|
+
*/
|
136
143
|
open(): void;
|
144
|
+
/**
|
145
|
+
* Closes the submenu of this menu item if open.
|
146
|
+
*
|
147
|
+
* @returns void - No return value. Triggers submenu closing side-effects.
|
148
|
+
*/
|
137
149
|
close(): void;
|
138
150
|
/**
|
139
151
|
* Calculate the position of the submenu to avoid it going out of the viewport.
|
@@ -192,6 +204,11 @@ declare class AXMenuComponent extends NXComponent {
|
|
192
204
|
hasArrow: _angular_core.InputSignal<boolean>;
|
193
205
|
/** @ignore */
|
194
206
|
get __hostClass(): string[];
|
207
|
+
/**
|
208
|
+
* Closes all open menus and submenus for this root menu.
|
209
|
+
*
|
210
|
+
* @returns void - No return value. All open menu overlays are closed and hidden.
|
211
|
+
*/
|
195
212
|
close(): void;
|
196
213
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMenuComponent, never>;
|
197
214
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXMenuComponent, "ax-menu", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "openOn": { "alias": "openOn"; "required": false; "isSignal": true; }; "closeOn": { "alias": "closeOn"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "hasArrow": { "alias": "hasArrow"; "required": false; "isSignal": true; }; }, { "onItemClick": "onItemClick"; }, never, ["ax-menu-item,ax-divider,ax-title,ng-container"], true, never>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/components",
|
3
|
-
"version": "20.1.
|
3
|
+
"version": "20.1.25",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": "^20.0.0",
|
6
6
|
"@angular/core": "^20.0.0",
|
@@ -374,10 +374,6 @@
|
|
374
374
|
"types": "./tabs/index.d.ts",
|
375
375
|
"default": "./fesm2022/acorex-components-tabs.mjs"
|
376
376
|
},
|
377
|
-
"./tag": {
|
378
|
-
"types": "./tag/index.d.ts",
|
379
|
-
"default": "./fesm2022/acorex-components-tag.mjs"
|
380
|
-
},
|
381
377
|
"./tag-box": {
|
382
378
|
"types": "./tag-box/index.d.ts",
|
383
379
|
"default": "./fesm2022/acorex-components-tag-box.mjs"
|
@@ -394,14 +390,14 @@
|
|
394
390
|
"types": "./time-duration/index.d.ts",
|
395
391
|
"default": "./fesm2022/acorex-components-time-duration.mjs"
|
396
392
|
},
|
397
|
-
"./time-line": {
|
398
|
-
"types": "./time-line/index.d.ts",
|
399
|
-
"default": "./fesm2022/acorex-components-time-line.mjs"
|
400
|
-
},
|
401
393
|
"./toast": {
|
402
394
|
"types": "./toast/index.d.ts",
|
403
395
|
"default": "./fesm2022/acorex-components-toast.mjs"
|
404
396
|
},
|
397
|
+
"./time-line": {
|
398
|
+
"types": "./time-line/index.d.ts",
|
399
|
+
"default": "./fesm2022/acorex-components-time-line.mjs"
|
400
|
+
},
|
405
401
|
"./toolbar": {
|
406
402
|
"types": "./toolbar/index.d.ts",
|
407
403
|
"default": "./fesm2022/acorex-components-toolbar.mjs"
|
@@ -410,21 +406,25 @@
|
|
410
406
|
"types": "./tooltip/index.d.ts",
|
411
407
|
"default": "./fesm2022/acorex-components-tooltip.mjs"
|
412
408
|
},
|
413
|
-
"./tree-view": {
|
414
|
-
"types": "./tree-view/index.d.ts",
|
415
|
-
"default": "./fesm2022/acorex-components-tree-view.mjs"
|
416
|
-
},
|
417
409
|
"./uploader": {
|
418
410
|
"types": "./uploader/index.d.ts",
|
419
411
|
"default": "./fesm2022/acorex-components-uploader.mjs"
|
420
412
|
},
|
421
|
-
"./
|
422
|
-
"types": "./
|
423
|
-
"default": "./fesm2022/acorex-components-
|
413
|
+
"./tree-view": {
|
414
|
+
"types": "./tree-view/index.d.ts",
|
415
|
+
"default": "./fesm2022/acorex-components-tree-view.mjs"
|
416
|
+
},
|
417
|
+
"./tag": {
|
418
|
+
"types": "./tag/index.d.ts",
|
419
|
+
"default": "./fesm2022/acorex-components-tag.mjs"
|
424
420
|
},
|
425
421
|
"./wysiwyg": {
|
426
422
|
"types": "./wysiwyg/index.d.ts",
|
427
423
|
"default": "./fesm2022/acorex-components-wysiwyg.mjs"
|
424
|
+
},
|
425
|
+
"./video-player": {
|
426
|
+
"types": "./video-player/index.d.ts",
|
427
|
+
"default": "./fesm2022/acorex-components-video-player.mjs"
|
428
428
|
}
|
429
429
|
}
|
430
430
|
}
|
package/popover/index.d.ts
CHANGED
@@ -82,7 +82,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
82
82
|
/** @ignore */
|
83
83
|
private _placement;
|
84
84
|
/**
|
85
|
-
* Gets
|
85
|
+
* Gets the current placement of the component.
|
86
86
|
*/
|
87
87
|
get placement(): AXPlacementType;
|
88
88
|
/**
|
package/rate-picker/index.d.ts
CHANGED
@@ -103,7 +103,7 @@ declare class AXRatePickerComponent extends MXValueComponent<number> {
|
|
103
103
|
* @description
|
104
104
|
* Handles mouse leave events to reset styles.
|
105
105
|
*/
|
106
|
-
mouseLeave(): void;
|
106
|
+
protected mouseLeave(): void;
|
107
107
|
/**
|
108
108
|
* @description
|
109
109
|
* Cleans up event listeners and restores the previous rating value.
|
package/side-menu/index.d.ts
CHANGED
@@ -2,8 +2,7 @@ import * as _angular_core from '@angular/core';
|
|
2
2
|
import * as i2 from '@acorex/cdk/common';
|
3
3
|
import { AXClickEvent, MXInteractiveComponent, NXComponent } from '@acorex/cdk/common';
|
4
4
|
import * as i5 from '@angular/router';
|
5
|
-
import { UrlTree, IsActiveMatchOptions
|
6
|
-
import { AXOutlineContainerDirective } from '@acorex/cdk/outline';
|
5
|
+
import { UrlTree, IsActiveMatchOptions } from '@angular/router';
|
7
6
|
import * as i1 from '@angular/common';
|
8
7
|
import * as i3 from '@acorex/components/loading';
|
9
8
|
import * as i4 from '@acorex/core/translation';
|
@@ -19,6 +18,7 @@ declare class AXSideMenuItemComponent extends MXInteractiveComponent {
|
|
19
18
|
isLoading: _angular_core.ModelSignal<boolean>;
|
20
19
|
isCollapsed: _angular_core.ModelSignal<boolean>;
|
21
20
|
onClick: _angular_core.OutputEmitterRef<AXSideMenuItemClickEvent>;
|
21
|
+
toggleOnClick: _angular_core.InputSignal<boolean>;
|
22
22
|
href: _angular_core.InputSignal<string>;
|
23
23
|
routerLink: _angular_core.InputSignal<string | any[] | UrlTree>;
|
24
24
|
routerLinkActive: _angular_core.InputSignal<string | string[]>;
|
@@ -33,7 +33,7 @@ declare class AXSideMenuItemComponent extends MXInteractiveComponent {
|
|
33
33
|
open(): void;
|
34
34
|
close(): void;
|
35
35
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSideMenuItemComponent, never>;
|
36
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSideMenuItemComponent, "ax-side-menu-item", never, { "disabled": { "alias": "disabled"; "required": false; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "routerLinkActive": { "alias": "routerLinkActive"; "required": false; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "text": "textChange"; "active": "activeChange"; "isLoading": "isLoadingChange"; "isCollapsed": "isCollapsedChange"; "onClick": "onClick"; }, never, ["ax-title", "ax-side-menu-item, ng-container", "ax-divider", "ax-prefix", "ax-text", "*", "ax-suffix"], true, never>;
|
36
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSideMenuItemComponent, "ax-side-menu-item", never, { "disabled": { "alias": "disabled"; "required": false; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; "isSignal": true; }; "toggleOnClick": { "alias": "toggleOnClick"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "routerLinkActive": { "alias": "routerLinkActive"; "required": false; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "text": "textChange"; "active": "activeChange"; "isLoading": "isLoadingChange"; "isCollapsed": "isCollapsedChange"; "onClick": "onClick"; }, never, ["ax-title", "ax-side-menu-item, ng-container", "ax-divider", "ax-prefix", "ax-text", "*", "ax-suffix"], true, never>;
|
37
37
|
}
|
38
38
|
|
39
39
|
type AXSideMenuLook = 'pills' | 'with-line' | 'with-line-color';
|
@@ -55,6 +55,7 @@ type AXSideMenuItem = {
|
|
55
55
|
icon?: string;
|
56
56
|
data?: unknown;
|
57
57
|
suffixText?: string;
|
58
|
+
toggleOnClick?: boolean;
|
58
59
|
items?: AXSideMenuItem[];
|
59
60
|
};
|
60
61
|
/**
|
@@ -74,12 +75,20 @@ declare class AXSideMenuComponent extends NXComponent {
|
|
74
75
|
|
75
76
|
declare class AXOutlineSideMenuDirective {
|
76
77
|
#private;
|
77
|
-
router
|
78
|
-
sideMenu: AXSideMenuComponent;
|
79
|
-
container: AXOutlineContainerDirective;
|
78
|
+
private router;
|
80
79
|
private unsubscriber;
|
80
|
+
private sideMenu;
|
81
|
+
private container;
|
81
82
|
private updateSideMenu;
|
83
|
+
/**
|
84
|
+
* Creates a string signature that represents the tree structure of the menu.
|
85
|
+
* Example: "href1(href1.1,href1.2),href2,href3"
|
86
|
+
* This will be different for a flat list vs. a nested list.
|
87
|
+
*/
|
88
|
+
private getStructuralSignature;
|
89
|
+
private flattenMenuItems;
|
82
90
|
private textReplace;
|
91
|
+
private buildNestedMenuItems;
|
83
92
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXOutlineSideMenuDirective, never>;
|
84
93
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXOutlineSideMenuDirective, "[axOutlineSideMenu]", ["axOutlineSideMenu"], {}, {}, never, never, true, never>;
|
85
94
|
}
|