@acorex/components 21.0.0-next.35 → 21.0.0-next.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/map/index.d.ts CHANGED
@@ -141,6 +141,18 @@ declare class AXMapComponent extends NXComponent implements OnDestroy {
141
141
  * @default false
142
142
  */
143
143
  addMarkerOnTap: _angular_core.InputSignal<boolean>;
144
+ /**
145
+ * @description
146
+ * If true, map is movable and zoomable but all functionality (drawing, adding markers, controls) is disabled.
147
+ * @default false
148
+ */
149
+ readonly: _angular_core.InputSignal<boolean>;
150
+ /**
151
+ * @description
152
+ * If true, disables everything including zoom, moving, drawing, and all interactions. Map becomes completely read-only.
153
+ * @default false
154
+ */
155
+ disabled: _angular_core.InputSignal<boolean>;
144
156
  /**
145
157
  * @description
146
158
  * Position of the marker control on the map.
@@ -409,7 +421,7 @@ declare class AXMapComponent extends NXComponent implements OnDestroy {
409
421
  */
410
422
  private unsubscribeFromMapEvents;
411
423
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXMapComponent, never>;
412
- 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>;
424
+ 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; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "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>;
413
425
  }
414
426
 
415
427
  interface AXMapConfig {
@@ -456,6 +468,9 @@ declare class AXLeafletService {
456
468
  private _addMarkerOnTapEnabled;
457
469
  private _isCurrentlyDrawing;
458
470
  private _hasDrawControl;
471
+ private _isReadonly;
472
+ private _isDisabled;
473
+ private _isUpdatingCenter;
459
474
  /**
460
475
  * Emits when the zoom level of the map changes.
461
476
  */
@@ -723,6 +738,18 @@ declare class AXLeafletService {
723
738
  removePolygon(locations?: AXMapPolygon | AXMapPolygon[]): void;
724
739
  setMaxMarkers(maxMarkers: number): void;
725
740
  setMaxPolygons(maxPolygons: number): void;
741
+ /**
742
+ * Sets the readonly state of the map.
743
+ * When readonly, map is movable and zoomable but all functionality (drawing, adding markers, controls) is disabled.
744
+ * @param readonly Whether to set the map to readonly mode
745
+ */
746
+ setReadonly(readonly: boolean): void;
747
+ /**
748
+ * Sets the disabled state of the map.
749
+ * When disabled, everything is disabled including zoom, moving, drawing, and all interactions.
750
+ * @param disabled Whether to disable the map completely
751
+ */
752
+ setDisabled(disabled: boolean): void;
726
753
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXLeafletService, never>;
727
754
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXLeafletService>;
728
755
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "21.0.0-next.35",
3
+ "version": "21.0.0-next.36",
4
4
  "peerDependencies": {
5
- "@acorex/core": "21.0.0-next.35",
6
- "@acorex/cdk": "21.0.0-next.35",
5
+ "@acorex/core": "21.0.0-next.36",
6
+ "@acorex/cdk": "21.0.0-next.36",
7
7
  "@angular/common": "^20.0.0",
8
8
  "@angular/core": "^20.0.0",
9
9
  "@angular/cdk": "^20.0.0",
@@ -100,14 +100,14 @@
100
100
  "types": "./bottom-navigation/index.d.ts",
101
101
  "default": "./fesm2022/acorex-components-bottom-navigation.mjs"
102
102
  },
103
- "./button": {
104
- "types": "./button/index.d.ts",
105
- "default": "./fesm2022/acorex-components-button.mjs"
106
- },
107
103
  "./breadcrumbs": {
108
104
  "types": "./breadcrumbs/index.d.ts",
109
105
  "default": "./fesm2022/acorex-components-breadcrumbs.mjs"
110
106
  },
107
+ "./button": {
108
+ "types": "./button/index.d.ts",
109
+ "default": "./fesm2022/acorex-components-button.mjs"
110
+ },
111
111
  "./button-group": {
112
112
  "types": "./button-group/index.d.ts",
113
113
  "default": "./fesm2022/acorex-components-button-group.mjs"