@smartnet360/svelte-components 0.0.104 → 0.0.105

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,145 @@
1
+ <script lang="ts">
2
+ import CellTablePanel from './CellTablePanel.svelte';
3
+ import type { CellTableGroupField, ColumnPreset, RowClickEvent, RowSelectionEvent, CellData } from './types';
4
+ import { demoCells } from './demo-data';
5
+
6
+ let groupBy: CellTableGroupField = $state('none');
7
+ let columnPreset: ColumnPreset = $state('default');
8
+ let lastClickedCell: CellData | null = $state(null);
9
+ let selectedIds: string[] = $state([]);
10
+
11
+ function handleRowClick(event: RowClickEvent) {
12
+ lastClickedCell = event.row;
13
+ console.log('Row clicked:', event.row);
14
+ }
15
+
16
+ function handleSelectionChange(event: RowSelectionEvent) {
17
+ selectedIds = event.ids;
18
+ console.log('Selection changed:', event.ids);
19
+ }
20
+ </script>
21
+
22
+ <div class="cell-table-demo container-fluid py-3">
23
+ <div class="row mb-3">
24
+ <div class="col">
25
+ <h2 class="d-flex align-items-center gap-2">
26
+ <i class="bi bi-table text-primary"></i>
27
+ CellTable Component Demo
28
+ </h2>
29
+ <p class="text-muted">
30
+ A Bootstrap-themed Tabulator wrapper for displaying cell data with grouping, filtering, and export capabilities.
31
+ </p>
32
+ </div>
33
+ </div>
34
+
35
+ <div class="row" style="height: calc(100vh - 200px);">
36
+ <div class="col-12 col-lg-9 h-100">
37
+ <CellTablePanel
38
+ cells={demoCells}
39
+ bind:groupBy
40
+ bind:columnPreset
41
+ selectable={true}
42
+ multiSelect={true}
43
+ title="Cell Data Table"
44
+ showToolbar={true}
45
+ showExport={true}
46
+ headerFilters={true}
47
+ onrowclick={handleRowClick}
48
+ onselectionchange={handleSelectionChange}
49
+ >
50
+ {#snippet footer({ selectedRows, selectedCount })}
51
+ <div class="d-flex align-items-center justify-content-between">
52
+ <span class="text-muted small">
53
+ {#if selectedCount > 0}
54
+ {selectedCount} cell(s) selected
55
+ {:else}
56
+ Click rows to select
57
+ {/if}
58
+ </span>
59
+ <div class="btn-group">
60
+ <button
61
+ type="button"
62
+ class="btn btn-sm btn-outline-primary"
63
+ disabled={selectedCount === 0}
64
+ onclick={() => console.log('Process:', selectedRows.map(r => r.id))}
65
+ >
66
+ <i class="bi bi-gear"></i> Process Selected
67
+ </button>
68
+ <button
69
+ type="button"
70
+ class="btn btn-sm btn-outline-secondary"
71
+ disabled={selectedCount === 0}
72
+ onclick={() => console.log('View:', selectedRows.map(r => r.id))}
73
+ >
74
+ <i class="bi bi-eye"></i> View Details
75
+ </button>
76
+ </div>
77
+ </div>
78
+ {/snippet}
79
+ </CellTablePanel>
80
+ </div>
81
+
82
+ <div class="col-12 col-lg-3 h-100 overflow-auto">
83
+ <div class="card h-100">
84
+ <div class="card-header">
85
+ <h6 class="mb-0">
86
+ <i class="bi bi-info-circle"></i> Cell Details
87
+ </h6>
88
+ </div>
89
+ <div class="card-body">
90
+ {#if lastClickedCell}
91
+ <dl class="row mb-0 small">
92
+ <dt class="col-5">ID</dt>
93
+ <dd class="col-7"><code>{lastClickedCell.id}</code></dd>
94
+
95
+ <dt class="col-5">Cell Name</dt>
96
+ <dd class="col-7">{lastClickedCell.cellName}</dd>
97
+
98
+ <dt class="col-5">Site</dt>
99
+ <dd class="col-7">{lastClickedCell.siteId}</dd>
100
+
101
+ <dt class="col-5">Technology</dt>
102
+ <dd class="col-7">
103
+ <span class="badge bg-secondary">{lastClickedCell.tech}</span>
104
+ </dd>
105
+
106
+ <dt class="col-5">Band</dt>
107
+ <dd class="col-7">
108
+ <span class="badge bg-info">{lastClickedCell.fband}</span>
109
+ </dd>
110
+
111
+ <dt class="col-5">Status</dt>
112
+ <dd class="col-7">
113
+ <span class="badge bg-success">{lastClickedCell.status.replace(/_/g, ' ')}</span>
114
+ </dd>
115
+
116
+ <dt class="col-5">Azimuth</dt>
117
+ <dd class="col-7">{lastClickedCell.azimuth}°</dd>
118
+
119
+ <dt class="col-5">Height</dt>
120
+ <dd class="col-7">{lastClickedCell.height}m</dd>
121
+
122
+ <dt class="col-5">Antenna</dt>
123
+ <dd class="col-7 text-truncate" title={lastClickedCell.antenna}>
124
+ {lastClickedCell.antenna}
125
+ </dd>
126
+
127
+ <dt class="col-5">Planner</dt>
128
+ <dd class="col-7">{lastClickedCell.planner}</dd>
129
+
130
+ {#if lastClickedCell.comment}
131
+ <dt class="col-5">Comment</dt>
132
+ <dd class="col-7 text-muted">{lastClickedCell.comment}</dd>
133
+ {/if}
134
+ </dl>
135
+ {:else}
136
+ <p class="text-muted text-center">
137
+ <i class="bi bi-hand-index"></i><br>
138
+ Click a row to see details
139
+ </p>
140
+ {/if}
141
+ </div>
142
+ </div>
143
+ </div>
144
+ </div>
145
+ </div>
@@ -0,0 +1,3 @@
1
+ declare const CellTableDemo: import("svelte").Component<Record<string, never>, {}, "">;
2
+ type CellTableDemo = ReturnType<typeof CellTableDemo>;
3
+ export default CellTableDemo;
@@ -0,0 +1,5 @@
1
+ import type { CellData } from './types';
2
+ /**
3
+ * Demo cell data for testing the CellTable component
4
+ */
5
+ export declare const demoCells: CellData[];
@@ -0,0 +1,501 @@
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
+ ];
@@ -6,5 +6,7 @@
6
6
  export { default as CellTable } from './CellTable.svelte';
7
7
  export { default as CellTableToolbar } from './CellTableToolbar.svelte';
8
8
  export { default as CellTablePanel } from './CellTablePanel.svelte';
9
+ export { default as CellTableDemo } from './CellTableDemo.svelte';
10
+ export { demoCells } from './demo-data';
9
11
  export type { CellData, CellTableGroupField, ColumnPreset, ColumnVisibility, TechColorMap, StatusColorMap, CellTableProps, RowSelectionEvent, RowClickEvent, RowDblClickEvent, DataChangeEvent, CellTableColumn, ColumnGroups } from './types';
10
12
  export { DEFAULT_TECH_COLORS, DEFAULT_STATUS_COLORS, FBAND_COLORS, COLUMN_GROUPS, getAllColumns, getColumnsForPreset, getGroupHeaderFormatter, createTechFormatter, createStatusFormatter, createFbandFormatter, numberFormatter, coordinateFormatter, azimuthFormatter, heightFormatter } from './column-config';
@@ -7,5 +7,8 @@
7
7
  export { default as CellTable } from './CellTable.svelte';
8
8
  export { default as CellTableToolbar } from './CellTableToolbar.svelte';
9
9
  export { default as CellTablePanel } from './CellTablePanel.svelte';
10
+ export { default as CellTableDemo } from './CellTableDemo.svelte';
11
+ // Demo data
12
+ export { demoCells } from './demo-data';
10
13
  // Configuration utilities
11
14
  export { DEFAULT_TECH_COLORS, DEFAULT_STATUS_COLORS, FBAND_COLORS, COLUMN_GROUPS, getAllColumns, getColumnsForPreset, getGroupHeaderFormatter, createTechFormatter, createStatusFormatter, createFbandFormatter, numberFormatter, coordinateFormatter, azimuthFormatter, heightFormatter } from './column-config';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartnet360/svelte-components",
3
- "version": "0.0.104",
3
+ "version": "0.0.105",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",