@amnex/ui-atoms 2.0.6 → 2.0.7
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/fesm2022/amnex-ui-atoms.mjs +85 -7
- package/fesm2022/amnex-ui-atoms.mjs.map +1 -1
- package/index.d.ts +17 -3
- package/package.json +1 -1
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Input, ViewEncapsulation, Component, EventEmitter, forwardRef, Output, NgModule } from '@angular/core';
|
|
2
|
+
import { Input, ViewEncapsulation, Component, EventEmitter, forwardRef, Output, ViewChild, NgModule } from '@angular/core';
|
|
3
3
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
4
|
import * as i1 from '@angular/common';
|
|
5
5
|
import { CommonModule } from '@angular/common';
|
|
6
|
+
import { Feature, View } from 'ol';
|
|
7
|
+
import { Point } from 'ol/geom';
|
|
8
|
+
import TileLayer from 'ol/layer/Tile';
|
|
9
|
+
import VectorLayer from 'ol/layer/Vector';
|
|
10
|
+
import Map from 'ol/Map';
|
|
11
|
+
import { fromLonLat } from 'ol/proj';
|
|
12
|
+
import { XYZ } from 'ol/source';
|
|
13
|
+
import VectorSource from 'ol/source/Vector';
|
|
14
|
+
import { Style, Icon } from 'ol/style';
|
|
6
15
|
|
|
7
16
|
class AmnexButton {
|
|
8
17
|
type = 'button';
|
|
@@ -227,6 +236,70 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
227
236
|
type: Input
|
|
228
237
|
}] } });
|
|
229
238
|
|
|
239
|
+
class AmnexMap {
|
|
240
|
+
mapElement;
|
|
241
|
+
lat = 23.0225;
|
|
242
|
+
lng = 72.5714;
|
|
243
|
+
zoom = 15;
|
|
244
|
+
height = '500px';
|
|
245
|
+
map;
|
|
246
|
+
ngAfterViewInit() {
|
|
247
|
+
this.initMap();
|
|
248
|
+
}
|
|
249
|
+
initMap() {
|
|
250
|
+
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.5, 1],
|
|
257
|
+
src: 'https://openlayers.org/en/latest/examples/data/icon.png',
|
|
258
|
+
scale: 1
|
|
259
|
+
})
|
|
260
|
+
}));
|
|
261
|
+
const vectorSource = new VectorSource({
|
|
262
|
+
features: [marker]
|
|
263
|
+
});
|
|
264
|
+
const vectorLayer = new VectorLayer({
|
|
265
|
+
source: vectorSource
|
|
266
|
+
});
|
|
267
|
+
this.map = new Map({
|
|
268
|
+
target: container,
|
|
269
|
+
layers: [
|
|
270
|
+
new TileLayer({
|
|
271
|
+
source: new XYZ({
|
|
272
|
+
url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',
|
|
273
|
+
maxZoom: 19
|
|
274
|
+
}),
|
|
275
|
+
}),
|
|
276
|
+
vectorLayer
|
|
277
|
+
],
|
|
278
|
+
view: new View({
|
|
279
|
+
center: fromLonLat([this.lng, this.lat]),
|
|
280
|
+
zoom: this.zoom,
|
|
281
|
+
}),
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexMap, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
285
|
+
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 }] });
|
|
286
|
+
}
|
|
287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexMap, decorators: [{
|
|
288
|
+
type: Component,
|
|
289
|
+
args: [{ selector: 'amnex-map', standalone: true, imports: [CommonModule], 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"] }]
|
|
290
|
+
}], propDecorators: { mapElement: [{
|
|
291
|
+
type: ViewChild,
|
|
292
|
+
args: ['mapElement']
|
|
293
|
+
}], lat: [{
|
|
294
|
+
type: Input
|
|
295
|
+
}], lng: [{
|
|
296
|
+
type: Input
|
|
297
|
+
}], zoom: [{
|
|
298
|
+
type: Input
|
|
299
|
+
}], height: [{
|
|
300
|
+
type: Input
|
|
301
|
+
}] } });
|
|
302
|
+
|
|
230
303
|
class AMNEX_COMPONENTS {
|
|
231
304
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AMNEX_COMPONENTS, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
232
305
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: AMNEX_COMPONENTS, imports: [CommonModule,
|
|
@@ -240,7 +313,8 @@ class AMNEX_COMPONENTS {
|
|
|
240
313
|
AmnexH1,
|
|
241
314
|
AmnexH6,
|
|
242
315
|
AmnexP,
|
|
243
|
-
AmnexLabel
|
|
316
|
+
AmnexLabel,
|
|
317
|
+
AmnexMap], exports: [AmnexInput,
|
|
244
318
|
AmnexButton,
|
|
245
319
|
AmnexRadio,
|
|
246
320
|
AmnexSelect,
|
|
@@ -250,10 +324,12 @@ class AMNEX_COMPONENTS {
|
|
|
250
324
|
AmnexH1,
|
|
251
325
|
AmnexH6,
|
|
252
326
|
AmnexP,
|
|
253
|
-
AmnexLabel
|
|
327
|
+
AmnexLabel,
|
|
328
|
+
AmnexMap] });
|
|
254
329
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AMNEX_COMPONENTS, imports: [CommonModule,
|
|
255
330
|
AmnexRadio,
|
|
256
|
-
AmnexSelect
|
|
331
|
+
AmnexSelect,
|
|
332
|
+
AmnexMap] });
|
|
257
333
|
}
|
|
258
334
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AMNEX_COMPONENTS, decorators: [{
|
|
259
335
|
type: NgModule,
|
|
@@ -270,7 +346,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
270
346
|
AmnexH1,
|
|
271
347
|
AmnexH6,
|
|
272
348
|
AmnexP,
|
|
273
|
-
AmnexLabel
|
|
349
|
+
AmnexLabel,
|
|
350
|
+
AmnexMap
|
|
274
351
|
],
|
|
275
352
|
exports: [
|
|
276
353
|
AmnexInput,
|
|
@@ -283,7 +360,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
283
360
|
AmnexH1,
|
|
284
361
|
AmnexH6,
|
|
285
362
|
AmnexP,
|
|
286
|
-
AmnexLabel
|
|
363
|
+
AmnexLabel,
|
|
364
|
+
AmnexMap
|
|
287
365
|
]
|
|
288
366
|
}]
|
|
289
367
|
}] });
|
|
@@ -296,5 +374,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
296
374
|
* Generated bundle index. Do not edit.
|
|
297
375
|
*/
|
|
298
376
|
|
|
299
|
-
export { AMNEX_COMPONENTS, AmnexButton, AmnexFile, AmnexForm, AmnexH1, AmnexH2, AmnexH3, AmnexH4, AmnexH5, AmnexH6, AmnexInput, AmnexLabel, AmnexP, AmnexRadio, AmnexSelect, AmnexTextarea };
|
|
377
|
+
export { AMNEX_COMPONENTS, AmnexButton, AmnexFile, AmnexForm, AmnexH1, AmnexH2, AmnexH3, AmnexH4, AmnexH5, AmnexH6, AmnexInput, AmnexLabel, AmnexMap, AmnexP, AmnexRadio, AmnexSelect, AmnexTextarea };
|
|
300
378
|
//# 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-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 { 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\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 ],\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 ]\r\n})\r\n\r\nexport class AMNEX_COMPONENTS {}\r\n\r\n/*export const AMNEX_COMPONENTS =[AmnexH1,\r\n AmnexH2 ,AmnexH3 ,AmnexH4 , AmnexH5 ,AmnexForm , \r\n AmnexH6 , AmnexButton,AmnexFile , AmnexInput ,\r\n AmnexLabel ,AmnexP , AmnexRadio ,AmnexSelect, AmnexTextarea\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-components';\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,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SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YA5BzB,YAAY;YACZ,UAAU;YACV,WAAW;YACX,UAAU;YACV,WAAW;YACX,aAAa;YACb,SAAS;YACT,SAAS;YACT,OAAO;YACP,OAAO;YACP,MAAM;AACN,YAAA,UAAU,aAGV,UAAU;YACV,WAAW;YACX,UAAU;YACV,WAAW;YACX,aAAa;YACb,SAAS;YACT,SAAS;YACT,OAAO;YACP,OAAO;YACP,MAAM;YACN,UAAU,CAAA,EAAA,CAAA;AAID,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YA5BzB,YAAY;YAGZ,UAAU;YACV,WAAW,CAAA,EAAA,CAAA;;4FAwBF,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBA9B5B,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;AACD,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;AACD;AACF,iBAAA;;;ACjDD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
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 = 15;\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.5, 1], \r\n src: 'https://openlayers.org/en/latest/examples/data/icon.png', \r\n scale: 1\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,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,aAAA,EAGI,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,qFAAA,EAAA;;sBAMpC;;sBAEA;;;MEHU,SAAS,CAAA;AAGX,IAA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;4FAkBC,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAhC5B,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;AACD,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;AACD;AACF,iBAAA;;;ACpDD;;AAEG;;ACFH;;AAEG;;;;"}
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { EventEmitter, AfterViewInit, ElementRef } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
import Map from 'ol/Map';
|
|
4
5
|
import * as i1 from '@angular/common';
|
|
5
6
|
|
|
6
7
|
declare class AmnexButton {
|
|
@@ -126,10 +127,23 @@ declare class AmnexTextarea implements ControlValueAccessor {
|
|
|
126
127
|
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexTextarea, "amnex-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
|
|
127
128
|
}
|
|
128
129
|
|
|
130
|
+
declare class AmnexMap implements AfterViewInit {
|
|
131
|
+
mapElement: ElementRef;
|
|
132
|
+
lat: number;
|
|
133
|
+
lng: number;
|
|
134
|
+
zoom: number;
|
|
135
|
+
height: string;
|
|
136
|
+
map: Map;
|
|
137
|
+
ngAfterViewInit(): void;
|
|
138
|
+
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>;
|
|
141
|
+
}
|
|
142
|
+
|
|
129
143
|
declare class AMNEX_COMPONENTS {
|
|
130
144
|
static ɵfac: i0.ɵɵFactoryDeclaration<AMNEX_COMPONENTS, never>;
|
|
131
|
-
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 AmnexInput, typeof AmnexButton, typeof AmnexRadio, typeof AmnexSelect, typeof AmnexTextarea, typeof AmnexFile, typeof AmnexForm, typeof AmnexH1, typeof AmnexH6, typeof AmnexP, typeof AmnexLabel]>;
|
|
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]>;
|
|
132
146
|
static ɵinj: i0.ɵɵInjectorDeclaration<AMNEX_COMPONENTS>;
|
|
133
147
|
}
|
|
134
148
|
|
|
135
|
-
export { AMNEX_COMPONENTS, AmnexButton, AmnexFile, AmnexForm, AmnexH1, AmnexH2, AmnexH3, AmnexH4, AmnexH5, AmnexH6, AmnexInput, AmnexLabel, AmnexP, AmnexRadio, AmnexSelect, AmnexTextarea };
|
|
149
|
+
export { AMNEX_COMPONENTS, AmnexButton, AmnexFile, AmnexForm, AmnexH1, AmnexH2, AmnexH3, AmnexH4, AmnexH5, AmnexH6, AmnexInput, AmnexLabel, AmnexMap, AmnexP, AmnexRadio, AmnexSelect, AmnexTextarea };
|