@acorex/components 20.2.0-next.2 → 20.2.0-next.20
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/action-sheet/index.d.ts +57 -10
- package/alert/index.d.ts +2 -4
- package/autocomplete/index.d.ts +7 -2
- package/avatar/index.d.ts +12 -6
- package/badge/index.d.ts +1 -2
- package/bottom-navigation/index.d.ts +10 -2
- package/breadcrumbs/index.d.ts +17 -4
- package/button/index.d.ts +56 -17
- package/button-group/index.d.ts +8 -5
- package/calendar/index.d.ts +28 -16
- package/check-box/index.d.ts +2 -5
- package/chips/index.d.ts +1 -2
- package/circular-progress/index.d.ts +23 -18
- package/collapse/index.d.ts +7 -6
- package/color-box/index.d.ts +5 -8
- package/color-palette/index.d.ts +19 -24
- package/comment/index.d.ts +8 -8
- package/conversation/index.d.ts +1 -0
- package/cron-job/index.d.ts +5 -4
- package/data-list/README.md +356 -0
- package/data-list/index.d.ts +102 -0
- package/data-pager/index.d.ts +10 -5
- package/datetime-box/index.d.ts +2 -7
- package/datetime-input/index.d.ts +2 -4
- package/datetime-picker/index.d.ts +9 -10
- package/dropdown/index.d.ts +41 -0
- package/fesm2022/acorex-components-accordion.mjs +10 -10
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +78 -48
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +10 -12
- 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 +32 -10
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +22 -17
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +8 -9
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +17 -13
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +36 -20
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +31 -22
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +73 -30
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +100 -53
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +9 -11
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +8 -9
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +30 -25
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +20 -18
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +34 -30
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +55 -75
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +38 -38
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +58 -52
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +54 -48
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-list.mjs +386 -0
- package/fesm2022/acorex-components-data-list.mjs.map +1 -0
- package/fesm2022/acorex-components-data-pager.mjs +41 -36
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +40 -40
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +22 -31
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +17 -14
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +98 -45
- 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 +57 -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 +40 -16
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +26 -17
- 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 +40 -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 +8 -8
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +11 -7
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +20 -13
- package/fesm2022/acorex-components-kbd.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +9 -9
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +27 -19
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +40 -22
- 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 +534 -115
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +37 -37
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +44 -18
- 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-yzX5PZMM.mjs} +101 -22
- package/fesm2022/acorex-components-modal-acorex-components-modal-yzX5PZMM.mjs.map +1 -0
- package/fesm2022/{acorex-components-modal-modal-content.component-DfhgA_WL.mjs → acorex-components-modal-modal-content.component-Bt8c43qi.mjs} +5 -5
- package/fesm2022/{acorex-components-modal-modal-content.component-DfhgA_WL.mjs.map → acorex-components-modal-modal-content.component-Bt8c43qi.mjs.map} +1 -1
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +13 -8
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +14 -11
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box-2.mjs +13 -7
- package/fesm2022/acorex-components-number-box-2.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +16 -10
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +9 -9
- 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 +31 -25
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +20 -14
- 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 +22 -13
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +26 -16
- 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 +8 -8
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +24 -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 +39 -39
- 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 +13 -7
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +117 -38
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list-2.mjs +12 -9
- package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +14 -11
- 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 +20 -18
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +39 -21
- 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 +16 -10
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +19 -13
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs +41 -65
- 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 +14 -13
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +11 -11
- 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 +41 -35
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/flow-chart/index.d.ts +24 -0
- package/form/index.d.ts +4 -0
- package/image-editor/index.d.ts +1 -0
- package/json-viewer/index.d.ts +3 -3
- package/kanban/index.d.ts +7 -3
- package/kbd/index.d.ts +10 -3
- package/list/index.d.ts +14 -7
- package/loading/index.d.ts +58 -1
- package/loading-dialog/index.d.ts +29 -11
- package/map/index.d.ts +119 -6
- package/menu/index.d.ts +19 -0
- package/modal/index.d.ts +43 -0
- package/navbar/index.d.ts +6 -1
- package/number-box/index.d.ts +1 -0
- package/number-box-2/index.d.ts +1 -0
- package/package.json +9 -2
- package/paint/index.d.ts +2 -1
- package/password-box/index.d.ts +7 -6
- package/phone-box/index.d.ts +11 -8
- package/picker/index.d.ts +10 -8
- package/popover/index.d.ts +1 -1
- package/radio/index.d.ts +1 -1
- package/rail-navigation/index.d.ts +11 -0
- package/rate-picker/index.d.ts +1 -1
- package/scheduler/index.d.ts +1 -1
- package/search-box/index.d.ts +1 -0
- package/select-box/index.d.ts +32 -8
- package/side-menu/index.d.ts +16 -7
- package/tag-box/index.d.ts +3 -2
- package/text-area/index.d.ts +1 -0
- package/text-box/index.d.ts +1 -0
- package/time-duration/index.d.ts +3 -1
- package/tooltip/index.d.ts +3 -2
- package/wysiwyg/index.d.ts +1 -0
- package/fesm2022/acorex-components-modal-acorex-components-modal-C4zx7OP6.mjs.map +0 -1
package/flow-chart/index.d.ts
CHANGED
@@ -135,8 +135,26 @@ declare class AXFlowChartComponent extends NXComponent {
|
|
135
135
|
selectedNode: _angular_core.Signal<AXFlowChartNodes>;
|
136
136
|
selectedEdge: _angular_core.Signal<AXFlowChartEdges>;
|
137
137
|
handleKeyboardEvent(event: KeyboardEvent): void;
|
138
|
+
/**
|
139
|
+
* Draws edges on the flow chart.
|
140
|
+
*
|
141
|
+
* @param edges Array of edges to draw.
|
142
|
+
* @returns void
|
143
|
+
*/
|
138
144
|
drawEdges(edges: AXFlowChartEdges[]): void;
|
145
|
+
/**
|
146
|
+
* Removes a specific edge from the flow chart.
|
147
|
+
*
|
148
|
+
* @param edge The edge object to remove.
|
149
|
+
* @returns void
|
150
|
+
*/
|
139
151
|
removeEdge(edge: AXFlowChartEdges): void;
|
152
|
+
/**
|
153
|
+
* Creates one or more nodes on the flow chart.
|
154
|
+
*
|
155
|
+
* @param nodes Array of node definitions to create.
|
156
|
+
* @returns void
|
157
|
+
*/
|
140
158
|
createNode(nodes: {
|
141
159
|
id: string;
|
142
160
|
type: string;
|
@@ -144,6 +162,12 @@ declare class AXFlowChartComponent extends NXComponent {
|
|
144
162
|
x: number;
|
145
163
|
y: number;
|
146
164
|
}[]): void;
|
165
|
+
/**
|
166
|
+
* Removes a node by its identifier.
|
167
|
+
*
|
168
|
+
* @param nodeId The unique id of the node to remove.
|
169
|
+
* @returns void
|
170
|
+
*/
|
147
171
|
removeNode(nodeId: string): void;
|
148
172
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFlowChartComponent, never>;
|
149
173
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFlowChartComponent, "ax-flow-chart", never, { "initialFlowChartNode": { "alias": "initialFlowChartNode"; "required": true; "isSignal": true; }; "initialFlowChartEdge": { "alias": "initialFlowChartEdge"; "required": true; "isSignal": true; }; }, {}, never, ["ax-header", "ax-flow-chart-renderer", "ax-footer"], true, never>;
|
package/form/index.d.ts
CHANGED
package/image-editor/index.d.ts
CHANGED
@@ -169,6 +169,7 @@ declare class AXImageEditorContainerComponent extends AXImageEditorContainerComp
|
|
169
169
|
save(): void;
|
170
170
|
protected cropButtonHandler(): void;
|
171
171
|
get __hostClass(): string;
|
172
|
+
private get __hostName();
|
172
173
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXImageEditorContainerComponent, never>;
|
173
174
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXImageEditorContainerComponent, "ax-image-editor-container", never, { "look": { "alias": "look"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onValueChanged": "onValueChanged"; }, ["view"], ["ax-header", "ax-image-editor-view", "ax-validation-rule"], true, never>;
|
174
175
|
}
|
package/json-viewer/index.d.ts
CHANGED
@@ -5,15 +5,15 @@ import * as i3 from '@angular/common';
|
|
5
5
|
|
6
6
|
declare class JsonViewerComponent {
|
7
7
|
#private;
|
8
|
-
json: i0.InputSignal<
|
9
|
-
convertedData: i0.WritableSignal<any>;
|
8
|
+
readonly json: i0.InputSignal<object>;
|
9
|
+
protected convertedData: i0.WritableSignal<any>;
|
10
10
|
protected convertNestedToArray(obj: any): any;
|
11
11
|
protected isArray(arry: any): arry is any[];
|
12
12
|
protected isNumber(i: any): i is number;
|
13
13
|
protected isDate(value: any): value is Date;
|
14
14
|
protected isBoolean(value: any): value is boolean;
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<JsonViewerComponent, never>;
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<JsonViewerComponent, "ax-json-viewer", never, { "json": { "alias": "json"; "required":
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JsonViewerComponent, "ax-json-viewer", never, { "json": { "alias": "json"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
17
17
|
}
|
18
18
|
|
19
19
|
declare class AXJsonViewerModule {
|
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
@@ -1,15 +1,22 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
+
import { NXComponent } from '@acorex/cdk/common';
|
2
3
|
import * as i1 from '@angular/common';
|
3
4
|
|
4
|
-
declare class AXKBDItemComponent {
|
5
|
+
declare class AXKBDItemComponent extends NXComponent {
|
5
6
|
keys: i0.InputSignal<string | string[]>;
|
6
7
|
modifierKeys: i0.WritableSignal<string[]>;
|
7
|
-
|
8
|
+
/**
|
9
|
+
* Capitalizes the first letter of the provided text.
|
10
|
+
*
|
11
|
+
* @param text Input text to transform
|
12
|
+
* @returns The text with its first character uppercased
|
13
|
+
*/
|
14
|
+
protected capitalizeFirstLetter(text: string): string;
|
8
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXKBDItemComponent, never>;
|
9
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXKBDItemComponent, "ax-kbd-item", never, { "keys": { "alias": "keys"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
10
17
|
}
|
11
18
|
|
12
|
-
declare class AXKBDComponent {
|
19
|
+
declare class AXKBDComponent extends NXComponent {
|
13
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXKBDComponent, never>;
|
14
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXKBDComponent, "ax-kbd", never, {}, {}, never, ["ax-kbd-item"], true, never>;
|
15
22
|
}
|
package/list/index.d.ts
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { OnInit,
|
3
|
-
import { AXEvent, MXSelectionValueComponent,
|
2
|
+
import { OnInit, WritableSignal, TemplateRef, EventEmitter } from '@angular/core';
|
3
|
+
import { AXEvent, MXSelectionValueComponent, AXDataSource, AXListDataSource } from '@acorex/cdk/common';
|
4
4
|
import * as i1 from '@angular/common';
|
5
5
|
import * as i2 from '@angular/cdk/scrolling';
|
6
6
|
import * as i3 from '@acorex/core/translation';
|
7
|
+
import * as i4 from '@acorex/components/tooltip';
|
7
8
|
|
8
9
|
interface AXListScrollIndexChanged extends AXEvent {
|
9
10
|
index: number;
|
@@ -15,11 +16,17 @@ interface AXListScrollIndexChanged extends AXEvent {
|
|
15
16
|
*/
|
16
17
|
declare class AXListComponent extends MXSelectionValueComponent implements OnInit {
|
17
18
|
/**
|
18
|
-
*
|
19
|
+
* Determines if an item is truncated.
|
19
20
|
*
|
20
|
-
* @
|
21
|
+
* @defaultValue true
|
22
|
+
*/
|
23
|
+
isItemTruncated: i0.InputSignal<boolean>;
|
24
|
+
/**
|
25
|
+
* Determines if a tooltip is shown for an item.
|
26
|
+
*
|
27
|
+
* @defaultValue false
|
21
28
|
*/
|
22
|
-
|
29
|
+
showItemTooltip: i0.InputSignal<boolean>;
|
23
30
|
/**
|
24
31
|
* Defines the data source for the list.
|
25
32
|
*
|
@@ -135,12 +142,12 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
|
|
135
142
|
*/
|
136
143
|
showEmptyTemplate: i0.Signal<boolean>;
|
137
144
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXListComponent, never>;
|
138
|
-
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; }; "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"; "
|
145
|
+
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"; "onItemSelected": "onItemSelected"; "onScrolledIndexChanged": "onScrolledIndexChanged"; }, never, ["ax-header", "ax-footer"], true, never>;
|
139
146
|
}
|
140
147
|
|
141
148
|
declare class AXListModule {
|
142
149
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXListModule, never>;
|
143
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXListModule, never, [typeof i1.CommonModule, typeof i2.ScrollingModule, typeof i3.AXTranslationModule, typeof AXListComponent], [typeof AXListComponent]>;
|
150
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXListModule, never, [typeof i1.CommonModule, typeof i2.ScrollingModule, typeof i3.AXTranslationModule, typeof i4.AXTooltipModule, typeof AXListComponent], [typeof AXListComponent]>;
|
144
151
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXListModule>;
|
145
152
|
}
|
146
153
|
|
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.
|
@@ -167,6 +181,11 @@ declare class AXMapComponent implements OnDestroy {
|
|
167
181
|
* Event triggered when a new marker is added to the map.
|
168
182
|
*/
|
169
183
|
onMarkerAdded: _angular_core.OutputEmitterRef<AXMapMarker>;
|
184
|
+
/**
|
185
|
+
* @description
|
186
|
+
* Event triggered when a marker is clicked on the map.
|
187
|
+
*/
|
188
|
+
onMarkerClick: _angular_core.OutputEmitterRef<AXMapMarker>;
|
170
189
|
/**
|
171
190
|
* @description
|
172
191
|
* Event triggered when marker positions are changed on the map.
|
@@ -177,6 +196,11 @@ declare class AXMapComponent implements OnDestroy {
|
|
177
196
|
* Event triggered when a new polygon is added to the map.
|
178
197
|
*/
|
179
198
|
onPolygonAdded: _angular_core.OutputEmitterRef<AXMapPolygon>;
|
199
|
+
/**
|
200
|
+
* @description
|
201
|
+
* Event triggered when a polygon is clicked on the map.
|
202
|
+
*/
|
203
|
+
onPolygonClick: _angular_core.OutputEmitterRef<AXMapPolygon>;
|
180
204
|
/**
|
181
205
|
* @description
|
182
206
|
* Event triggered when polygon positions are changed on the map.
|
@@ -202,6 +226,11 @@ declare class AXMapComponent implements OnDestroy {
|
|
202
226
|
* Event triggered map is loaded.
|
203
227
|
*/
|
204
228
|
onMapReady: _angular_core.OutputEmitterRef<void>;
|
229
|
+
/**
|
230
|
+
* @description
|
231
|
+
* Event triggered when map loading/initialization fails.
|
232
|
+
*/
|
233
|
+
onLoadError: _angular_core.OutputEmitterRef<Error>;
|
205
234
|
private mapContainer;
|
206
235
|
private leafletService;
|
207
236
|
private rendered;
|
@@ -211,23 +240,36 @@ declare class AXMapComponent implements OnDestroy {
|
|
211
240
|
private onLocationFoundSubscription?;
|
212
241
|
private onMarkerChangedSubscription?;
|
213
242
|
private onMarkerAddedSubscription?;
|
243
|
+
private onMarkerClickSubscription?;
|
214
244
|
private onPolygonChangedSubscription?;
|
215
245
|
private onPolygonAddedSubscription?;
|
246
|
+
private onPolygonClickSubscription?;
|
216
247
|
private onPoiChangedSubscription?;
|
217
248
|
private onPoiAddedSubscription?;
|
218
249
|
/**
|
219
250
|
* @description
|
220
251
|
* Adds a marker to the specified location on the map.
|
221
252
|
* @param location - The location where the marker should be placed.
|
253
|
+
* @param emitEvents - Whether to emit events for the marker.
|
222
254
|
*/
|
223
|
-
addMarker(location: AXMapMarker | AXMapMarker[]): Promise<void>;
|
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;
|
224
261
|
/**
|
225
262
|
* @description
|
226
263
|
* Adds a polygon to the specified location on the map.
|
227
264
|
* @param location - The location where the polygon should be placed.
|
228
|
-
* @param
|
265
|
+
* @param emitEvents - Whether to emit events for the polygon.
|
266
|
+
*/
|
267
|
+
addPolygon(location: AXMapPolygon | AXMapPolygon[], emitEvents?: boolean): void;
|
268
|
+
/**
|
269
|
+
* @description
|
270
|
+
* Removes polygons by id or geometry; if not provided removes all polygons
|
229
271
|
*/
|
230
|
-
|
272
|
+
removePolygon(location?: AXMapPolygon | AXMapPolygon[]): void;
|
231
273
|
/**
|
232
274
|
* @description
|
233
275
|
* Retrieves all markers currently placed on the map.
|
@@ -290,14 +332,42 @@ declare class AXMapComponent implements OnDestroy {
|
|
290
332
|
* Setup map event listeners
|
291
333
|
*/
|
292
334
|
private setupMapEvents;
|
335
|
+
/**
|
336
|
+
* Setup map movement event subscriptions
|
337
|
+
*/
|
338
|
+
private setupMapMovementEvents;
|
293
339
|
/**
|
294
340
|
* Setup draw event subscriptions
|
295
341
|
*/
|
296
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;
|
297
355
|
/**
|
298
356
|
* Unsubscribe from draw events
|
299
357
|
*/
|
300
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;
|
301
371
|
/**
|
302
372
|
* @description
|
303
373
|
* Update popup for a specific marker
|
@@ -329,8 +399,16 @@ declare class AXMapComponent implements OnDestroy {
|
|
329
399
|
* Cleanup function that destroys the map and unsubscribes from all subscriptions.
|
330
400
|
*/
|
331
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;
|
332
410
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMapComponent, never>;
|
333
|
-
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"; "onMarkerChanged": "onMarkerChanged"; "onPolygonAdded": "onPolygonAdded"; "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>;
|
334
412
|
}
|
335
413
|
|
336
414
|
interface AXMapConfig {
|
@@ -374,6 +452,9 @@ declare class AXLeafletService {
|
|
374
452
|
private poiLayer?;
|
375
453
|
private boundary;
|
376
454
|
private boundaryLayer;
|
455
|
+
private _addMarkerOnTapEnabled;
|
456
|
+
private _isCurrentlyDrawing;
|
457
|
+
private _hasDrawControl;
|
377
458
|
/**
|
378
459
|
* Emits when the zoom level of the map changes.
|
379
460
|
*/
|
@@ -402,6 +483,10 @@ declare class AXLeafletService {
|
|
402
483
|
* Emits when a marker is added.
|
403
484
|
*/
|
404
485
|
onMarkerAdded: EventEmitter<AXMapMarker>;
|
486
|
+
/**
|
487
|
+
* Emits when a marker is clicked.
|
488
|
+
*/
|
489
|
+
onMarkerClick: EventEmitter<AXMapMarker>;
|
405
490
|
/**
|
406
491
|
* Emits when the user's location is found.
|
407
492
|
*/
|
@@ -410,10 +495,18 @@ declare class AXLeafletService {
|
|
410
495
|
* Emits when polygon data changes.
|
411
496
|
*/
|
412
497
|
onPolygonChanged: EventEmitter<AXMapPolygon[]>;
|
498
|
+
/**
|
499
|
+
* Emits when an error occurs during map load/initialization
|
500
|
+
*/
|
501
|
+
onLoadError: EventEmitter<Error>;
|
413
502
|
/**
|
414
503
|
* Emits when a polygon is added.
|
415
504
|
*/
|
416
505
|
onPolygonAdded: EventEmitter<AXMapPolygon>;
|
506
|
+
/**
|
507
|
+
* Emits when a polygon is clicked.
|
508
|
+
*/
|
509
|
+
onPolygonClick: EventEmitter<AXMapPolygon>;
|
417
510
|
/**
|
418
511
|
* Loads the Leaflet library and its plugins.
|
419
512
|
*/
|
@@ -569,13 +662,13 @@ declare class AXLeafletService {
|
|
569
662
|
* Adds a marker or markers to the map.
|
570
663
|
* @param locations The marker or markers to add.
|
571
664
|
*/
|
572
|
-
addMarker(locations: AXMapMarker | AXMapMarker[]): Promise<void>;
|
665
|
+
addMarker(locations: AXMapMarker | AXMapMarker[], emitEvents?: boolean): Promise<void>;
|
573
666
|
/**
|
574
667
|
* Adds a polygon or polygons to the map, respecting the boundary if set.
|
575
668
|
* @param polygons The polygon or polygons to add.
|
576
669
|
* @param clickCallback Optional callback function to be executed on polygon click.
|
577
670
|
*/
|
578
|
-
addPolygon(polygons: AXMapPolygon | AXMapPolygon[],
|
671
|
+
addPolygon(polygons: AXMapPolygon | AXMapPolygon[], emitEvents?: boolean): void;
|
579
672
|
/**
|
580
673
|
* Adds a POI marker to the map.
|
581
674
|
* @param locations One or more POI markers to add.
|
@@ -609,6 +702,26 @@ declare class AXLeafletService {
|
|
609
702
|
* @param providerKey The key of the provider to refresh
|
610
703
|
*/
|
611
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;
|
612
725
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXLeafletService, never>;
|
613
726
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXLeafletService>;
|
614
727
|
}
|
package/menu/index.d.ts
CHANGED
@@ -78,6 +78,8 @@ declare class AXContextMenuComponent extends NXComponent {
|
|
78
78
|
showAt(point: AXPoint, targetElement?: HTMLElement, event?: AXContextMenuOpeningEvent): void;
|
79
79
|
close(): void;
|
80
80
|
private backdropElement;
|
81
|
+
private originalNextSibling;
|
82
|
+
private originalParent;
|
81
83
|
protected items: _angular_core.WritableSignal<AXMenuItem[]>;
|
82
84
|
/** @ignore */
|
83
85
|
private getTargetElements;
|
@@ -133,7 +135,19 @@ declare class AXMenuItemComponent extends NXComponent implements OnDestroy {
|
|
133
135
|
* Manually detect all `ax-menu-item` elements and check if this menu item has sub-items.
|
134
136
|
*/
|
135
137
|
private detectSubItems;
|
138
|
+
/**
|
139
|
+
* Opens the submenu of this menu item if it has sub-items and is not disabled.
|
140
|
+
*
|
141
|
+
* Inherited behavior: Uses the injected service to notify other items to close.
|
142
|
+
*
|
143
|
+
* @returns void - No return value. Triggers submenu opening side-effects.
|
144
|
+
*/
|
136
145
|
open(): void;
|
146
|
+
/**
|
147
|
+
* Closes the submenu of this menu item if open.
|
148
|
+
*
|
149
|
+
* @returns void - No return value. Triggers submenu closing side-effects.
|
150
|
+
*/
|
137
151
|
close(): void;
|
138
152
|
/**
|
139
153
|
* Calculate the position of the submenu to avoid it going out of the viewport.
|
@@ -192,6 +206,11 @@ declare class AXMenuComponent extends NXComponent {
|
|
192
206
|
hasArrow: _angular_core.InputSignal<boolean>;
|
193
207
|
/** @ignore */
|
194
208
|
get __hostClass(): string[];
|
209
|
+
/**
|
210
|
+
* Closes all open menus and submenus for this root menu.
|
211
|
+
*
|
212
|
+
* @returns void - No return value. All open menu overlays are closed and hidden.
|
213
|
+
*/
|
195
214
|
close(): void;
|
196
215
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMenuComponent, never>;
|
197
216
|
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>;
|