@amnex/ui-atoms 1.0.7 → 1.1.1

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.
@@ -11,7 +11,7 @@ import Map from 'ol/Map';
11
11
  import { fromLonLat } from 'ol/proj';
12
12
  import { XYZ } from 'ol/source';
13
13
  import VectorSource from 'ol/source/Vector';
14
- import { Style, Icon } from 'ol/style';
14
+ import { Style, Text, Stroke, Fill, Icon } from 'ol/style';
15
15
 
16
16
  class AmnexButton {
17
17
  type = 'button';
@@ -238,34 +238,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
238
238
 
239
239
  class AmnexMap {
240
240
  mapElement;
241
- lat = 23.0225;
242
- lng = 72.5714;
241
+ locations = [];
243
242
  zoom = 10;
244
243
  height = '500px';
244
+ tittle = '';
245
245
  map;
246
246
  ngAfterViewInit() {
247
- this.initMap();
247
+ if (this.locations.length > 0) {
248
+ this.initMap();
249
+ }
248
250
  }
249
251
  initMap() {
250
252
  const container = this.mapElement.nativeElement;
251
- const marker = new Feature({
252
- geometry: new Point(fromLonLat([this.lat, this.lng])),
253
- });
254
- marker.setStyle(new Style({
255
- image: new Icon({
256
- anchor: [0.8, 1],
257
- // src: 'https://openlayers.org/en/latest/examples/data/icon.png',
258
- src: 'https://cdn-icons-png.flaticon.com/512/684/684908.png',
259
- scale: 1,
260
- crossOrigin: 'anonymous'
261
- })
262
- }));
263
- const vectorSource = new VectorSource({
264
- features: [marker]
265
- });
266
- const vectorLayer = new VectorLayer({
267
- source: vectorSource
253
+ const features = this.locations.map(loc => {
254
+ const feature = new Feature({
255
+ geometry: new Point(fromLonLat([loc.lng, loc.lat])),
256
+ name: loc.title
257
+ });
258
+ feature.setStyle(new Style({
259
+ image: new Icon({
260
+ anchor: [0.5, 1],
261
+ src: 'https://openlayers.org/en/latest/examples/data/icon.png',
262
+ scale: 0.8
263
+ }),
264
+ text: new Text({
265
+ text: loc.title,
266
+ font: 'bold 14px Arial, sans-serif',
267
+ fill: new Fill({ color: '#ffffff' }),
268
+ stroke: new Stroke({ color: '#000000', width: 3 }),
269
+ offsetY: -45,
270
+ textAlign: 'center'
271
+ })
272
+ }));
273
+ return feature;
268
274
  });
275
+ const vectorSource = new VectorSource({ features });
276
+ const vectorLayer = new VectorLayer({ source: vectorSource });
269
277
  this.map = new Map({
270
278
  target: container,
271
279
  layers: [
@@ -278,13 +286,13 @@ class AmnexMap {
278
286
  vectorLayer
279
287
  ],
280
288
  view: new View({
281
- center: fromLonLat([this.lng, this.lat]),
289
+ center: fromLonLat([this.locations[0].lng, this.locations[0].lat]),
282
290
  zoom: this.zoom,
283
291
  }),
284
292
  });
285
293
  }
286
294
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexMap, deps: [], target: i0.ɵɵFactoryTarget.Component });
287
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexMap, isStandalone: true, selector: "amnex-map", inputs: { lat: "lat", lng: "lng", zoom: "zoom", height: "height" }, viewQueries: [{ propertyName: "mapElement", first: true, predicate: ["mapElement"], descendants: true }], ngImport: i0, template: "\r\n\r\n<div #mapElement class=\"map-container\" [style.height]=\"height\"></div>\r\n \r\n", styles: [".map-container{width:100%;border-radius:12px;border:2px solid #ddd}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] });
295
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexMap, isStandalone: true, selector: "amnex-map", inputs: { locations: "locations", zoom: "zoom", height: "height", tittle: "tittle" }, viewQueries: [{ propertyName: "mapElement", first: true, predicate: ["mapElement"], descendants: true }], ngImport: i0, template: "\r\n\r\n<div #mapElement class=\"map-container\" [style.height]=\"height\"></div>\r\n \r\n", styles: [".map-container{width:100%;border-radius:12px;border:2px solid #ddd}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] });
288
296
  }
289
297
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexMap, decorators: [{
290
298
  type: Component,
@@ -292,14 +300,106 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
292
300
  }], propDecorators: { mapElement: [{
293
301
  type: ViewChild,
294
302
  args: ['mapElement']
295
- }], lat: [{
303
+ }], locations: [{
304
+ type: Input,
305
+ args: [{ required: true }]
306
+ }], zoom: [{
296
307
  type: Input
297
- }], lng: [{
308
+ }], height: [{
309
+ type: Input
310
+ }], tittle: [{
298
311
  type: Input
312
+ }] } });
313
+
314
+ class AmnexMaps {
315
+ mapElement;
316
+ locations = [];
317
+ zoom = 10;
318
+ height = '500px';
319
+ showMarkers = true;
320
+ showLabels = true;
321
+ map;
322
+ vectorSource = new VectorSource();
323
+ ngAfterViewInit() {
324
+ this.initMap();
325
+ }
326
+ ngOnChanges(changes) {
327
+ if (changes['locations'] && !changes['locations'].firstChange) {
328
+ this.updateMarkers();
329
+ }
330
+ }
331
+ initMap() {
332
+ const container = this.mapElement.nativeElement;
333
+ const vectorLayer = new VectorLayer({
334
+ source: this.vectorSource
335
+ });
336
+ this.map = new Map({
337
+ target: container,
338
+ layers: [
339
+ new TileLayer({
340
+ source: new XYZ({
341
+ url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',
342
+ maxZoom: 19
343
+ }),
344
+ }),
345
+ vectorLayer
346
+ ],
347
+ view: new View({
348
+ center: fromLonLat([this.locations[0]?.lng || 72.5714, this.locations[0]?.lat || 23.0225]),
349
+ zoom: this.zoom,
350
+ }),
351
+ });
352
+ this.updateMarkers();
353
+ }
354
+ updateMarkers() {
355
+ if (!this.map)
356
+ return;
357
+ this.vectorSource.clear();
358
+ const features = this.locations.map(loc => {
359
+ const feature = new Feature({
360
+ geometry: new Point(fromLonLat([loc.lng, loc.lat]))
361
+ });
362
+ feature.setStyle(new Style({
363
+ image: this.showMarkers ? new Icon({
364
+ anchor: [0.5, 1],
365
+ src: 'https://openlayers.org/en/latest/examples/data/icon.png',
366
+ scale: 0.8
367
+ }) : undefined,
368
+ text: this.showLabels ? new Text({
369
+ text: loc.title,
370
+ font: 'bold 13px Calibri,sans-serif',
371
+ fill: new Fill({ color: '#fff' }),
372
+ stroke: new Stroke({ color: '#000', width: 3 }),
373
+ offsetY: this.showMarkers ? -45 : 0
374
+ }) : undefined
375
+ }));
376
+ return feature;
377
+ });
378
+ this.vectorSource.addFeatures(features);
379
+ if (this.locations.length > 0) {
380
+ this.map.getView().setCenter(fromLonLat([this.locations[0].lng, this.locations[0].lat]));
381
+ }
382
+ }
383
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexMaps, deps: [], target: i0.ɵɵFactoryTarget.Component });
384
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexMaps, isStandalone: true, selector: "amnex-maps", inputs: { locations: "locations", zoom: "zoom", height: "height", showMarkers: "showMarkers", showLabels: "showLabels" }, viewQueries: [{ propertyName: "mapElement", first: true, predicate: ["mapElement"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div #mapElement class=\"map-container\" [style.height]=\"height\"></div>", styles: [".map-container{width:100%;border-radius:12px;border:2px solid #ddd;overflow:hidden;box-shadow:0 4px 6px #0000001a}\n"] });
385
+ }
386
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexMaps, decorators: [{
387
+ type: Component,
388
+ args: [{ selector: 'amnex-maps', standalone: true, imports: [], template: "<div #mapElement class=\"map-container\" [style.height]=\"height\"></div>", styles: [".map-container{width:100%;border-radius:12px;border:2px solid #ddd;overflow:hidden;box-shadow:0 4px 6px #0000001a}\n"] }]
389
+ }], propDecorators: { mapElement: [{
390
+ type: ViewChild,
391
+ args: ['mapElement']
392
+ }], locations: [{
393
+ type: Input,
394
+ args: [{ required: true }]
299
395
  }], zoom: [{
300
396
  type: Input
301
397
  }], height: [{
302
398
  type: Input
399
+ }], showMarkers: [{
400
+ type: Input
401
+ }], showLabels: [{
402
+ type: Input
303
403
  }] } });
304
404
 
305
405
  class AMNEX_COMPONENTS {
@@ -316,7 +416,8 @@ class AMNEX_COMPONENTS {
316
416
  AmnexH6,
317
417
  AmnexP,
318
418
  AmnexLabel,
319
- AmnexMap], exports: [AmnexInput,
419
+ AmnexMap,
420
+ AmnexMaps], exports: [AmnexInput,
320
421
  AmnexButton,
321
422
  AmnexRadio,
322
423
  AmnexSelect,
@@ -327,7 +428,8 @@ class AMNEX_COMPONENTS {
327
428
  AmnexH6,
328
429
  AmnexP,
329
430
  AmnexLabel,
330
- AmnexMap] });
431
+ AmnexMap,
432
+ AmnexMaps] });
331
433
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AMNEX_COMPONENTS, imports: [CommonModule,
332
434
  AmnexRadio,
333
435
  AmnexSelect,
@@ -349,7 +451,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
349
451
  AmnexH6,
350
452
  AmnexP,
351
453
  AmnexLabel,
352
- AmnexMap
454
+ AmnexMap,
455
+ AmnexMaps
353
456
  ],
354
457
  exports: [
355
458
  AmnexInput,
@@ -363,7 +466,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
363
466
  AmnexH6,
364
467
  AmnexP,
365
468
  AmnexLabel,
366
- AmnexMap
469
+ AmnexMap,
470
+ AmnexMaps
367
471
  ]
368
472
  }]
369
473
  }] });
@@ -376,5 +480,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
376
480
  * Generated bundle index. Do not edit.
377
481
  */
378
482
 
379
- export { AMNEX_COMPONENTS, AmnexButton, AmnexFile, AmnexForm, AmnexH1, AmnexH2, AmnexH3, AmnexH4, AmnexH5, AmnexH6, AmnexInput, AmnexLabel, AmnexMap, AmnexP, AmnexRadio, AmnexSelect, AmnexTextarea };
483
+ export { AMNEX_COMPONENTS, AmnexButton, AmnexFile, AmnexForm, AmnexH1, AmnexH2, AmnexH3, AmnexH4, AmnexH5, AmnexH6, AmnexInput, AmnexLabel, AmnexMap, AmnexMaps, AmnexP, AmnexRadio, AmnexSelect, AmnexTextarea };
380
484
  //# sourceMappingURL=amnex-ui-atoms.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"amnex-ui-atoms.mjs","sources":["../../../../projects/amnex/ui-atoms/src/lib/amnex-button/amnex-button.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-button/amnex-button.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-file/amnex-file.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-file/amnex-file.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-form/amnex-form.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-form/amnex-form.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-input/amnex-input.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-input/amnex-input.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-label/amnex-label.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-label/amnex-label.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h1/amnex-h1.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h1/amnex-h1.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h2/amnex-h2.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h2/amnex-h2.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h3/amnex-h3.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h3/amnex-h3.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h4/amnex-h4.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h4/amnex-h4.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h5/amnex-h5.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h5/amnex-h5.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h6/amnex-h6.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h6/amnex-h6.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-p/amnex-p.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-p/amnex-p.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-radio/amnex-radio.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-radio/amnex-radio.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-select/amnex-select.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-select/amnex-select.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-textarea/amnex-textarea.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-textarea/amnex-textarea.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-map/amnex-map.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-map/amnex-map.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-components.ts","../../../../projects/amnex/ui-atoms/src/public-api.ts","../../../../projects/amnex/ui-atoms/src/amnex-ui-atoms.ts"],"sourcesContent":["import { Component ,Input,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-button',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-button.html',\r\n styleUrl: './amnex-button.css',\r\n encapsulation: ViewEncapsulation.None,\r\n \r\n})\r\nexport class AmnexButton {\r\n\r\n\r\n @Input() type: 'button' | 'submit' | 'reset' = 'button';\r\n\r\n @Input() disabled: boolean = false;\r\n}\r\n","<button [disabled]=\"disabled\" [type]=\"type\"><ng-content></ng-content></button>","import { Component,forwardRef,Input, ViewEncapsulation ,Output,EventEmitter} from '@angular/core';\r\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'amnex-file',\r\n standalone:true,\r\n encapsulation: ViewEncapsulation.None,\r\n imports: [],\r\n templateUrl: './amnex-file.html',\r\n styleUrl: './amnex-file.css',\r\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexFile ), multi: true }],\r\n\r\n})\r\nexport class AmnexFile {\r\n\r\n\r\n @Input() accept = '*'; // Kaunsi files allow karni hain (e.g. '.pdf,.png')\r\n @Output() fileSelected = new EventEmitter<File | FileList>();\r\n\r\n onFileChange(event: any) {\r\n const files = event.target.files;\r\n if (files.length > 0) {\r\n this.fileSelected.emit(files);\r\n }\r\n }\r\n}\r\n","<input \r\n type=\"file\" \r\n [accept]=\"accept\" \r\n (change)=\"onFileChange($event)\">","import { Component ,EventEmitter,Output,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-form',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-form.html',\r\n styleUrl: './amnex-form.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexForm {\r\n\r\n @Output() ngSubmit = new EventEmitter<Event>();\r\n\r\n onSubmit(event: Event) {\r\n this.ngSubmit.emit(event);\r\n }\r\n}\r\n","<form (ngSubmit)=\"onSubmit($event)\" ngNativeValidate><ng-content></ng-content></form>","import { Component, forwardRef ,Input ,ViewEncapsulation } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'amnex-input',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-input.html',\r\n styleUrl: './amnex-input.css',\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexInput), multi: true }],\r\n})\r\nexport class AmnexInput implements ControlValueAccessor{\r\n @Input() type ='text';\r\n @Input() placeholder ='';\r\n\r\n value : any ='';\r\n onChange=(v:any)=>{};\r\n onTouched =()=>{};\r\n\r\n writeValue(val: any): void {\r\n this.value = val || '';\r\n }\r\n registerOnChange(fn: any): void {\r\n this.onChange = fn;\r\n }\r\n registerOnTouched(fn: any): void {\r\n this.onTouched = fn;\r\n }\r\n\r\n onInput(e:any){\r\n this.value= e.target.value;\r\n\r\n this.onChange(this.value);\r\n }\r\n\r\n\r\n}\r\n","<input [type]=\"type\" \r\n[placeholder]=\"placeholder\" \r\n[value]=\"value\" \r\n(input)=\"onInput($event)\" \r\n(blur)=\"onTouched()\">\r\n","import { Component , ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-label',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-label.html',\r\n styleUrl: './amnex-label.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexLabel {\r\n\r\n}\r\n","<label><ng-content></ng-content></label>","import { Component ,ViewEncapsulation} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h1',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h1.html',\r\n styleUrl: './amnex-h1.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH1 {\r\n\r\n}\r\n","<h1><ng-content></ng-content></h1>","import { Component ,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h2',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h2.html',\r\n styleUrl: './amnex-h2.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH2 {\r\n\r\n}\r\n","<h2> <ng-content></ng-content></h2>\r\n","import { Component , ViewEncapsulation} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h3',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h3.html',\r\n styleUrl: './amnex-h3.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH3 {\r\n\r\n}\r\n","<h3><ng-content></ng-content></h3>\r\n","import { Component ,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h4',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h4.html',\r\n styleUrl: './amnex-h4.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH4 {\r\n\r\n}\r\n","<h4><ng-content></ng-content></h4>","import { Component ,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h5',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h5.html',\r\n styleUrl: './amnex-h5.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH5 {\r\n\r\n}\r\n","<h5><ng-content></ng-content></h5>\r\n","import { Component ,ViewEncapsulation} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h6',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h6.html',\r\n styleUrl: './amnex-h6.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH6 {\r\n\r\n}\r\n","<h6><ng-content></ng-content></h6>","import { Component ,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-p',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-p.html',\r\n styleUrl: './amnex-p.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexP {\r\n\r\n}\r\n","<p><ng-content></ng-content></p>","import { CommonModule } from '@angular/common';\r\nimport { Component ,forwardRef,Input ,ViewEncapsulation } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'amnex-radio',\r\n standalone:true,\r\n imports: [CommonModule],\r\n encapsulation: ViewEncapsulation.None,\r\n templateUrl: './amnex-radio.html',\r\n styleUrl: './amnex-radio.css',\r\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexRadio), multi: true }],\r\n\r\n})\r\nexport class AmnexRadio implements ControlValueAccessor{\r\n @Input() options: {label: string, value: any}[] = [];\r\n @Input() name = 'radio-group';\r\n value: any;\r\n onChange = (v: any) => {};\r\n onTouched = () => {};\r\n writeValue(v: any) { this.value = v; }\r\n registerOnChange(fn: any) { this.onChange = fn; }\r\n registerOnTouched(fn: any) { this.onTouched = fn; }\r\n onInput(val: any) { this.value = val; this.onChange(val); }\r\n}\r\n","<div *ngFor=\"let opt of options\">\r\n <input type=\"radio\" [name]=\"name\" [value]=\"opt.value\" [checked]=\"value === opt.value\" (change)=\"onInput(opt.value)\">\r\n <span>{{opt.label}}</span>\r\n </div>","import { CommonModule } from '@angular/common';\r\nimport { Component ,forwardRef,Input ,ViewEncapsulation } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'amnex-select',\r\n standalone:true,\r\n imports: [CommonModule],\r\n templateUrl: './amnex-select.html',\r\n styleUrl: './amnex-select.css',\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexSelect), multi: true }],\r\n})\r\nexport class AmnexSelect implements ControlValueAccessor\r\n{\r\n @Input() options: {label: string, value: any}[] = [];\r\n @Input() placeholder = 'Select';\r\n value: any = '';\r\n onChange = (v: any) => {};\r\n onTouched = () => {};\r\n writeValue(v: any) { this.value = v; }\r\n registerOnChange(fn: any) { this.onChange = fn; }\r\n registerOnTouched(fn: any) { this.onTouched = fn; }\r\n onInput(e: any) { this.value = e.target.value; this.onChange(this.value);\r\n }\r\n\r\n}\r\n","<select\r\n [value]=\"value\"\r\n (change)=\"onInput($event)\" \r\n (blur)=\"onTouched()\">\r\n<option value=\"\" disabled>{{placeholder}}</option>\r\n<option *ngFor=\"let opt of options\" [value]=\"opt.value\">{{opt.label}}</select>\r\n","import { Component ,forwardRef,Input ,ViewEncapsulation} from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'amnex-textarea',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-textarea.html',\r\n styleUrl: './amnex-textarea.css',\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexTextarea), multi: true }],\r\n})\r\nexport class AmnexTextarea implements ControlValueAccessor {\r\n @Input() placeholder = '';\r\n value: any = '';\r\n\r\n onChange = (v: any) => {};\r\n onTouched = () => {};\r\n\r\n writeValue(val: any): void { this.value = val || ''; }\r\n registerOnChange(fn: any): void { this.onChange = fn; }\r\n registerOnTouched(fn: any): void { this.onTouched = fn; }\r\n\r\n onInput(e: any) {\r\n this.value = e.target.value;\r\n this.onChange(this.value);\r\n }\r\n \r\n\r\n}\r\n","<textarea \r\n [placeholder]=\"placeholder\" \r\n [value]=\"value\" \r\n (input)=\"onInput($event)\" \r\n (blur)=\"onTouched()\">\r\n </textarea>","import { CommonModule } from '@angular/common';\r\nimport { AfterViewInit, Component, ElementRef, Input, ViewChild } from '@angular/core';\r\nimport { Feature, View } from 'ol';\r\nimport { Point } from 'ol/geom';\r\nimport TileLayer from 'ol/layer/Tile';\r\nimport VectorLayer from 'ol/layer/Vector';\r\nimport Map from 'ol/Map';\r\nimport { fromLonLat } from 'ol/proj';\r\nimport { XYZ } from 'ol/source';\r\nimport VectorSource from 'ol/source/Vector';\r\nimport { Icon, Style } from 'ol/style';\r\n\r\n@Component({\r\n selector: 'amnex-map',\r\n standalone:true,\r\n imports: [CommonModule],\r\n templateUrl: './amnex-map.html',\r\n styleUrl: './amnex-map.css',\r\n})\r\nexport class AmnexMap implements AfterViewInit{\r\n\r\n @ViewChild('mapElement') mapElement!: ElementRef;\r\n\r\n @Input() lat: number = 23.0225; \r\n @Input() lng: number = 72.5714;\r\n @Input() zoom: number = 10;\r\n @Input() height: string = '500px';\r\n\r\n\r\n public map!: Map;\r\n\r\n \r\n ngAfterViewInit(): void {\r\n this.initMap();\r\n }\r\n\r\n\r\n private initMap(): void{\r\n const container = this.mapElement.nativeElement;\r\n\r\n const marker = new Feature({\r\n geometry : new Point(fromLonLat([this.lat,this.lng])),\r\n });\r\n\r\n marker.setStyle (new Style({\r\n image : new Icon({\r\n anchor: [0.8, 1], \r\n // src: 'https://openlayers.org/en/latest/examples/data/icon.png', \r\n src:'https://cdn-icons-png.flaticon.com/512/684/684908.png',\r\n scale: 1,\r\n crossOrigin: 'anonymous'\r\n })\r\n }));\r\n\r\n const vectorSource = new VectorSource({\r\n features: [marker]\r\n });\r\n\r\n const vectorLayer = new VectorLayer({\r\n source : vectorSource\r\n });\r\n\r\n this.map = new Map({\r\n target: container,\r\n layers: [\r\n \r\n new TileLayer({\r\n source: new XYZ({\r\n url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',\r\n maxZoom: 19\r\n }),\r\n }),\r\n \r\n vectorLayer\r\n ],\r\n view: new View({\r\n center: fromLonLat([this.lng, this.lat]),\r\n zoom: this.zoom,\r\n }),\r\n });\r\n\r\n }\r\n}\r\n","\r\n\r\n<div #mapElement class=\"map-container\" [style.height]=\"height\"></div>\r\n \r\n","import { AmnexH1 } from \"./amnex-h1/amnex-h1\";\r\nimport { AmnexH2 } from \"./amnex-h2/amnex-h2\";\r\nimport { AmnexH3 } from \"./amnex-h3/amnex-h3\";\r\nimport { AmnexH4 } from \"./amnex-h4/amnex-h4\";\r\nimport {AmnexH5} from \"./amnex-h5/amnex-h5\";\r\nimport { AmnexH6 } from \"./amnex-h6/amnex-h6\";\r\nimport { AmnexInput } from \"./amnex-input/amnex-input\";\r\nimport { AmnexLabel } from \"./amnex-label/amnex-label\";\r\nimport { AmnexP } from \"./amnex-p/amnex-p\";\r\nimport { AmnexButton } from \"./amnex-button/amnex-button\";\r\nimport { AmnexRadio } from \"./amnex-radio/amnex-radio\";\r\nimport { AmnexSelect } from \"./amnex-select/amnex-select\";\r\nimport { AmnexTextarea } from \"./amnex-textarea/amnex-textarea\";\r\nimport { AmnexFile } from \"./amnex-file/amnex-file\";\r\nimport { AmnexForm } from \"./amnex-form/amnex-form\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { CommonModule } from \"@angular/common\";\r\nimport { AmnexMap } from \"./amnex-map/amnex-map\";\r\n\r\n\r\n\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n AmnexInput,\r\n AmnexButton,\r\n AmnexRadio,\r\n AmnexSelect,\r\n AmnexTextarea,\r\n AmnexFile,\r\n AmnexForm,\r\n AmnexH1,\r\n AmnexH6,\r\n AmnexP,\r\n AmnexLabel,\r\n AmnexMap\r\n ],\r\n exports: [\r\n AmnexInput,\r\n AmnexButton,\r\n AmnexRadio,\r\n AmnexSelect,\r\n AmnexTextarea,\r\n AmnexFile,\r\n AmnexForm,\r\n AmnexH1,\r\n AmnexH6,\r\n AmnexP,\r\n AmnexLabel,\r\n AmnexMap\r\n ]\r\n})\r\n\r\nexport class AMNEX_COMPONENTS {}\r\n","/*\r\n * Public API Surface of ui-atoms\r\n */\r\nexport * from './lib/amnex-button/amnex-button';\r\nexport * from './lib/amnex-file/amnex-file';\r\nexport * from './lib/amnex-form/amnex-form';\r\nexport * from './lib/amnex-input/amnex-input';\r\nexport * from './lib/amnex-label/amnex-label';\r\nexport * from './lib/amnex-h1/amnex-h1';\r\nexport * from './lib/amnex-h2/amnex-h2';\r\nexport * from './lib/amnex-h3/amnex-h3';\r\nexport * from './lib/amnex-h4/amnex-h4';\r\nexport * from './lib/amnex-h5/amnex-h5';\r\nexport * from './lib/amnex-h6/amnex-h6';\r\nexport * from './lib/amnex-p/amnex-p';\r\nexport * from './lib/amnex-radio/amnex-radio';\r\nexport * from './lib/amnex-select/amnex-select';\r\nexport * from './lib/amnex-textarea/amnex-textarea';\r\nexport * from './lib/amnex-map/amnex-map';\r\nexport * from './lib/amnex-components';\r\n\r\n\r\n\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;MAWa,WAAW,CAAA;IAGb,IAAI,GAAkC,QAA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-button.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-button/amnex-button.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-file/amnex-file.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-file/amnex-file.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-form/amnex-form.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-form/amnex-form.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-input/amnex-input.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-input/amnex-input.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-label/amnex-label.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-label/amnex-label.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h1/amnex-h1.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h1/amnex-h1.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h2/amnex-h2.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h2/amnex-h2.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h3/amnex-h3.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h3/amnex-h3.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h4/amnex-h4.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h4/amnex-h4.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h5/amnex-h5.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h5/amnex-h5.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h6/amnex-h6.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h6/amnex-h6.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-p/amnex-p.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-p/amnex-p.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-radio/amnex-radio.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-radio/amnex-radio.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-select/amnex-select.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-select/amnex-select.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-textarea/amnex-textarea.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-textarea/amnex-textarea.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-map/amnex-map.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-map/amnex-map.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-maps/amnex-maps.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-maps/amnex-maps.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-components.ts","../../../../projects/amnex/ui-atoms/src/public-api.ts","../../../../projects/amnex/ui-atoms/src/amnex-ui-atoms.ts"],"sourcesContent":["import { Component ,Input,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-button',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-button.html',\r\n styleUrl: './amnex-button.css',\r\n encapsulation: ViewEncapsulation.None,\r\n \r\n})\r\nexport class AmnexButton {\r\n\r\n\r\n @Input() type: 'button' | 'submit' | 'reset' = 'button';\r\n\r\n @Input() disabled: boolean = false;\r\n}\r\n","<button [disabled]=\"disabled\" [type]=\"type\"><ng-content></ng-content></button>","import { Component,forwardRef,Input, ViewEncapsulation ,Output,EventEmitter} from '@angular/core';\r\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'amnex-file',\r\n standalone:true,\r\n encapsulation: ViewEncapsulation.None,\r\n imports: [],\r\n templateUrl: './amnex-file.html',\r\n styleUrl: './amnex-file.css',\r\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexFile ), multi: true }],\r\n\r\n})\r\nexport class AmnexFile {\r\n\r\n\r\n @Input() accept = '*'; // Kaunsi files allow karni hain (e.g. '.pdf,.png')\r\n @Output() fileSelected = new EventEmitter<File | FileList>();\r\n\r\n onFileChange(event: any) {\r\n const files = event.target.files;\r\n if (files.length > 0) {\r\n this.fileSelected.emit(files);\r\n }\r\n }\r\n}\r\n","<input \r\n type=\"file\" \r\n [accept]=\"accept\" \r\n (change)=\"onFileChange($event)\">","import { Component ,EventEmitter,Output,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-form',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-form.html',\r\n styleUrl: './amnex-form.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexForm {\r\n\r\n @Output() ngSubmit = new EventEmitter<Event>();\r\n\r\n onSubmit(event: Event) {\r\n this.ngSubmit.emit(event);\r\n }\r\n}\r\n","<form (ngSubmit)=\"onSubmit($event)\" ngNativeValidate><ng-content></ng-content></form>","import { Component, forwardRef ,Input ,ViewEncapsulation } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'amnex-input',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-input.html',\r\n styleUrl: './amnex-input.css',\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexInput), multi: true }],\r\n})\r\nexport class AmnexInput implements ControlValueAccessor{\r\n @Input() type ='text';\r\n @Input() placeholder ='';\r\n\r\n value : any ='';\r\n onChange=(v:any)=>{};\r\n onTouched =()=>{};\r\n\r\n writeValue(val: any): void {\r\n this.value = val || '';\r\n }\r\n registerOnChange(fn: any): void {\r\n this.onChange = fn;\r\n }\r\n registerOnTouched(fn: any): void {\r\n this.onTouched = fn;\r\n }\r\n\r\n onInput(e:any){\r\n this.value= e.target.value;\r\n\r\n this.onChange(this.value);\r\n }\r\n\r\n\r\n}\r\n","<input [type]=\"type\" \r\n[placeholder]=\"placeholder\" \r\n[value]=\"value\" \r\n(input)=\"onInput($event)\" \r\n(blur)=\"onTouched()\">\r\n","import { Component , ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-label',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-label.html',\r\n styleUrl: './amnex-label.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexLabel {\r\n\r\n}\r\n","<label><ng-content></ng-content></label>","import { Component ,ViewEncapsulation} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h1',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h1.html',\r\n styleUrl: './amnex-h1.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH1 {\r\n\r\n}\r\n","<h1><ng-content></ng-content></h1>","import { Component ,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h2',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h2.html',\r\n styleUrl: './amnex-h2.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH2 {\r\n\r\n}\r\n","<h2> <ng-content></ng-content></h2>\r\n","import { Component , ViewEncapsulation} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h3',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h3.html',\r\n styleUrl: './amnex-h3.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH3 {\r\n\r\n}\r\n","<h3><ng-content></ng-content></h3>\r\n","import { Component ,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h4',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h4.html',\r\n styleUrl: './amnex-h4.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH4 {\r\n\r\n}\r\n","<h4><ng-content></ng-content></h4>","import { Component ,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h5',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h5.html',\r\n styleUrl: './amnex-h5.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH5 {\r\n\r\n}\r\n","<h5><ng-content></ng-content></h5>\r\n","import { Component ,ViewEncapsulation} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h6',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h6.html',\r\n styleUrl: './amnex-h6.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH6 {\r\n\r\n}\r\n","<h6><ng-content></ng-content></h6>","import { Component ,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-p',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-p.html',\r\n styleUrl: './amnex-p.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexP {\r\n\r\n}\r\n","<p><ng-content></ng-content></p>","import { CommonModule } from '@angular/common';\r\nimport { Component ,forwardRef,Input ,ViewEncapsulation } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'amnex-radio',\r\n standalone:true,\r\n imports: [CommonModule],\r\n encapsulation: ViewEncapsulation.None,\r\n templateUrl: './amnex-radio.html',\r\n styleUrl: './amnex-radio.css',\r\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexRadio), multi: true }],\r\n\r\n})\r\nexport class AmnexRadio implements ControlValueAccessor{\r\n @Input() options: {label: string, value: any}[] = [];\r\n @Input() name = 'radio-group';\r\n value: any;\r\n onChange = (v: any) => {};\r\n onTouched = () => {};\r\n writeValue(v: any) { this.value = v; }\r\n registerOnChange(fn: any) { this.onChange = fn; }\r\n registerOnTouched(fn: any) { this.onTouched = fn; }\r\n onInput(val: any) { this.value = val; this.onChange(val); }\r\n}\r\n","<div *ngFor=\"let opt of options\">\r\n <input type=\"radio\" [name]=\"name\" [value]=\"opt.value\" [checked]=\"value === opt.value\" (change)=\"onInput(opt.value)\">\r\n <span>{{opt.label}}</span>\r\n </div>","import { CommonModule } from '@angular/common';\r\nimport { Component ,forwardRef,Input ,ViewEncapsulation } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'amnex-select',\r\n standalone:true,\r\n imports: [CommonModule],\r\n templateUrl: './amnex-select.html',\r\n styleUrl: './amnex-select.css',\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexSelect), multi: true }],\r\n})\r\nexport class AmnexSelect implements ControlValueAccessor\r\n{\r\n @Input() options: {label: string, value: any}[] = [];\r\n @Input() placeholder = 'Select';\r\n value: any = '';\r\n onChange = (v: any) => {};\r\n onTouched = () => {};\r\n writeValue(v: any) { this.value = v; }\r\n registerOnChange(fn: any) { this.onChange = fn; }\r\n registerOnTouched(fn: any) { this.onTouched = fn; }\r\n onInput(e: any) { this.value = e.target.value; this.onChange(this.value);\r\n }\r\n\r\n}\r\n","<select\r\n [value]=\"value\"\r\n (change)=\"onInput($event)\" \r\n (blur)=\"onTouched()\">\r\n<option value=\"\" disabled>{{placeholder}}</option>\r\n<option *ngFor=\"let opt of options\" [value]=\"opt.value\">{{opt.label}}</select>\r\n","import { Component ,forwardRef,Input ,ViewEncapsulation} from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'amnex-textarea',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-textarea.html',\r\n styleUrl: './amnex-textarea.css',\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexTextarea), multi: true }],\r\n})\r\nexport class AmnexTextarea implements ControlValueAccessor {\r\n @Input() placeholder = '';\r\n value: any = '';\r\n\r\n onChange = (v: any) => {};\r\n onTouched = () => {};\r\n\r\n writeValue(val: any): void { this.value = val || ''; }\r\n registerOnChange(fn: any): void { this.onChange = fn; }\r\n registerOnTouched(fn: any): void { this.onTouched = fn; }\r\n\r\n onInput(e: any) {\r\n this.value = e.target.value;\r\n this.onChange(this.value);\r\n }\r\n \r\n\r\n}\r\n","<textarea \r\n [placeholder]=\"placeholder\" \r\n [value]=\"value\" \r\n (input)=\"onInput($event)\" \r\n (blur)=\"onTouched()\">\r\n </textarea>","import { CommonModule } from '@angular/common';\r\nimport { AfterViewInit, Component, ElementRef, Input, ViewChild } from '@angular/core';\r\nimport { Feature, View } from 'ol';\r\nimport { Point } from 'ol/geom';\r\nimport TileLayer from 'ol/layer/Tile';\r\nimport VectorLayer from 'ol/layer/Vector';\r\nimport Map from 'ol/Map';\r\nimport { fromLonLat } from 'ol/proj';\r\nimport { XYZ } from 'ol/source';\r\nimport VectorSource from 'ol/source/Vector';\r\nimport { Fill, Icon, Stroke, Style , Text } from 'ol/style';\r\n\r\n\r\nexport interface MapLocation {\r\n lat: number;\r\n lng: number;\r\n title?: string;\r\n}\r\n@Component({\r\n selector: 'amnex-map',\r\n standalone:true,\r\n imports: [CommonModule],\r\n templateUrl: './amnex-map.html',\r\n styleUrl: './amnex-map.css',\r\n})\r\nexport class AmnexMap implements AfterViewInit{\r\n\r\n @ViewChild('mapElement') mapElement!: ElementRef;\r\n\r\n @Input({required :true}) locations : MapLocation[]=[];\r\n @Input() zoom: number = 10;\r\n @Input() height: string = '500px';\r\n @Input() tittle: string ='';\r\n\r\n\r\n public map!: Map;\r\n\r\n \r\n ngAfterViewInit(): void {\r\n if(this.locations.length >0){\r\n this.initMap();\r\n }\r\n }\r\n\r\n\r\n private initMap(): void{\r\n const container = this.mapElement.nativeElement;\r\n\r\n const features = this.locations.map(loc =>{\r\n const feature = new Feature({\r\n geometry: new Point(fromLonLat([loc.lng, loc.lat])),\r\n name: loc.title\r\n });\r\n\r\n\r\n feature.setStyle(new Style({\r\n image: new Icon({\r\n anchor: [0.5, 1],\r\n src: 'https://openlayers.org/en/latest/examples/data/icon.png',\r\n scale: 0.8\r\n }),\r\n text: new Text({\r\n text: loc.title, \r\n font: 'bold 14px Arial, sans-serif',\r\n fill: new Fill({ color: '#ffffff' }), \r\n stroke: new Stroke({ color: '#000000', width: 3 }), \r\n offsetY: -45, \r\n textAlign: 'center'\r\n })\r\n\r\n \r\n\r\n }));\r\n return feature;\r\n });\r\n\r\n\r\n const vectorSource = new VectorSource({ features });\r\n const vectorLayer = new VectorLayer({ source: vectorSource });\r\n\r\n this.map = new Map({\r\n target: container,\r\n layers: [\r\n new TileLayer({\r\n source: new XYZ({\r\n url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',\r\n maxZoom: 19\r\n }),\r\n }),\r\n vectorLayer\r\n ],\r\n view: new View({\r\n center: fromLonLat([this.locations[0].lng, this.locations[0].lat]),\r\n zoom: this.zoom,\r\n }),\r\n });\r\n }\r\n}","\r\n\r\n<div #mapElement class=\"map-container\" [style.height]=\"height\"></div>\r\n \r\n","import { AfterViewInit, Component, ElementRef, Input, OnChanges, SimpleChanges, ViewChild } from '@angular/core';\r\nimport VectorLayer from 'ol/layer/Vector';\r\nimport Map from 'ol/Map';\r\nimport { Vector } from 'ol/source';\r\nimport { fromLonLat } from 'ol/proj';\r\nimport { XYZ } from 'ol/source';\r\nimport VectorSource from 'ol/source/Vector';\r\nimport { Fill, Icon, Stroke, Style, Text } from 'ol/style';\r\nimport { Feature, View } from 'ol';\r\nimport { Point } from 'ol/geom';\r\nimport TileLayer from 'ol/layer/Tile';\r\n\r\n\r\n\r\nexport interface MapLocaion{\r\n lat:number;\r\n lng:number;\r\n title?:string\r\n}\r\n@Component({\r\n selector: 'amnex-maps',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-maps.html',\r\n styleUrl: './amnex-maps.css',\r\n})\r\nexport class AmnexMaps implements AfterViewInit,OnChanges{\r\n\r\n @ViewChild('mapElement') mapElement!: ElementRef;\r\n @Input({required:true}) locations: MapLocaion[]=[];\r\n\r\n @Input() zoom: number=10;\r\n @Input() height: string ='500px';\r\n @Input() showMarkers: boolean = true;\r\n @Input() showLabels: boolean = true;\r\n\r\n public map!: Map;\r\n\r\n private vectorSource = new VectorSource();\r\n\r\n ngAfterViewInit(): void {\r\n this.initMap();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes['locations'] && !changes['locations'].firstChange) {\r\n this.updateMarkers();\r\n }\r\n }\r\n\r\n private initMap(): void {\r\n const container = this.mapElement.nativeElement;\r\n\r\n const vectorLayer = new VectorLayer({\r\n source: this.vectorSource\r\n });\r\n\r\n this.map = new Map({\r\n target: container,\r\n layers: [\r\n new TileLayer({\r\n source: new XYZ({\r\n url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',\r\n maxZoom: 19\r\n }),\r\n }),\r\n vectorLayer\r\n ],\r\n view: new View({\r\n center: fromLonLat([this.locations[0]?.lng || 72.5714, this.locations[0]?.lat || 23.0225]),\r\n zoom: this.zoom,\r\n }),\r\n });\r\n\r\n this.updateMarkers();\r\n }\r\n\r\n private updateMarkers(): void {\r\n if (!this.map) return;\r\n\r\n this.vectorSource.clear(); \r\n\r\n const features = this.locations.map(loc => {\r\n const feature = new Feature({\r\n geometry: new Point(fromLonLat([loc.lng, loc.lat]))\r\n });\r\n\r\n feature.setStyle(new Style({\r\n image: this.showMarkers? new Icon({\r\n anchor: [0.5, 1],\r\n src: 'https://openlayers.org/en/latest/examples/data/icon.png',\r\n scale: 0.8\r\n }):undefined,\r\n text: this.showLabels? new Text({\r\n text: loc.title,\r\n font: 'bold 13px Calibri,sans-serif',\r\n fill: new Fill({ color: '#fff' }),\r\n stroke: new Stroke({ color: '#000', width: 3 }),\r\n offsetY: this.showMarkers? -45:0\r\n }):undefined\r\n }));\r\n return feature;\r\n });\r\n\r\n this.vectorSource.addFeatures(features);\r\n\r\n if (this.locations.length > 0) {\r\n this.map.getView().setCenter(fromLonLat([this.locations[0].lng, this.locations[0].lat]));\r\n }\r\n }\r\n \r\n \r\n\r\n}\r\n","<div #mapElement class=\"map-container\" [style.height]=\"height\"></div>","import { AmnexH1 } from \"./amnex-h1/amnex-h1\";\r\nimport { AmnexH2 } from \"./amnex-h2/amnex-h2\";\r\nimport { AmnexH3 } from \"./amnex-h3/amnex-h3\";\r\nimport { AmnexH4 } from \"./amnex-h4/amnex-h4\";\r\nimport {AmnexH5} from \"./amnex-h5/amnex-h5\";\r\nimport { AmnexH6 } from \"./amnex-h6/amnex-h6\";\r\nimport { AmnexInput } from \"./amnex-input/amnex-input\";\r\nimport { AmnexLabel } from \"./amnex-label/amnex-label\";\r\nimport { AmnexP } from \"./amnex-p/amnex-p\";\r\nimport { AmnexButton } from \"./amnex-button/amnex-button\";\r\nimport { AmnexRadio } from \"./amnex-radio/amnex-radio\";\r\nimport { AmnexSelect } from \"./amnex-select/amnex-select\";\r\nimport { AmnexTextarea } from \"./amnex-textarea/amnex-textarea\";\r\nimport { AmnexFile } from \"./amnex-file/amnex-file\";\r\nimport { AmnexForm } from \"./amnex-form/amnex-form\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { CommonModule } from \"@angular/common\";\r\nimport { AmnexMap } from \"./amnex-map/amnex-map\";\r\nimport { AmnexMaps } from \"./amnex-maps/amnex-maps\";\r\n\r\n\r\n\r\n\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n AmnexInput,\r\n AmnexButton,\r\n AmnexRadio,\r\n AmnexSelect,\r\n AmnexTextarea,\r\n AmnexFile,\r\n AmnexForm,\r\n AmnexH1,\r\n AmnexH6,\r\n AmnexP,\r\n AmnexLabel,\r\n AmnexMap,\r\n AmnexMaps\r\n \r\n ],\r\n exports: [\r\n AmnexInput,\r\n AmnexButton,\r\n AmnexRadio,\r\n AmnexSelect,\r\n AmnexTextarea,\r\n AmnexFile,\r\n AmnexForm,\r\n AmnexH1,\r\n AmnexH6,\r\n AmnexP,\r\n AmnexLabel,\r\n AmnexMap,\r\n AmnexMaps\r\n ]\r\n})\r\n\r\nexport class AMNEX_COMPONENTS {}\r\n","/*\r\n * Public API Surface of ui-atoms\r\n */\r\nexport * from './lib/amnex-button/amnex-button';\r\nexport * from './lib/amnex-file/amnex-file';\r\nexport * from './lib/amnex-form/amnex-form';\r\nexport * from './lib/amnex-input/amnex-input';\r\nexport * from './lib/amnex-label/amnex-label';\r\nexport * from './lib/amnex-h1/amnex-h1';\r\nexport * from './lib/amnex-h2/amnex-h2';\r\nexport * from './lib/amnex-h3/amnex-h3';\r\nexport * from './lib/amnex-h4/amnex-h4';\r\nexport * from './lib/amnex-h5/amnex-h5';\r\nexport * from './lib/amnex-h6/amnex-h6';\r\nexport * from './lib/amnex-p/amnex-p';\r\nexport * from './lib/amnex-radio/amnex-radio';\r\nexport * from './lib/amnex-select/amnex-select';\r\nexport * from './lib/amnex-textarea/amnex-textarea';\r\nexport * from './lib/amnex-map/amnex-map';\r\nexport * from './lib/amnex-components';\r\nexport * from './lib/amnex-maps/amnex-maps';\r\n\r\n\r\n\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;MAWa,WAAW,CAAA;IAGb,IAAI,GAAkC,QAAQ;IAE9C,QAAQ,GAAY,KAAK;wGALvB,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAX,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,WAAW,wHCXxB,qFAA+E,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA;;4FDWlE,WAAW,EAAA,UAAA,EAAA,CAAA;kBATvB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,cAAc,cACb,IAAI,EAAA,OAAA,EACN,EAAE,EAAA,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O;YACP,OAAO;YACP,MAAM;YACN,UAAU;YACV,QAAQ;YACR,SAAS,CAAA,EAAA,CAAA;AAIA,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAjCzB,YAAY;YAGZ,UAAU;YACV,WAAW;YAQX,QAAQ,CAAA,EAAA,CAAA;;4FAqBC,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAnC5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,UAAU;wBACV,WAAW;wBACX,UAAU;wBACV,WAAW;wBACX,aAAa;wBACb,SAAS;wBACT,SAAS;wBACT,OAAO;wBACP,OAAO;wBACP,MAAM;wBACN,UAAU;wBACV,QAAQ;wBACR;AAED,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,UAAU;wBACV,WAAW;wBACX,UAAU;wBACV,WAAW;wBACX,aAAa;wBACb,SAAS;wBACT,SAAS;wBACT,OAAO;wBACP,OAAO;wBACP,MAAM;wBACN,UAAU;wBACV,QAAQ;wBACR;AACD;AACF,iBAAA;;;ACzDD;;AAEG;;ACFH;;AAEG;;;;"}
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, AfterViewInit, ElementRef } from '@angular/core';
2
+ import { EventEmitter, AfterViewInit, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
3
3
  import { ControlValueAccessor } from '@angular/forms';
4
4
  import Map from 'ol/Map';
5
5
  import * as i1 from '@angular/common';
@@ -127,23 +127,51 @@ declare class AmnexTextarea implements ControlValueAccessor {
127
127
  static ɵcmp: i0.ɵɵComponentDeclaration<AmnexTextarea, "amnex-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
128
128
  }
129
129
 
130
+ interface MapLocation {
131
+ lat: number;
132
+ lng: number;
133
+ title?: string;
134
+ }
130
135
  declare class AmnexMap implements AfterViewInit {
131
136
  mapElement: ElementRef;
137
+ locations: MapLocation[];
138
+ zoom: number;
139
+ height: string;
140
+ tittle: string;
141
+ map: Map;
142
+ ngAfterViewInit(): void;
143
+ private initMap;
144
+ static ɵfac: i0.ɵɵFactoryDeclaration<AmnexMap, never>;
145
+ static ɵcmp: i0.ɵɵComponentDeclaration<AmnexMap, "amnex-map", never, { "locations": { "alias": "locations"; "required": true; }; "zoom": { "alias": "zoom"; "required": false; }; "height": { "alias": "height"; "required": false; }; "tittle": { "alias": "tittle"; "required": false; }; }, {}, never, never, true, never>;
146
+ }
147
+
148
+ interface MapLocaion {
132
149
  lat: number;
133
150
  lng: number;
151
+ title?: string;
152
+ }
153
+ declare class AmnexMaps implements AfterViewInit, OnChanges {
154
+ mapElement: ElementRef;
155
+ locations: MapLocaion[];
134
156
  zoom: number;
135
157
  height: string;
158
+ showMarkers: boolean;
159
+ showLabels: boolean;
136
160
  map: Map;
161
+ private vectorSource;
137
162
  ngAfterViewInit(): void;
163
+ ngOnChanges(changes: SimpleChanges): void;
138
164
  private initMap;
139
- static ɵfac: i0.ɵɵFactoryDeclaration<AmnexMap, never>;
140
- static ɵcmp: i0.ɵɵComponentDeclaration<AmnexMap, "amnex-map", never, { "lat": { "alias": "lat"; "required": false; }; "lng": { "alias": "lng"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, never, never, true, never>;
165
+ private updateMarkers;
166
+ static ɵfac: i0.ɵɵFactoryDeclaration<AmnexMaps, never>;
167
+ static ɵcmp: i0.ɵɵComponentDeclaration<AmnexMaps, "amnex-maps", never, { "locations": { "alias": "locations"; "required": true; }; "zoom": { "alias": "zoom"; "required": false; }; "height": { "alias": "height"; "required": false; }; "showMarkers": { "alias": "showMarkers"; "required": false; }; "showLabels": { "alias": "showLabels"; "required": false; }; }, {}, never, never, true, never>;
141
168
  }
142
169
 
143
170
  declare class AMNEX_COMPONENTS {
144
171
  static ɵfac: i0.ɵɵFactoryDeclaration<AMNEX_COMPONENTS, never>;
145
- static ɵmod: i0.ɵɵNgModuleDeclaration<AMNEX_COMPONENTS, never, [typeof i1.CommonModule, typeof AmnexInput, typeof AmnexButton, typeof AmnexRadio, typeof AmnexSelect, typeof AmnexTextarea, typeof AmnexFile, typeof AmnexForm, typeof AmnexH1, typeof AmnexH6, typeof AmnexP, typeof AmnexLabel, typeof AmnexMap], [typeof AmnexInput, typeof AmnexButton, typeof AmnexRadio, typeof AmnexSelect, typeof AmnexTextarea, typeof AmnexFile, typeof AmnexForm, typeof AmnexH1, typeof AmnexH6, typeof AmnexP, typeof AmnexLabel, typeof AmnexMap]>;
172
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AMNEX_COMPONENTS, never, [typeof i1.CommonModule, typeof AmnexInput, typeof AmnexButton, typeof AmnexRadio, typeof AmnexSelect, typeof AmnexTextarea, typeof AmnexFile, typeof AmnexForm, typeof AmnexH1, typeof AmnexH6, typeof AmnexP, typeof AmnexLabel, typeof AmnexMap, typeof AmnexMaps], [typeof AmnexInput, typeof AmnexButton, typeof AmnexRadio, typeof AmnexSelect, typeof AmnexTextarea, typeof AmnexFile, typeof AmnexForm, typeof AmnexH1, typeof AmnexH6, typeof AmnexP, typeof AmnexLabel, typeof AmnexMap, typeof AmnexMaps]>;
146
173
  static ɵinj: i0.ɵɵInjectorDeclaration<AMNEX_COMPONENTS>;
147
174
  }
148
175
 
149
- export { AMNEX_COMPONENTS, AmnexButton, AmnexFile, AmnexForm, AmnexH1, AmnexH2, AmnexH3, AmnexH4, AmnexH5, AmnexH6, AmnexInput, AmnexLabel, AmnexMap, AmnexP, AmnexRadio, AmnexSelect, AmnexTextarea };
176
+ export { AMNEX_COMPONENTS, AmnexButton, AmnexFile, AmnexForm, AmnexH1, AmnexH2, AmnexH3, AmnexH4, AmnexH5, AmnexH6, AmnexInput, AmnexLabel, AmnexMap, AmnexMaps, AmnexP, AmnexRadio, AmnexSelect, AmnexTextarea };
177
+ export type { MapLocaion, MapLocation };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amnex/ui-atoms",
3
- "version": "1.0.7",
3
+ "version": "1.1.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0",
6
6
  "@angular/core": "^20.3.0"