@smartnet360/svelte-components 0.0.108 → 0.0.110
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.
|
@@ -85,20 +85,14 @@
|
|
|
85
85
|
resizableColumns: resizableColumns,
|
|
86
86
|
movableColumns: movableColumns,
|
|
87
87
|
|
|
88
|
-
// No
|
|
89
|
-
initialSort: [
|
|
90
|
-
{ column: 'tech', dir: 'asc' },
|
|
91
|
-
{ column: 'fband', dir: 'asc' },
|
|
92
|
-
{ column: 'cellName', dir: 'asc' }
|
|
93
|
-
],
|
|
88
|
+
// No initialSort - data is pre-sorted by cellDataSorter (tech → fband → sector)
|
|
94
89
|
|
|
95
90
|
// Row selection
|
|
96
91
|
selectable: selectable ? (multiSelect ? true : 1) : false,
|
|
97
92
|
selectableRangeMode: 'click',
|
|
98
93
|
|
|
99
|
-
// Persistence
|
|
94
|
+
// Persistence - disable sort persistence to preserve pre-sorted order
|
|
100
95
|
persistence: persistLayout ? {
|
|
101
|
-
sort: true,
|
|
102
96
|
filter: true,
|
|
103
97
|
columns: ['width', 'visible'],
|
|
104
98
|
} : false,
|
|
@@ -7,6 +7,7 @@ import type { ColumnDefinition, CellComponent } from 'tabulator-tables';
|
|
|
7
7
|
import type { CellTableColumn, ColumnPreset, TechColorMap, StatusColorMap, ColumnGroups } from './types';
|
|
8
8
|
/**
|
|
9
9
|
* Default technology colors (Bootstrap-aligned)
|
|
10
|
+
* 2G: Yellow, 4G: Purple, 5G: Green
|
|
10
11
|
*/
|
|
11
12
|
export declare const DEFAULT_TECH_COLORS: TechColorMap;
|
|
12
13
|
/**
|
|
@@ -15,6 +16,9 @@ export declare const DEFAULT_TECH_COLORS: TechColorMap;
|
|
|
15
16
|
export declare const DEFAULT_STATUS_COLORS: StatusColorMap;
|
|
16
17
|
/**
|
|
17
18
|
* Frequency band colors
|
|
19
|
+
* GSM: Yellow shades (darker = higher freq)
|
|
20
|
+
* LTE: Purple shades (darker = higher freq)
|
|
21
|
+
* 5G: Green shades (stronger = higher freq)
|
|
18
22
|
*/
|
|
19
23
|
export declare const FBAND_COLORS: Record<string, string>;
|
|
20
24
|
/**
|
|
@@ -5,41 +5,49 @@
|
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* Default technology colors (Bootstrap-aligned)
|
|
8
|
+
* 2G: Yellow, 4G: Purple, 5G: Green
|
|
8
9
|
*/
|
|
9
10
|
export const DEFAULT_TECH_COLORS = {
|
|
10
|
-
'2G': '#
|
|
11
|
+
'2G': '#ffc107', // Yellow
|
|
11
12
|
'3G': '#0d6efd', // primary blue
|
|
12
|
-
'4G': '#
|
|
13
|
-
'5G': '#
|
|
14
|
-
'LTE': '#
|
|
15
|
-
'NR': '#
|
|
13
|
+
'4G': '#9333ea', // Purple
|
|
14
|
+
'5G': '#22c55e', // Green
|
|
15
|
+
'LTE': '#9333ea', // Purple (same as 4G)
|
|
16
|
+
'NR': '#22c55e', // Green (same as 5G)
|
|
16
17
|
};
|
|
17
18
|
/**
|
|
18
19
|
* Default status colors (Bootstrap-aligned)
|
|
19
20
|
*/
|
|
20
21
|
export const DEFAULT_STATUS_COLORS = {
|
|
21
22
|
'On_Air': '#198754', // success green
|
|
22
|
-
'On_Air_UNDER_CONSTRUCTION': '#
|
|
23
|
-
'On_Air_Locked': '#
|
|
24
|
-
'RF_Plan_Ready': '#
|
|
25
|
-
'Re-Planned_RF_Plan_Ready': '#
|
|
26
|
-
'Tavlati_RF_Plan_Ready': '#
|
|
23
|
+
'On_Air_UNDER_CONSTRUCTION': '#4ce207ff', // warning yellow
|
|
24
|
+
'On_Air_Locked': '#e04001ff', // info cyan
|
|
25
|
+
'RF_Plan_Ready': '#e69603ff', // primary blue
|
|
26
|
+
'Re-Planned_RF_Plan_Ready': '#c1a342ff', // purple
|
|
27
|
+
'Tavlati_RF_Plan_Ready': '#25ddfdff', // orange
|
|
27
28
|
};
|
|
28
29
|
/**
|
|
29
30
|
* Frequency band colors
|
|
31
|
+
* GSM: Yellow shades (darker = higher freq)
|
|
32
|
+
* LTE: Purple shades (darker = higher freq)
|
|
33
|
+
* 5G: Green shades (stronger = higher freq)
|
|
30
34
|
*/
|
|
31
35
|
export const FBAND_COLORS = {
|
|
32
|
-
|
|
33
|
-
'
|
|
34
|
-
'
|
|
35
|
-
|
|
36
|
-
'
|
|
37
|
-
'
|
|
38
|
-
'
|
|
39
|
-
'
|
|
40
|
-
'
|
|
41
|
-
'
|
|
42
|
-
|
|
36
|
+
// GSM - Yellow shades (900 lighter, 1800 darker)
|
|
37
|
+
'GSM900': '#ffc107', // Light yellow
|
|
38
|
+
'GSM1800': '#cc9a06', // Darker yellow/gold
|
|
39
|
+
// LTE - Purple shades (700 lightest → 2600 darkest)
|
|
40
|
+
'LTE700': '#d8b4fe', // Light purple
|
|
41
|
+
'LTE800': '#c084fc', //
|
|
42
|
+
'LTE900': '#a855f7', //
|
|
43
|
+
'LTE1800': '#9333ea', //
|
|
44
|
+
'LTE2100': '#7e22ce', //
|
|
45
|
+
'LTE2600': '#6b21a8', // Dark purple
|
|
46
|
+
// 5G - Green shades (700 lighter → 3500 stronger)
|
|
47
|
+
'5G-700': '#86efac', // Light green
|
|
48
|
+
'5G-2100': '#22c55e', // Medium green
|
|
49
|
+
'5G-3500': '#15803d', // Strong/dark green
|
|
50
|
+
'NR3500': '#15803d', // Same as 5G-3500
|
|
43
51
|
};
|
|
44
52
|
/**
|
|
45
53
|
* Column groups for different presets
|