@smartnet360/svelte-components 0.0.105 → 0.0.107

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.
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Shared Demo Data - Cell Types
3
+ *
4
+ * Core cell interface used across all components
5
+ */
6
+ /**
7
+ * Cell data model - represents a radio cell/sector
8
+ */
9
+ export interface Cell {
10
+ id: string;
11
+ txId: string;
12
+ cellID: string;
13
+ cellId2G: string;
14
+ cellName: string;
15
+ siteId: string;
16
+ tech: string;
17
+ fband: string;
18
+ frq: string;
19
+ type: string;
20
+ status: string;
21
+ onAirDate: string;
22
+ bcch: number;
23
+ ctrlid: string;
24
+ dlEarfn: number;
25
+ antenna: string;
26
+ azimuth: number;
27
+ height: number;
28
+ electricalTilt: string;
29
+ beamwidth: number;
30
+ latitude: number;
31
+ longitude: number;
32
+ dx: number;
33
+ dy: number;
34
+ siteLatitude: number;
35
+ siteLongitude: number;
36
+ comment: string;
37
+ planner: string;
38
+ atollET?: number;
39
+ atollPW?: number;
40
+ atollRS?: number;
41
+ atollBW?: number;
42
+ rru: string;
43
+ nwtET?: number;
44
+ nwtPW?: number;
45
+ pci?: number;
46
+ nwtRS?: number;
47
+ nwtBW?: number;
48
+ other?: Record<string, unknown>;
49
+ customSubgroup: string;
50
+ }
51
+ /**
52
+ * Supported cell sector status values
53
+ */
54
+ export type CellStatus = 'On_Air' | 'On_Air_UNDER_CONSTRUCTION' | 'On_Air_Locked' | 'RF_Plan_Ready' | 'Re-Planned_RF_Plan_Ready' | 'Tavlati_RF_Plan_Ready';
55
+ /**
56
+ * Technology-Band combination key
57
+ */
58
+ export type TechnologyBandKey = string;
59
+ /**
60
+ * Grouping fields for views
61
+ */
62
+ export type CellGroupingField = 'tech' | 'fband' | 'frq' | 'status' | 'siteId' | 'none';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Shared Demo Data - Cell Types
3
+ *
4
+ * Core cell interface used across all components
5
+ */
6
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Shared Demo Data Module
3
+ *
4
+ * Provides common demo data generators and types for use across components.
5
+ */
6
+ export type { Cell, CellStatus, CellGroupingField } from './cell-types';
7
+ export { generateCells, generateCellsFromPreset, getGeneratorInfo, GENERATOR_PRESETS, type CellGeneratorConfig, type GeneratorPreset } from './cell-generator';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Shared Demo Data Module
3
+ *
4
+ * Provides common demo data generators and types for use across components.
5
+ */
6
+ // Generator
7
+ export { generateCells, generateCellsFromPreset, getGeneratorInfo, GENERATOR_PRESETS } from './cell-generator';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartnet360/svelte-components",
3
- "version": "0.0.105",
3
+ "version": "0.0.107",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",
@@ -1,5 +0,0 @@
1
- import type { CellData } from './types';
2
- /**
3
- * Demo cell data for testing the CellTable component
4
- */
5
- export declare const demoCells: CellData[];
@@ -1,501 +0,0 @@
1
- /**
2
- * Demo cell data for testing the CellTable component
3
- */
4
- export const demoCells = [
5
- // Site 1 - Mixed technologies
6
- {
7
- id: 'CELL001',
8
- txId: 'TX001',
9
- cellID: 'C001',
10
- cellID2G: '',
11
- cellName: 'Site1_LTE700_S1',
12
- siteId: 'SITE001',
13
- tech: '4G',
14
- fband: 'LTE700',
15
- frq: '700',
16
- type: 'Macro',
17
- status: 'On_Air',
18
- onAirDate: '2023-01-15',
19
- bcch: 0,
20
- ctrlid: '',
21
- dlEarfn: 3350,
22
- antenna: 'Kathrein 80010541',
23
- azimuth: 0,
24
- height: 35,
25
- electricalTilt: '4',
26
- beamwidth: 65,
27
- latitude: 47.4979,
28
- longitude: 19.0402,
29
- dx: 0,
30
- dy: 0,
31
- siteLatitude: 47.4979,
32
- siteLongitude: 19.0402,
33
- comment: 'Coverage optimization completed',
34
- planner: 'John Smith',
35
- atollETP: 46.5,
36
- atollPW: 40,
37
- atollRS: 15,
38
- atollBW: 10,
39
- cellId3: 'C001-3',
40
- nwtP1: 20,
41
- nwtP2: 20,
42
- pci1: 150,
43
- nwtRS: 15,
44
- nwtBW: 10,
45
- customSubgroup: 'Urban'
46
- },
47
- {
48
- id: 'CELL002',
49
- txId: 'TX002',
50
- cellID: 'C002',
51
- cellID2G: '',
52
- cellName: 'Site1_LTE700_S2',
53
- siteId: 'SITE001',
54
- tech: '4G',
55
- fband: 'LTE700',
56
- frq: '700',
57
- type: 'Macro',
58
- status: 'On_Air',
59
- onAirDate: '2023-01-15',
60
- bcch: 0,
61
- ctrlid: '',
62
- dlEarfn: 3350,
63
- antenna: 'Kathrein 80010541',
64
- azimuth: 120,
65
- height: 35,
66
- electricalTilt: '4',
67
- beamwidth: 65,
68
- latitude: 47.4979,
69
- longitude: 19.0402,
70
- dx: 0,
71
- dy: 0,
72
- siteLatitude: 47.4979,
73
- siteLongitude: 19.0402,
74
- comment: '',
75
- planner: 'John Smith',
76
- atollETP: 46.5,
77
- atollPW: 40,
78
- atollRS: 15,
79
- atollBW: 10,
80
- cellId3: 'C002-3',
81
- nwtP1: 20,
82
- nwtP2: 20,
83
- pci1: 151,
84
- nwtRS: 15,
85
- nwtBW: 10,
86
- customSubgroup: 'Urban'
87
- },
88
- {
89
- id: 'CELL003',
90
- txId: 'TX003',
91
- cellID: 'C003',
92
- cellID2G: '',
93
- cellName: 'Site1_LTE700_S3',
94
- siteId: 'SITE001',
95
- tech: '4G',
96
- fband: 'LTE700',
97
- frq: '700',
98
- type: 'Macro',
99
- status: 'On_Air',
100
- onAirDate: '2023-01-15',
101
- bcch: 0,
102
- ctrlid: '',
103
- dlEarfn: 3350,
104
- antenna: 'Kathrein 80010541',
105
- azimuth: 240,
106
- height: 35,
107
- electricalTilt: '4',
108
- beamwidth: 65,
109
- latitude: 47.4979,
110
- longitude: 19.0402,
111
- dx: 0,
112
- dy: 0,
113
- siteLatitude: 47.4979,
114
- siteLongitude: 19.0402,
115
- comment: '',
116
- planner: 'John Smith',
117
- atollETP: 46.5,
118
- atollPW: 40,
119
- atollRS: 15,
120
- atollBW: 10,
121
- cellId3: 'C003-3',
122
- nwtP1: 20,
123
- nwtP2: 20,
124
- pci1: 152,
125
- nwtRS: 15,
126
- nwtBW: 10,
127
- customSubgroup: 'Urban'
128
- },
129
- {
130
- id: 'CELL004',
131
- txId: 'TX004',
132
- cellID: 'C004',
133
- cellID2G: '',
134
- cellName: 'Site1_LTE1800_S1',
135
- siteId: 'SITE001',
136
- tech: '4G',
137
- fband: 'LTE1800',
138
- frq: '1800',
139
- type: 'Macro',
140
- status: 'On_Air',
141
- onAirDate: '2022-06-20',
142
- bcch: 0,
143
- ctrlid: '',
144
- dlEarfn: 1650,
145
- antenna: 'Kathrein 80010541',
146
- azimuth: 0,
147
- height: 35,
148
- electricalTilt: '6',
149
- beamwidth: 65,
150
- latitude: 47.4979,
151
- longitude: 19.0402,
152
- dx: 0,
153
- dy: 0,
154
- siteLatitude: 47.4979,
155
- siteLongitude: 19.0402,
156
- comment: 'High capacity layer',
157
- planner: 'Jane Doe',
158
- atollETP: 43.2,
159
- atollPW: 40,
160
- atollRS: 15,
161
- atollBW: 20,
162
- cellId3: 'C004-3',
163
- nwtP1: 20,
164
- nwtP2: 20,
165
- pci1: 200,
166
- nwtRS: 15,
167
- nwtBW: 20,
168
- customSubgroup: 'Urban'
169
- },
170
- {
171
- id: 'CELL005',
172
- txId: 'TX005',
173
- cellID: 'C005',
174
- cellID2G: '',
175
- cellName: 'Site1_5G3500_S1',
176
- siteId: 'SITE001',
177
- tech: '5G',
178
- fband: '5G-3500',
179
- frq: '3500',
180
- type: 'Macro',
181
- status: 'On_Air_UNDER_CONSTRUCTION',
182
- onAirDate: '2024-03-01',
183
- bcch: 0,
184
- ctrlid: '',
185
- dlEarfn: 0,
186
- antenna: 'Ericsson AIR 6449',
187
- azimuth: 0,
188
- height: 35,
189
- electricalTilt: '0',
190
- beamwidth: 90,
191
- latitude: 47.4979,
192
- longitude: 19.0402,
193
- dx: 0,
194
- dy: 0,
195
- siteLatitude: 47.4979,
196
- siteLongitude: 19.0402,
197
- comment: '5G deployment in progress',
198
- planner: 'Mike Johnson',
199
- atollETP: 49.0,
200
- atollPW: 200,
201
- atollRS: 0,
202
- atollBW: 100,
203
- cellId3: 'C005-3',
204
- nwtP1: 200,
205
- nwtP2: 0,
206
- pci1: 500,
207
- nwtRS: 0,
208
- nwtBW: 100,
209
- customSubgroup: 'Urban'
210
- },
211
- // Site 2 - GSM/LTE
212
- {
213
- id: 'CELL006',
214
- txId: 'TX006',
215
- cellID: 'C006',
216
- cellID2G: '2G006',
217
- cellName: 'Site2_GSM900_S1',
218
- siteId: 'SITE002',
219
- tech: '2G',
220
- fband: 'GSM900',
221
- frq: '900',
222
- type: 'Macro',
223
- status: 'On_Air',
224
- onAirDate: '2005-11-10',
225
- bcch: 50,
226
- ctrlid: 'BSC01',
227
- dlEarfn: 0,
228
- antenna: 'Kathrein 742265',
229
- azimuth: 30,
230
- height: 40,
231
- electricalTilt: '2',
232
- beamwidth: 65,
233
- latitude: 47.5012,
234
- longitude: 19.0455,
235
- dx: 0,
236
- dy: 0,
237
- siteLatitude: 47.5012,
238
- siteLongitude: 19.0455,
239
- comment: 'Legacy site',
240
- planner: 'Legacy',
241
- atollETP: 44.0,
242
- atollPW: 45,
243
- atollRS: 0,
244
- atollBW: 0.2,
245
- cellId3: 'C006-3',
246
- nwtP1: 45,
247
- nwtP2: 0,
248
- pci1: 0,
249
- nwtRS: 0,
250
- nwtBW: 0,
251
- customSubgroup: 'Suburban'
252
- },
253
- {
254
- id: 'CELL007',
255
- txId: 'TX007',
256
- cellID: 'C007',
257
- cellID2G: '2G007',
258
- cellName: 'Site2_GSM900_S2',
259
- siteId: 'SITE002',
260
- tech: '2G',
261
- fband: 'GSM900',
262
- frq: '900',
263
- type: 'Macro',
264
- status: 'On_Air',
265
- onAirDate: '2005-11-10',
266
- bcch: 51,
267
- ctrlid: 'BSC01',
268
- dlEarfn: 0,
269
- antenna: 'Kathrein 742265',
270
- azimuth: 150,
271
- height: 40,
272
- electricalTilt: '2',
273
- beamwidth: 65,
274
- latitude: 47.5012,
275
- longitude: 19.0455,
276
- dx: 0,
277
- dy: 0,
278
- siteLatitude: 47.5012,
279
- siteLongitude: 19.0455,
280
- comment: 'Legacy site',
281
- planner: 'Legacy',
282
- atollETP: 44.0,
283
- atollPW: 45,
284
- atollRS: 0,
285
- atollBW: 0.2,
286
- cellId3: 'C007-3',
287
- nwtP1: 45,
288
- nwtP2: 0,
289
- pci1: 0,
290
- nwtRS: 0,
291
- nwtBW: 0,
292
- customSubgroup: 'Suburban'
293
- },
294
- {
295
- id: 'CELL008',
296
- txId: 'TX008',
297
- cellID: 'C008',
298
- cellID2G: '',
299
- cellName: 'Site2_LTE2100_S1',
300
- siteId: 'SITE002',
301
- tech: '4G',
302
- fband: 'LTE2100',
303
- frq: '2100',
304
- type: 'Macro',
305
- status: 'RF_Plan_Ready',
306
- onAirDate: '',
307
- bcch: 0,
308
- ctrlid: '',
309
- dlEarfn: 100,
310
- antenna: 'Kathrein 80010623',
311
- azimuth: 30,
312
- height: 40,
313
- electricalTilt: '4',
314
- beamwidth: 65,
315
- latitude: 47.5012,
316
- longitude: 19.0455,
317
- dx: 0,
318
- dy: 0,
319
- siteLatitude: 47.5012,
320
- siteLongitude: 19.0455,
321
- comment: 'Awaiting installation',
322
- planner: 'Sarah Connor',
323
- atollETP: 46.0,
324
- atollPW: 40,
325
- atollRS: 15,
326
- atollBW: 15,
327
- cellId3: 'C008-3',
328
- nwtP1: 20,
329
- nwtP2: 20,
330
- pci1: 300,
331
- nwtRS: 15,
332
- nwtBW: 15,
333
- customSubgroup: 'Suburban'
334
- },
335
- // Site 3 - Planned site
336
- {
337
- id: 'CELL009',
338
- txId: 'TX009',
339
- cellID: 'C009',
340
- cellID2G: '',
341
- cellName: 'Site3_LTE700_S1',
342
- siteId: 'SITE003',
343
- tech: '4G',
344
- fband: 'LTE700',
345
- frq: '700',
346
- type: 'Macro',
347
- status: 'Re-Planned_RF_Plan_Ready',
348
- onAirDate: '',
349
- bcch: 0,
350
- ctrlid: '',
351
- dlEarfn: 3350,
352
- antenna: 'CommScope NNVV-65B-R6',
353
- azimuth: 45,
354
- height: 30,
355
- electricalTilt: '3',
356
- beamwidth: 65,
357
- latitude: 47.4950,
358
- longitude: 19.0380,
359
- dx: 0,
360
- dy: 0,
361
- siteLatitude: 47.4950,
362
- siteLongitude: 19.0380,
363
- comment: 'Re-planned for better coverage',
364
- planner: 'Tom Wilson',
365
- atollETP: 47.0,
366
- atollPW: 40,
367
- atollRS: 15,
368
- atollBW: 10,
369
- cellId3: 'C009-3',
370
- nwtP1: 20,
371
- nwtP2: 20,
372
- pci1: 450,
373
- nwtRS: 15,
374
- nwtBW: 10,
375
- customSubgroup: 'Rural'
376
- },
377
- {
378
- id: 'CELL010',
379
- txId: 'TX010',
380
- cellID: 'C010',
381
- cellID2G: '',
382
- cellName: 'Site3_LTE700_S2',
383
- siteId: 'SITE003',
384
- tech: '4G',
385
- fband: 'LTE700',
386
- frq: '700',
387
- type: 'Macro',
388
- status: 'Re-Planned_RF_Plan_Ready',
389
- onAirDate: '',
390
- bcch: 0,
391
- ctrlid: '',
392
- dlEarfn: 3350,
393
- antenna: 'CommScope NNVV-65B-R6',
394
- azimuth: 165,
395
- height: 30,
396
- electricalTilt: '3',
397
- beamwidth: 65,
398
- latitude: 47.4950,
399
- longitude: 19.0380,
400
- dx: 0,
401
- dy: 0,
402
- siteLatitude: 47.4950,
403
- siteLongitude: 19.0380,
404
- comment: 'Re-planned for better coverage',
405
- planner: 'Tom Wilson',
406
- atollETP: 47.0,
407
- atollPW: 40,
408
- atollRS: 15,
409
- atollBW: 10,
410
- cellId3: 'C010-3',
411
- nwtP1: 20,
412
- nwtP2: 20,
413
- pci1: 451,
414
- nwtRS: 15,
415
- nwtBW: 10,
416
- customSubgroup: 'Rural'
417
- },
418
- {
419
- id: 'CELL011',
420
- txId: 'TX011',
421
- cellID: 'C011',
422
- cellID2G: '',
423
- cellName: 'Site3_5G3500_S1',
424
- siteId: 'SITE003',
425
- tech: '5G',
426
- fband: '5G-3500',
427
- frq: '3500',
428
- type: 'Macro',
429
- status: 'Tavlati_RF_Plan_Ready',
430
- onAirDate: '',
431
- bcch: 0,
432
- ctrlid: '',
433
- dlEarfn: 0,
434
- antenna: 'Ericsson AIR 6449',
435
- azimuth: 45,
436
- height: 30,
437
- electricalTilt: '0',
438
- beamwidth: 90,
439
- latitude: 47.4950,
440
- longitude: 19.0380,
441
- dx: 0,
442
- dy: 0,
443
- siteLatitude: 47.4950,
444
- siteLongitude: 19.0380,
445
- comment: 'Future 5G deployment',
446
- planner: 'Tom Wilson',
447
- atollETP: 49.0,
448
- atollPW: 200,
449
- atollRS: 0,
450
- atollBW: 100,
451
- cellId3: 'C011-3',
452
- nwtP1: 200,
453
- nwtP2: 0,
454
- pci1: 600,
455
- nwtRS: 0,
456
- nwtBW: 100,
457
- customSubgroup: 'Rural'
458
- },
459
- // Site 4 - Locked site
460
- {
461
- id: 'CELL012',
462
- txId: 'TX012',
463
- cellID: 'C012',
464
- cellID2G: '',
465
- cellName: 'Site4_LTE2600_S1',
466
- siteId: 'SITE004',
467
- tech: '4G',
468
- fband: 'LTE2600',
469
- frq: '2600',
470
- type: 'Small Cell',
471
- status: 'On_Air_Locked',
472
- onAirDate: '2021-09-15',
473
- bcch: 0,
474
- ctrlid: '',
475
- dlEarfn: 3100,
476
- antenna: 'Integrated',
477
- azimuth: 0,
478
- height: 12,
479
- electricalTilt: '8',
480
- beamwidth: 90,
481
- latitude: 47.5000,
482
- longitude: 19.0420,
483
- dx: 0,
484
- dy: 0,
485
- siteLatitude: 47.5000,
486
- siteLongitude: 19.0420,
487
- comment: 'Indoor DAS - Locked',
488
- planner: 'Amy Chen',
489
- atollETP: 30.0,
490
- atollPW: 10,
491
- atollRS: 15,
492
- atollBW: 20,
493
- cellId3: 'C012-3',
494
- nwtP1: 10,
495
- nwtP2: 0,
496
- pci1: 350,
497
- nwtRS: 15,
498
- nwtBW: 20,
499
- customSubgroup: 'Indoor'
500
- }
501
- ];