@amnex/ui-atoms 1.0.6 → 1.0.9
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 +238 -20
- package/fesm2022/amnex-ui-atoms.mjs.map +1 -1
- package/index.d.ts +49 -9
- 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 } 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, Text, Stroke, Fill, Icon } from 'ol/style';
|
|
6
15
|
|
|
7
16
|
class AmnexButton {
|
|
8
17
|
type = 'button';
|
|
@@ -227,27 +236,236 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
227
236
|
type: Input
|
|
228
237
|
}] } });
|
|
229
238
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
239
|
+
class AmnexMap {
|
|
240
|
+
mapElement;
|
|
241
|
+
locations = [];
|
|
242
|
+
zoom = 10;
|
|
243
|
+
height = '500px';
|
|
244
|
+
tittle = '';
|
|
245
|
+
map;
|
|
246
|
+
ngAfterViewInit() {
|
|
247
|
+
if (this.locations.length > 0) {
|
|
248
|
+
this.initMap();
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
initMap() {
|
|
252
|
+
const container = this.mapElement.nativeElement;
|
|
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;
|
|
274
|
+
});
|
|
275
|
+
const vectorSource = new VectorSource({ features });
|
|
276
|
+
const vectorLayer = new VectorLayer({ source: vectorSource });
|
|
277
|
+
this.map = new Map({
|
|
278
|
+
target: container,
|
|
279
|
+
layers: [
|
|
280
|
+
new TileLayer({
|
|
281
|
+
source: new XYZ({
|
|
282
|
+
url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',
|
|
283
|
+
maxZoom: 19
|
|
284
|
+
}),
|
|
285
|
+
}),
|
|
286
|
+
vectorLayer
|
|
287
|
+
],
|
|
288
|
+
view: new View({
|
|
289
|
+
center: fromLonLat([this.locations[0].lng, this.locations[0].lat]),
|
|
290
|
+
zoom: this.zoom,
|
|
291
|
+
}),
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexMap, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
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 }] });
|
|
296
|
+
}
|
|
297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexMap, decorators: [{
|
|
298
|
+
type: Component,
|
|
299
|
+
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"] }]
|
|
300
|
+
}], propDecorators: { mapElement: [{
|
|
301
|
+
type: ViewChild,
|
|
302
|
+
args: ['mapElement']
|
|
303
|
+
}], locations: [{
|
|
304
|
+
type: Input,
|
|
305
|
+
args: [{ required: true }]
|
|
306
|
+
}], zoom: [{
|
|
307
|
+
type: Input
|
|
308
|
+
}], height: [{
|
|
309
|
+
type: Input
|
|
310
|
+
}], tittle: [{
|
|
311
|
+
type: Input
|
|
312
|
+
}] } });
|
|
235
313
|
|
|
236
|
-
class
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
314
|
+
class AmnexMaps {
|
|
315
|
+
mapElement;
|
|
316
|
+
locations = [];
|
|
317
|
+
zoom = 10;
|
|
318
|
+
height = '500px';
|
|
319
|
+
map;
|
|
320
|
+
vectorSource = new VectorSource();
|
|
321
|
+
ngAfterViewInit() {
|
|
322
|
+
this.initMap();
|
|
323
|
+
}
|
|
324
|
+
// Agar database se data thoda late aata hai, toh ye function markers ko update kar dega
|
|
325
|
+
ngOnChanges(changes) {
|
|
326
|
+
if (changes['locations'] && !changes['locations'].firstChange) {
|
|
327
|
+
this.updateMarkers();
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
initMap() {
|
|
331
|
+
const container = this.mapElement.nativeElement;
|
|
332
|
+
const vectorLayer = new VectorLayer({
|
|
333
|
+
source: this.vectorSource
|
|
334
|
+
});
|
|
335
|
+
this.map = new Map({
|
|
336
|
+
target: container,
|
|
337
|
+
layers: [
|
|
338
|
+
new TileLayer({
|
|
339
|
+
source: new XYZ({
|
|
340
|
+
url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',
|
|
341
|
+
maxZoom: 19
|
|
342
|
+
}),
|
|
343
|
+
}),
|
|
344
|
+
vectorLayer
|
|
345
|
+
],
|
|
346
|
+
view: new View({
|
|
347
|
+
center: fromLonLat([this.locations[0]?.lng || 72.5714, this.locations[0]?.lat || 23.0225]),
|
|
348
|
+
zoom: this.zoom,
|
|
349
|
+
}),
|
|
350
|
+
});
|
|
351
|
+
this.updateMarkers();
|
|
352
|
+
}
|
|
353
|
+
updateMarkers() {
|
|
354
|
+
if (!this.map)
|
|
355
|
+
return;
|
|
356
|
+
this.vectorSource.clear(); // Purane markers hatayein
|
|
357
|
+
const features = this.locations.map(loc => {
|
|
358
|
+
const feature = new Feature({
|
|
359
|
+
geometry: new Point(fromLonLat([loc.lng, loc.lat]))
|
|
360
|
+
});
|
|
361
|
+
feature.setStyle(new Style({
|
|
362
|
+
image: new Icon({
|
|
363
|
+
anchor: [0.5, 1],
|
|
364
|
+
src: 'https://openlayers.org/en/latest/examples/data/icon.png',
|
|
365
|
+
scale: 0.8
|
|
366
|
+
}),
|
|
367
|
+
text: new Text({
|
|
368
|
+
text: loc.title,
|
|
369
|
+
font: 'bold 13px Calibri,sans-serif',
|
|
370
|
+
fill: new Fill({ color: '#fff' }),
|
|
371
|
+
stroke: new Stroke({ color: '#000', width: 3 }),
|
|
372
|
+
offsetY: -45
|
|
373
|
+
})
|
|
374
|
+
}));
|
|
375
|
+
return feature;
|
|
376
|
+
});
|
|
377
|
+
this.vectorSource.addFeatures(features);
|
|
378
|
+
// Auto-Center: Pehle location par focus karein
|
|
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" }, 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"] });
|
|
243
385
|
}
|
|
244
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type:
|
|
386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexMaps, decorators: [{
|
|
245
387
|
type: Component,
|
|
246
|
-
args: [{ selector: '
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
388
|
+
args: [{ selector: 'amnex-maps', 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 }]
|
|
395
|
+
}], zoom: [{
|
|
396
|
+
type: Input
|
|
397
|
+
}], height: [{
|
|
398
|
+
type: Input
|
|
399
|
+
}] } });
|
|
400
|
+
|
|
401
|
+
class AMNEX_COMPONENTS {
|
|
402
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AMNEX_COMPONENTS, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
403
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: AMNEX_COMPONENTS, imports: [CommonModule,
|
|
404
|
+
AmnexInput,
|
|
405
|
+
AmnexButton,
|
|
406
|
+
AmnexRadio,
|
|
407
|
+
AmnexSelect,
|
|
408
|
+
AmnexTextarea,
|
|
409
|
+
AmnexFile,
|
|
410
|
+
AmnexForm,
|
|
411
|
+
AmnexH1,
|
|
412
|
+
AmnexH6,
|
|
413
|
+
AmnexP,
|
|
414
|
+
AmnexLabel,
|
|
415
|
+
AmnexMap,
|
|
416
|
+
AmnexMaps], exports: [AmnexInput,
|
|
417
|
+
AmnexButton,
|
|
418
|
+
AmnexRadio,
|
|
419
|
+
AmnexSelect,
|
|
420
|
+
AmnexTextarea,
|
|
421
|
+
AmnexFile,
|
|
422
|
+
AmnexForm,
|
|
423
|
+
AmnexH1,
|
|
424
|
+
AmnexH6,
|
|
425
|
+
AmnexP,
|
|
426
|
+
AmnexLabel,
|
|
427
|
+
AmnexMap,
|
|
428
|
+
AmnexMaps] });
|
|
429
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AMNEX_COMPONENTS, imports: [CommonModule,
|
|
430
|
+
AmnexRadio,
|
|
431
|
+
AmnexSelect,
|
|
432
|
+
AmnexMap] });
|
|
433
|
+
}
|
|
434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AMNEX_COMPONENTS, decorators: [{
|
|
435
|
+
type: NgModule,
|
|
436
|
+
args: [{
|
|
437
|
+
imports: [
|
|
438
|
+
CommonModule,
|
|
439
|
+
AmnexInput,
|
|
440
|
+
AmnexButton,
|
|
441
|
+
AmnexRadio,
|
|
442
|
+
AmnexSelect,
|
|
443
|
+
AmnexTextarea,
|
|
444
|
+
AmnexFile,
|
|
445
|
+
AmnexForm,
|
|
446
|
+
AmnexH1,
|
|
447
|
+
AmnexH6,
|
|
448
|
+
AmnexP,
|
|
449
|
+
AmnexLabel,
|
|
450
|
+
AmnexMap,
|
|
451
|
+
AmnexMaps
|
|
452
|
+
],
|
|
453
|
+
exports: [
|
|
454
|
+
AmnexInput,
|
|
455
|
+
AmnexButton,
|
|
456
|
+
AmnexRadio,
|
|
457
|
+
AmnexSelect,
|
|
458
|
+
AmnexTextarea,
|
|
459
|
+
AmnexFile,
|
|
460
|
+
AmnexForm,
|
|
461
|
+
AmnexH1,
|
|
462
|
+
AmnexH6,
|
|
463
|
+
AmnexP,
|
|
464
|
+
AmnexLabel,
|
|
465
|
+
AmnexMap,
|
|
466
|
+
AmnexMaps
|
|
467
|
+
]
|
|
468
|
+
}]
|
|
251
469
|
}] });
|
|
252
470
|
|
|
253
471
|
/*
|
|
@@ -258,5 +476,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
258
476
|
* Generated bundle index. Do not edit.
|
|
259
477
|
*/
|
|
260
478
|
|
|
261
|
-
export { AMNEX_COMPONENTS, AmnexButton, AmnexFile, AmnexForm, AmnexH1, AmnexH2, AmnexH3, AmnexH4, AmnexH5, AmnexH6, AmnexInput, AmnexLabel, AmnexP, AmnexRadio, AmnexSelect, AmnexTextarea
|
|
479
|
+
export { AMNEX_COMPONENTS, AmnexButton, AmnexFile, AmnexForm, AmnexH1, AmnexH2, AmnexH3, AmnexH4, AmnexH5, AmnexH6, AmnexInput, AmnexLabel, AmnexMap, AmnexMaps, AmnexP, AmnexRadio, AmnexSelect, AmnexTextarea };
|
|
262
480
|
//# 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/lib/ui-atoms.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\n\r\nexport 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];","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-ui-atoms',\r\n imports: [],\r\n template: `\r\n <p>\r\n ui-atoms works!\r\n </p>\r\n `,\r\n styles: ``,\r\n})\r\nexport class UiAtoms {\r\n\r\n}\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\nexport * from './lib/ui-atoms';\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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AA,IAAA,EAAA,OAAO,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAPR,CAAA;;;;AAIT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAGU,OAAO,EAAA,UAAA,EAAA,CAAA;kBAVnB,SAAS;+BACE,cAAc,EAAA,OAAA,EACf,EAAE,EAAA,QAAA,EACD,CAAA;;;;AAIT,EAAA,CAAA,EAAA;;;ACTH;;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-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 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\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 // Agar database se data thoda late aata hai, toh ye function markers ko update kar dega\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(); // Purane markers hatayein\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: 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 13px Calibri,sans-serif',\r\n fill: new Fill({ color: '#fff' }),\r\n stroke: new Stroke({ color: '#000', width: 3 }),\r\n offsetY: -45\r\n })\r\n }));\r\n return feature;\r\n });\r\n\r\n this.vectorSource.addFeatures(features);\r\n\r\n // Auto-Center: Pehle location par focus karein\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,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,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAjCzB,YAAY;YACZ,UAAU;YACV,WAAW;YACX,UAAU;YACV,WAAW;YACX,aAAa;YACb,SAAS;YACT,SAAS;YACT,OAAO;YACP,OAAO;YACP,MAAM;YACN,UAAU;YACV,QAAQ;AACR,YAAA,SAAS,aAIT,UAAU;YACV,WAAW;YACX,UAAU;YACV,WAAW;YACX,aAAa;YACb,SAAS;YACT,SAAS;YACT,OAAO;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,6 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { EventEmitter, AfterViewInit, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
import Map from 'ol/Map';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
4
6
|
|
|
5
7
|
declare class AmnexButton {
|
|
6
8
|
type: 'button' | 'submit' | 'reset';
|
|
@@ -125,11 +127,49 @@ declare class AmnexTextarea implements ControlValueAccessor {
|
|
|
125
127
|
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexTextarea, "amnex-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
|
|
126
128
|
}
|
|
127
129
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
130
|
+
interface MapLocation {
|
|
131
|
+
lat: number;
|
|
132
|
+
lng: number;
|
|
133
|
+
title?: string;
|
|
134
|
+
}
|
|
135
|
+
declare class AmnexMap implements AfterViewInit {
|
|
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 {
|
|
149
|
+
lat: number;
|
|
150
|
+
lng: number;
|
|
151
|
+
title?: string;
|
|
152
|
+
}
|
|
153
|
+
declare class AmnexMaps implements AfterViewInit, OnChanges {
|
|
154
|
+
mapElement: ElementRef;
|
|
155
|
+
locations: MapLocaion[];
|
|
156
|
+
zoom: number;
|
|
157
|
+
height: string;
|
|
158
|
+
map: Map;
|
|
159
|
+
private vectorSource;
|
|
160
|
+
ngAfterViewInit(): void;
|
|
161
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
162
|
+
private initMap;
|
|
163
|
+
private updateMarkers;
|
|
164
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmnexMaps, never>;
|
|
165
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexMaps, "amnex-maps", never, { "locations": { "alias": "locations"; "required": true; }; "zoom": { "alias": "zoom"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, never, never, true, never>;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
declare class AMNEX_COMPONENTS {
|
|
169
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AMNEX_COMPONENTS, never>;
|
|
170
|
+
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]>;
|
|
171
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AMNEX_COMPONENTS>;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export { AMNEX_COMPONENTS, AmnexButton, AmnexFile, AmnexForm, AmnexH1, AmnexH2, AmnexH3, AmnexH4, AmnexH5, AmnexH6, AmnexInput, AmnexLabel, AmnexMap, AmnexMaps, AmnexP, AmnexRadio, AmnexSelect, AmnexTextarea };
|
|
175
|
+
export type { MapLocaion, MapLocation };
|