@smartnet360/svelte-components 0.0.114 → 0.0.115

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.
@@ -55,7 +55,7 @@ export const FBAND_COLORS = {
55
55
  export const COLUMN_GROUPS = {
56
56
  core: ['siteId', 'txId', 'cellName', 'tech', 'fband', 'status'],
57
57
  physical: ['antenna', 'azimuth', 'height', 'electricalTilt', 'beamwidth'],
58
- network: ['dlEarfn', 'bcch', 'pci1', 'cellId3', 'nwtET', 'nwtPW', 'nwtRS', 'nwtBW'],
58
+ network: ['dlEarfn', 'bcch', 'pci1', 'cellId3', 'nwET', 'nwPW', 'nwRS', 'nwBW'],
59
59
  planning: ['planner', 'comment', 'onAirDate', 'type'],
60
60
  atoll: ['atollET', 'atollPW', 'atollRS', 'atollBW'],
61
61
  position: ['latitude', 'longitude', 'siteLatitude', 'siteLongitude', 'dx', 'dy'],
@@ -363,28 +363,28 @@ export function getAllColumns(techColors = DEFAULT_TECH_COLORS, statusColors = D
363
363
  },
364
364
  {
365
365
  title: 'NWT P1',
366
- field: 'nwtP1',
366
+ field: 'nwP1',
367
367
  width: 80,
368
368
  hozAlign: 'right',
369
369
  ...headerFilterParams,
370
370
  },
371
371
  {
372
372
  title: 'NWT P2',
373
- field: 'nwtP2',
373
+ field: 'nwP2',
374
374
  width: 80,
375
375
  hozAlign: 'right',
376
376
  ...headerFilterParams,
377
377
  },
378
378
  {
379
- title: 'NWT RS',
380
- field: 'nwtRS',
379
+ title: 'NW RS',
380
+ field: 'nwRS',
381
381
  width: 80,
382
382
  hozAlign: 'right',
383
383
  ...headerFilterParams,
384
384
  },
385
385
  {
386
- title: 'NWT BW',
387
- field: 'nwtBW',
386
+ title: 'NW BW',
387
+ field: 'nwBW',
388
388
  width: 80,
389
389
  hozAlign: 'right',
390
390
  ...headerFilterParams,
@@ -428,7 +428,7 @@ export function getAllColumns(techColors = DEFAULT_TECH_COLORS, statusColors = D
428
428
  field: 'compareET',
429
429
  width: 110,
430
430
  hozAlign: 'center',
431
- formatter: createCompareFormatter('atollET', 'nwtET'),
431
+ formatter: createCompareFormatter('atollET', 'nwET'),
432
432
  headerTooltip: 'Atoll ET | Network ET',
433
433
  },
434
434
  {
@@ -436,7 +436,7 @@ export function getAllColumns(techColors = DEFAULT_TECH_COLORS, statusColors = D
436
436
  field: 'comparePW',
437
437
  width: 110,
438
438
  hozAlign: 'center',
439
- formatter: createCompareFormatter('atollPW', 'nwtPW'),
439
+ formatter: createCompareFormatter('atollPW', 'nwPW'),
440
440
  headerTooltip: 'Atoll PW | Network PW',
441
441
  },
442
442
  {
@@ -444,7 +444,7 @@ export function getAllColumns(techColors = DEFAULT_TECH_COLORS, statusColors = D
444
444
  field: 'compareRS',
445
445
  width: 110,
446
446
  hozAlign: 'center',
447
- formatter: createCompareFormatter('atollRS', 'nwtRS'),
447
+ formatter: createCompareFormatter('atollRS', 'nwRS'),
448
448
  headerTooltip: 'Atoll RS | Network RS',
449
449
  },
450
450
  {
@@ -452,7 +452,7 @@ export function getAllColumns(techColors = DEFAULT_TECH_COLORS, statusColors = D
452
452
  field: 'compareBW',
453
453
  width: 110,
454
454
  hozAlign: 'center',
455
- formatter: createCompareFormatter('atollBW', 'nwtBW'),
455
+ formatter: createCompareFormatter('atollBW', 'nwBW'),
456
456
  headerTooltip: 'Atoll BW | Network BW',
457
457
  },
458
458
  // Position columns
@@ -607,10 +607,10 @@ export function getColumnMetadata() {
607
607
  { field: 'cellID', title: 'Cell ID', group: 'Network' },
608
608
  { field: 'cellId2G', title: 'Cell ID 2G', group: 'Network' },
609
609
  { field: 'ctrlid', title: 'Ctrl ID', group: 'Network' },
610
- { field: 'nwtET', title: 'NWT ET', group: 'Network' },
611
- { field: 'nwtPW', title: 'NWT PW', group: 'Network' },
612
- { field: 'nwtRS', title: 'NWT RS', group: 'Network' },
613
- { field: 'nwtBW', title: 'NWT BW', group: 'Network' },
610
+ { field: 'nwET', title: 'NW ET', group: 'Network' },
611
+ { field: 'nwPW', title: 'NW PW', group: 'Network' },
612
+ { field: 'nwRS', title: 'NW RS', group: 'Network' },
613
+ { field: 'nwBW', title: 'NW BW', group: 'Network' },
614
614
  // Atoll
615
615
  { field: 'atollET', title: 'Atoll ET', group: 'Atoll' },
616
616
  { field: 'atollPW', title: 'Atoll PW', group: 'Atoll' },
@@ -116,8 +116,8 @@ export class SiteStore {
116
116
  availableTilts: ['0']
117
117
  };
118
118
  }
119
- // Determine TX power (priority: atollPW > nwtPW > default)
120
- const txPower = cell.atollPW || cell.nwtPW || 43; // Default to 43 dBm (20W)
119
+ // Determine TX power (priority: atollPW > nwPW > default)
120
+ const txPower = cell.atollPW || cell.nwPW || 43; // Default to 43 dBm (20W)
121
121
  // Determine frequency from band
122
122
  const frequency = antennaPattern.frequency || this.parseFrequency(cell.fband);
123
123
  // Get mechanical tilt (might need to parse from string)
@@ -195,11 +195,11 @@ for (let attempt = 0; attempt < NUM_SITES * 3 && actualSiteIndex < NUM_SITES; at
195
195
  atollBW: parseFloat(techBand.band) / 100, // Simplified bandwidth
196
196
  // Network properties
197
197
  cellId3: `${cellId}-3G`,
198
- nwtP1: 20,
199
- nwtP2: 40,
198
+ nwP1: 20,
199
+ nwP2: 40,
200
200
  pci1: (cellCounter % 504), // Physical Cell ID for LTE
201
- nwtRS: 450.0,
202
- nwtBW: 10.0,
201
+ nwRS: 450.0,
202
+ nwBW: 10.0,
203
203
  // Other
204
204
  other: {
205
205
  demoCell: true,
@@ -40,11 +40,11 @@ export interface Cell {
40
40
  atollRS: number;
41
41
  atollBW: number;
42
42
  cellId3: string;
43
- nwtP1: number;
44
- nwtP2: number;
43
+ nwP1: number;
44
+ nwP2: number;
45
45
  pci1: number;
46
- nwtRS: number;
47
- nwtBW: number;
46
+ nwRS: number;
47
+ nwBW: number;
48
48
  other?: Record<string, any>;
49
49
  customSubgroup: string;
50
50
  }
@@ -206,11 +206,11 @@ export function generateCells(config) {
206
206
  atollRS: 500.0 + (techBand.band === '700' ? 200 : 0),
207
207
  atollBW: parseFloat(techBand.band) / 100,
208
208
  rru: `RRU-${siteId}-${sector.sectorNum}`,
209
- nwtET: 40.0,
210
- nwtPW: 20,
209
+ nwET: 40.0,
210
+ nwPW: 20,
211
211
  pci: cellCounter % 504,
212
- nwtRS: 450.0,
213
- nwtBW: 10.0,
212
+ nwRS: 450.0,
213
+ nwBW: 10.0,
214
214
  other: {
215
215
  city: ['Tehran', 'Shiraz', 'Isfahan', 'Mashhad', 'Tabriz'][siteNum % 5],
216
216
  bcc: bandIndex % 8,
@@ -39,10 +39,10 @@ export interface Cell {
39
39
  atollPW?: number;
40
40
  atollRS?: number;
41
41
  atollBW?: number;
42
- nwtET?: number;
43
- nwtPW?: number;
44
- nwtRS?: number;
45
- nwtBW?: number;
42
+ nwET?: number;
43
+ nwPW?: number;
44
+ nwRS?: number;
45
+ nwBW?: number;
46
46
  pci?: number;
47
47
  rru: string;
48
48
  other?: Record<string, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartnet360/svelte-components",
3
- "version": "0.0.114",
3
+ "version": "0.0.115",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",