@acorex/components 20.2.0-next.10 → 20.2.0-next.12

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.
Files changed (212) hide show
  1. package/autocomplete/index.d.ts +6 -2
  2. package/breadcrumbs/index.d.ts +1 -0
  3. package/button-group/index.d.ts +5 -0
  4. package/calendar/index.d.ts +3 -0
  5. package/comment/index.d.ts +5 -5
  6. package/fesm2022/acorex-components-accordion.mjs +10 -10
  7. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  8. package/fesm2022/acorex-components-action-sheet.mjs +16 -13
  9. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  10. package/fesm2022/acorex-components-alert.mjs +7 -7
  11. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  12. package/fesm2022/acorex-components-audio-wave.mjs +7 -7
  13. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  14. package/fesm2022/acorex-components-autocomplete.mjs +25 -9
  15. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  16. package/fesm2022/acorex-components-avatar.mjs +10 -10
  17. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  18. package/fesm2022/acorex-components-badge.mjs +7 -7
  19. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  20. package/fesm2022/acorex-components-bottom-navigation.mjs +10 -10
  21. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  22. package/fesm2022/acorex-components-breadcrumbs.mjs +20 -17
  23. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  24. package/fesm2022/acorex-components-button-group.mjs +28 -17
  25. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  26. package/fesm2022/acorex-components-button.mjs +13 -13
  27. package/fesm2022/acorex-components-button.mjs.map +1 -1
  28. package/fesm2022/acorex-components-calendar.mjs +18 -15
  29. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  30. package/fesm2022/acorex-components-check-box.mjs +7 -7
  31. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  32. package/fesm2022/acorex-components-chips.mjs +7 -7
  33. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  34. package/fesm2022/acorex-components-circular-progress.mjs +7 -7
  35. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  36. package/fesm2022/acorex-components-collapse.mjs +10 -10
  37. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  38. package/fesm2022/acorex-components-color-box.mjs +7 -7
  39. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  40. package/fesm2022/acorex-components-color-palette.mjs +29 -29
  41. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  42. package/fesm2022/acorex-components-comment.mjs +34 -34
  43. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  44. package/fesm2022/acorex-components-conversation.mjs +49 -49
  45. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  46. package/fesm2022/acorex-components-cron-job.mjs +46 -46
  47. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  48. package/fesm2022/acorex-components-data-pager.mjs +31 -31
  49. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  50. package/fesm2022/acorex-components-data-table.mjs +37 -37
  51. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  52. package/fesm2022/acorex-components-datetime-box.mjs +7 -7
  53. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  54. package/fesm2022/acorex-components-datetime-input.mjs +7 -7
  55. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  56. package/fesm2022/acorex-components-datetime-picker.mjs +9 -9
  57. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  58. package/fesm2022/acorex-components-decorators.mjs +25 -25
  59. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  60. package/fesm2022/acorex-components-dialog.mjs +10 -10
  61. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  62. package/fesm2022/acorex-components-drawer-2.mjs +10 -10
  63. package/fesm2022/acorex-components-drawer-2.mjs.map +1 -1
  64. package/fesm2022/acorex-components-drawer.mjs +13 -13
  65. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  66. package/fesm2022/acorex-components-dropdown-button.mjs +7 -7
  67. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  68. package/fesm2022/acorex-components-dropdown.mjs +13 -13
  69. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  70. package/fesm2022/acorex-components-file-explorer.mjs +25 -25
  71. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  72. package/fesm2022/acorex-components-flow-chart.mjs +16 -16
  73. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  74. package/fesm2022/acorex-components-form.mjs +16 -16
  75. package/fesm2022/acorex-components-form.mjs.map +1 -1
  76. package/fesm2022/acorex-components-grid-layout-builder.mjs +10 -10
  77. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  78. package/fesm2022/acorex-components-image-editor.mjs +34 -34
  79. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  80. package/fesm2022/acorex-components-image.mjs +7 -7
  81. package/fesm2022/acorex-components-image.mjs.map +1 -1
  82. package/fesm2022/acorex-components-json-viewer.mjs +7 -7
  83. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  84. package/fesm2022/acorex-components-kanban.mjs +3 -3
  85. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  86. package/fesm2022/acorex-components-kbd.mjs +10 -10
  87. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  88. package/fesm2022/acorex-components-label.mjs +7 -7
  89. package/fesm2022/acorex-components-label.mjs.map +1 -1
  90. package/fesm2022/acorex-components-list.mjs +10 -18
  91. package/fesm2022/acorex-components-list.mjs.map +1 -1
  92. package/fesm2022/acorex-components-loading-dialog.mjs +10 -10
  93. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  94. package/fesm2022/acorex-components-loading.mjs +16 -16
  95. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  96. package/fesm2022/acorex-components-map.mjs +317 -106
  97. package/fesm2022/acorex-components-map.mjs.map +1 -1
  98. package/fesm2022/acorex-components-media-viewer.mjs +34 -34
  99. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  100. package/fesm2022/acorex-components-menu.mjs +33 -16
  101. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  102. package/fesm2022/{acorex-components-modal-acorex-components-modal-C4zx7OP6.mjs → acorex-components-modal-acorex-components-modal-C_TpX235.mjs} +21 -21
  103. package/fesm2022/{acorex-components-modal-acorex-components-modal-C4zx7OP6.mjs.map → acorex-components-modal-acorex-components-modal-C_TpX235.mjs.map} +1 -1
  104. package/fesm2022/{acorex-components-modal-modal-content.component-DfhgA_WL.mjs → acorex-components-modal-modal-content.component-BRhLxoBk.mjs} +5 -5
  105. package/fesm2022/{acorex-components-modal-modal-content.component-DfhgA_WL.mjs.map → acorex-components-modal-modal-content.component-BRhLxoBk.mjs.map} +1 -1
  106. package/fesm2022/acorex-components-modal.mjs +1 -1
  107. package/fesm2022/acorex-components-navbar.mjs +7 -7
  108. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  109. package/fesm2022/acorex-components-notification.mjs +10 -10
  110. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  111. package/fesm2022/acorex-components-number-box-2.mjs +3 -3
  112. package/fesm2022/acorex-components-number-box-2.mjs.map +1 -1
  113. package/fesm2022/acorex-components-number-box.mjs +7 -7
  114. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  115. package/fesm2022/acorex-components-otp.mjs +7 -7
  116. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  117. package/fesm2022/acorex-components-page.mjs +10 -10
  118. package/fesm2022/acorex-components-page.mjs.map +1 -1
  119. package/fesm2022/acorex-components-paint.mjs +25 -25
  120. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  121. package/fesm2022/acorex-components-password-box.mjs +10 -10
  122. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  123. package/fesm2022/acorex-components-pdf-reader.mjs +7 -7
  124. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  125. package/fesm2022/acorex-components-phone-box.mjs +8 -8
  126. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  127. package/fesm2022/acorex-components-picker.mjs +13 -13
  128. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  129. package/fesm2022/acorex-components-popover.mjs +7 -7
  130. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  131. package/fesm2022/acorex-components-popup.mjs +10 -10
  132. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  133. package/fesm2022/acorex-components-progress-bar.mjs +7 -7
  134. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  135. package/fesm2022/acorex-components-qrcode.mjs +7 -7
  136. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  137. package/fesm2022/acorex-components-query-builder.mjs +7 -7
  138. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  139. package/fesm2022/acorex-components-radio.mjs +7 -7
  140. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  141. package/fesm2022/acorex-components-rail-navigation.mjs +13 -13
  142. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  143. package/fesm2022/acorex-components-range-slider.mjs +7 -7
  144. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  145. package/fesm2022/acorex-components-rate-picker.mjs +7 -7
  146. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  147. package/fesm2022/acorex-components-rest-api-generator.mjs +22 -22
  148. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  149. package/fesm2022/acorex-components-result.mjs +7 -7
  150. package/fesm2022/acorex-components-result.mjs.map +1 -1
  151. package/fesm2022/acorex-components-routing-progress.mjs +7 -7
  152. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  153. package/fesm2022/acorex-components-rrule.mjs +6 -6
  154. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  155. package/fesm2022/acorex-components-scheduler.mjs +31 -31
  156. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  157. package/fesm2022/acorex-components-scss.mjs +4 -4
  158. package/fesm2022/acorex-components-scss.mjs.map +1 -1
  159. package/fesm2022/acorex-components-search-box.mjs +7 -7
  160. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  161. package/fesm2022/acorex-components-select-box.mjs +29 -14
  162. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  163. package/fesm2022/acorex-components-selection-list-2.mjs +7 -7
  164. package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
  165. package/fesm2022/acorex-components-selection-list.mjs +7 -7
  166. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  167. package/fesm2022/acorex-components-side-menu.mjs +13 -13
  168. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  169. package/fesm2022/acorex-components-skeleton.mjs +7 -7
  170. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  171. package/fesm2022/acorex-components-slider.mjs +7 -7
  172. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  173. package/fesm2022/acorex-components-sliding-item.mjs +13 -13
  174. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  175. package/fesm2022/acorex-components-step-wizard.mjs +13 -13
  176. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  177. package/fesm2022/acorex-components-switch.mjs +10 -10
  178. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  179. package/fesm2022/acorex-components-tabs.mjs +13 -13
  180. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  181. package/fesm2022/acorex-components-tag-box.mjs +31 -19
  182. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  183. package/fesm2022/acorex-components-tag.mjs +7 -7
  184. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  185. package/fesm2022/acorex-components-text-area.mjs +7 -7
  186. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  187. package/fesm2022/acorex-components-text-box.mjs +10 -10
  188. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  189. package/fesm2022/acorex-components-time-duration.mjs +7 -7
  190. package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
  191. package/fesm2022/acorex-components-time-line.mjs +10 -10
  192. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  193. package/fesm2022/acorex-components-toast.mjs +10 -10
  194. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  195. package/fesm2022/acorex-components-toolbar.mjs +7 -7
  196. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  197. package/fesm2022/acorex-components-tooltip.mjs +10 -10
  198. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  199. package/fesm2022/acorex-components-tree-view.mjs +10 -10
  200. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  201. package/fesm2022/acorex-components-uploader.mjs +22 -22
  202. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  203. package/fesm2022/acorex-components-video-player.mjs +7 -7
  204. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  205. package/fesm2022/acorex-components-wysiwyg.mjs +31 -31
  206. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  207. package/list/index.d.ts +3 -9
  208. package/map/index.d.ts +68 -1
  209. package/menu/index.d.ts +17 -0
  210. package/package.json +1 -1
  211. package/select-box/index.d.ts +6 -2
  212. package/tag-box/index.d.ts +2 -2
package/list/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, EventEmitter, WritableSignal, TemplateRef } from '@angular/core';
3
- import { AXEvent, MXSelectionValueComponent, AXItemClickEvent, AXDataSource, AXListDataSource } from '@acorex/cdk/common';
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';
@@ -27,12 +27,6 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
27
27
  * @defaultValue false
28
28
  */
29
29
  showItemTooltip: i0.InputSignal<boolean>;
30
- /**
31
- * Emitted when an item in the list is clicked.
32
- *
33
- * @event
34
- */
35
- onItemClick: EventEmitter<AXItemClickEvent<any>>;
36
30
  /**
37
31
  * Defines the data source for the list.
38
32
  *
@@ -148,7 +142,7 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
148
142
  */
149
143
  showEmptyTemplate: i0.Signal<boolean>;
150
144
  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"; "readonlyChange": "readonlyChange"; "onBlur": "onBlur"; "onFocus": "onFocus"; "onItemClick": "onItemClick"; "onScrolledIndexChanged": "onScrolledIndexChanged"; }, never, ["ax-header", "ax-footer"], true, never>;
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>;
152
146
  }
153
147
 
154
148
  declare class AXListModule {
package/map/index.d.ts CHANGED
@@ -31,6 +31,10 @@ 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;
34
38
  }
35
39
  /**
36
40
  * Represents a Point of Interest marker on the map with the same properties as AXMapMarker.
@@ -126,6 +130,12 @@ declare class AXMapComponent implements OnDestroy {
126
130
  * @default false
127
131
  */
128
132
  addPoiToFitDraw: _angular_core.InputSignal<boolean>;
133
+ /**
134
+ * @description
135
+ * If true, user can add a marker by clicking/tapping on the map.
136
+ * @default false
137
+ */
138
+ addMarkerOnTap: _angular_core.InputSignal<boolean>;
129
139
  /**
130
140
  * @description
131
141
  * Position of the marker control on the map.
@@ -212,6 +222,11 @@ declare class AXMapComponent implements OnDestroy {
212
222
  * Event triggered map is loaded.
213
223
  */
214
224
  onMapReady: _angular_core.OutputEmitterRef<void>;
225
+ /**
226
+ * @description
227
+ * Event triggered when map loading/initialization fails.
228
+ */
229
+ onLoadError: _angular_core.OutputEmitterRef<Error>;
215
230
  private mapContainer;
216
231
  private leafletService;
217
232
  private rendered;
@@ -303,14 +318,42 @@ declare class AXMapComponent implements OnDestroy {
303
318
  * Setup map event listeners
304
319
  */
305
320
  private setupMapEvents;
321
+ /**
322
+ * Setup map movement event subscriptions
323
+ */
324
+ private setupMapMovementEvents;
306
325
  /**
307
326
  * Setup draw event subscriptions
308
327
  */
309
328
  private setupDrawEventSubscriptions;
329
+ /**
330
+ * Setup marker event subscriptions
331
+ */
332
+ private setupMarkerEventSubscriptions;
333
+ /**
334
+ * Setup polygon event subscriptions
335
+ */
336
+ private setupPolygonEventSubscriptions;
337
+ /**
338
+ * Setup POI event subscriptions
339
+ */
340
+ private setupPoiEventSubscriptions;
310
341
  /**
311
342
  * Unsubscribe from draw events
312
343
  */
313
344
  private unsubscribeFromDrawEvents;
345
+ /**
346
+ * Unsubscribe from marker events
347
+ */
348
+ private unsubscribeMarkerEvents;
349
+ /**
350
+ * Unsubscribe from polygon events
351
+ */
352
+ private unsubscribePolygonEvents;
353
+ /**
354
+ * Unsubscribe from POI events
355
+ */
356
+ private unsubscribePoiEvents;
314
357
  /**
315
358
  * @description
316
359
  * Update popup for a specific marker
@@ -342,8 +385,16 @@ declare class AXMapComponent implements OnDestroy {
342
385
  * Cleanup function that destroys the map and unsubscribes from all subscriptions.
343
386
  */
344
387
  ngOnDestroy(): void;
388
+ /**
389
+ * Unsubscribe from all event subscriptions
390
+ */
391
+ private unsubscribeFromAllEvents;
392
+ /**
393
+ * Unsubscribe from map-level events
394
+ */
395
+ private unsubscribeFromMapEvents;
345
396
  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>;
397
+ 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
398
  }
348
399
 
349
400
  interface AXMapConfig {
@@ -387,6 +438,8 @@ declare class AXLeafletService {
387
438
  private poiLayer?;
388
439
  private boundary;
389
440
  private boundaryLayer;
441
+ private _addMarkerOnTapEnabled;
442
+ private _isCurrentlyDrawing;
390
443
  /**
391
444
  * Emits when the zoom level of the map changes.
392
445
  */
@@ -427,6 +480,10 @@ declare class AXLeafletService {
427
480
  * Emits when polygon data changes.
428
481
  */
429
482
  onPolygonChanged: EventEmitter<AXMapPolygon[]>;
483
+ /**
484
+ * Emits when an error occurs during map load/initialization
485
+ */
486
+ onLoadError: EventEmitter<Error>;
430
487
  /**
431
488
  * Emits when a polygon is added.
432
489
  */
@@ -630,6 +687,16 @@ declare class AXLeafletService {
630
687
  * @param providerKey The key of the provider to refresh
631
688
  */
632
689
  refreshPoiByProvider(providerKey: string): Promise<void>;
690
+ /**
691
+ * Sets whether markers can be added by clicking/tapping on the map
692
+ * @param enabled Whether to enable marker-on-tap functionality
693
+ */
694
+ setAddMarkerOnTap(enabled: boolean): void;
695
+ /**
696
+ * Checks if the map is currently in drawing mode
697
+ * @returns True if currently drawing
698
+ */
699
+ private _isDrawingMode;
633
700
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXLeafletService, never>;
634
701
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXLeafletService>;
635
702
  }
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.2.0-next.10",
3
+ "version": "20.2.0-next.12",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
2
2
  import { OnDestroy, WritableSignal, TemplateRef, ElementRef } from '@angular/core';
3
3
  import * as polytype from 'polytype';
4
4
  import * as i2 from '@acorex/cdk/common';
5
- import { MXSelectionValueComponent, MXLookComponent, AXDataSource, MXSelectionBridgeService, AXEvent, AXValueChangedEvent } from '@acorex/cdk/common';
5
+ import { MXSelectionValueComponent, MXLookComponent, AXDataSource, MXSelectionBridgeService, AXEvent, AXValueChangedEvent, AXItemClickEvent, AXItemSelectedEvent } from '@acorex/cdk/common';
6
6
  import * as i12 from '@acorex/components/dropdown';
7
7
  import { MXDropdownBoxBaseComponent, AXDropdownBoxComponent } from '@acorex/components/dropdown';
8
8
  import * as i13 from '@acorex/components/list';
@@ -144,6 +144,10 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
144
144
  /** @ignore */
145
145
  protected _handleValueChanged(e: AXValueChangedEvent): void;
146
146
  /** @ignore */
147
+ protected _handleItemClick(e: AXItemClickEvent): void;
148
+ /** @ignore */
149
+ protected _handleItemSelected(e: AXItemSelectedEvent): void;
150
+ /** @ignore */
147
151
  private setDropdownSize;
148
152
  private updateDropdownPosition;
149
153
  private updateDropdownSize;
@@ -163,7 +167,7 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
163
167
  refresh(): void;
164
168
  private hostClickListener;
165
169
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectBoxComponent, never>;
166
- static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "textTemplate": { "alias": "textTemplate"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "isItemTruncated": { "alias": "isItemTruncated"; "required": false; "isSignal": true; }; "showItemTooltip": { "alias": "showItemTooltip"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; }; "minRecordsForSearch": { "alias": "minRecordsForSearch"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "selectedTemplate": { "alias": "selectedTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; "isSignal": true; }; "searchBoxAutoFocus": { "alias": "searchBoxAutoFocus"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onOpened": "onOpened"; "onClosed": "onClosed"; }, ["searchBox"], ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-search-box", "ax-footer", "ax-validation-rule"], true, never>;
170
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "textTemplate": { "alias": "textTemplate"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "isItemTruncated": { "alias": "isItemTruncated"; "required": false; "isSignal": true; }; "showItemTooltip": { "alias": "showItemTooltip"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; }; "minRecordsForSearch": { "alias": "minRecordsForSearch"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "selectedTemplate": { "alias": "selectedTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; "isSignal": true; }; "searchBoxAutoFocus": { "alias": "searchBoxAutoFocus"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onOpened": "onOpened"; "onClosed": "onClosed"; "onItemSelected": "onItemSelected"; "onItemClick": "onItemClick"; }, ["searchBox"], ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-search-box", "ax-footer", "ax-validation-rule"], true, never>;
167
171
  }
168
172
 
169
173
  declare class AXSelectBoxModule {
@@ -26,8 +26,8 @@ declare class AXTagBoxComponent extends AXTagBoxComponent_base implements OnInit
26
26
  addItems(items: object[]): void;
27
27
  removeItem(index: number): void;
28
28
  convertString(v: unknown): object[];
29
- protected internalSetValue(value: any): unknown[];
30
- protected internalSetValue(value: any): any;
29
+ getFieldValue(item: unknown, path: string): unknown;
30
+ protected internalSetValue(value: unknown): unknown[];
31
31
  private get __hostName();
32
32
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXTagBoxComponent, never>;
33
33
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXTagBoxComponent, "ax-tag-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "addOnComma": { "alias": "addOnComma"; "required": false; "isSignal": true; }; "addOnEnter": { "alias": "addOnEnter"; "required": false; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "readonlyField": { "alias": "readonlyField"; "required": false; "isSignal": true; }; "allowDuplicateValues": { "alias": "allowDuplicateValues"; "required": false; "isSignal": true; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-autocomplete", "ax-validation-rule"], true, never>;