uilint-react 0.2.121 → 0.2.122
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/dist/core/store/core-slice.d.ts +1 -22
- package/dist/core/store/core-slice.d.ts.map +1 -1
- package/dist/core/store/drag-slice.d.ts +1 -1
- package/dist/core/store/drag-slice.d.ts.map +1 -1
- package/dist/core/store/file-groups-selector.d.ts +23 -15
- package/dist/core/store/file-groups-selector.d.ts.map +1 -1
- package/dist/core/store/heatmap-selectors.d.ts +18 -23
- package/dist/core/store/heatmap-selectors.d.ts.map +1 -1
- package/dist/core/store/index.d.ts +6 -3
- package/dist/core/store/index.d.ts.map +1 -1
- package/dist/core/store/tile-selectors.d.ts +0 -4
- package/dist/core/store/tile-selectors.d.ts.map +1 -1
- package/dist/devtools.js +85 -85
- package/dist/devtools.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6953 -7411
- package/dist/index.js.map +1 -1
- package/dist/ui/UILint.d.ts.map +1 -1
- package/dist/ui/components/CommandPalette/CommandPalette.d.ts.map +1 -1
- package/dist/ui/components/CommandPalette/SearchInput.d.ts +1 -8
- package/dist/ui/components/CommandPalette/SearchInput.d.ts.map +1 -1
- package/dist/ui/components/HeatmapOverlay.d.ts.map +1 -1
- package/dist/ui/components/HierarchicalTiles/ExpandableTileGrid.d.ts +35 -0
- package/dist/ui/components/HierarchicalTiles/ExpandableTileGrid.d.ts.map +1 -0
- package/dist/ui/components/HierarchicalTiles/index.d.ts +2 -0
- package/dist/ui/components/HierarchicalTiles/index.d.ts.map +1 -1
- package/dist/ui/components/HierarchicalTiles/layout/expanded-layout.d.ts +2 -0
- package/dist/ui/components/HierarchicalTiles/layout/expanded-layout.d.ts.map +1 -1
- package/dist/ui/components/Inspector/InspectorSidebar.d.ts.map +1 -1
- package/dist/ui/components/Inspector/IssuesList.d.ts +3 -1
- package/dist/ui/components/Inspector/IssuesList.d.ts.map +1 -1
- package/dist/ui/components/Inspector/RuleHeader.d.ts +3 -1
- package/dist/ui/components/Inspector/RuleHeader.d.ts.map +1 -1
- package/dist/ui/components/InspectorToggle.d.ts.map +1 -1
- package/dist/ui/components/glass-panel.d.ts +1 -1
- package/dist/ui/hooks/useTileItems.d.ts +11 -20
- package/dist/ui/hooks/useTileItems.d.ts.map +1 -1
- package/dist/ui/index.d.ts +0 -1
- package/dist/ui/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/ui/components/CommandPalette/FilterChip.d.ts +0 -21
- package/dist/ui/components/CommandPalette/FilterChip.d.ts.map +0 -1
- package/dist/ui/components/FloatingIcon.d.ts +0 -3
- package/dist/ui/components/FloatingIcon.d.ts.map +0 -1
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { StateCreator } from 'zustand';
|
|
2
|
-
import { PluginServices,
|
|
3
|
-
/**
|
|
4
|
-
* Position of the floating icon in pixel coordinates.
|
|
5
|
-
*/
|
|
6
|
-
export interface FloatingIconPosition {
|
|
7
|
-
x: number;
|
|
8
|
-
y: number;
|
|
9
|
-
}
|
|
2
|
+
import { PluginServices, TileItem, ExpansionPath, ExpansionLevel } from '../plugin-system/types';
|
|
10
3
|
/**
|
|
11
4
|
* Breakpoints for responsive design.
|
|
12
5
|
*/
|
|
@@ -47,8 +40,6 @@ export interface CommandPaletteState {
|
|
|
47
40
|
query: string;
|
|
48
41
|
/** Currently selected index for keyboard navigation */
|
|
49
42
|
selectedIndex: number;
|
|
50
|
-
/** Active filters (shown as chips) - tile filters for scoping */
|
|
51
|
-
filters: TileFilter[];
|
|
52
43
|
/**
|
|
53
44
|
* Expansion path for the expandable tile UI.
|
|
54
45
|
* Stack of expanded tiles representing the current drill-down state.
|
|
@@ -117,10 +108,6 @@ export interface HeatmapFilterState {
|
|
|
117
108
|
* Contains state and actions for core UI functionality.
|
|
118
109
|
*/
|
|
119
110
|
export interface CoreSlice {
|
|
120
|
-
/** Floating icon position (null = default top-center) */
|
|
121
|
-
floatingIconPosition: FloatingIconPosition | null;
|
|
122
|
-
/** Set floating icon position and persist to localStorage */
|
|
123
|
-
setFloatingIconPosition: (position: FloatingIconPosition) => void;
|
|
124
111
|
/** Whether the Alt key is currently held */
|
|
125
112
|
altKeyHeld: boolean;
|
|
126
113
|
/** Set Alt key held state */
|
|
@@ -143,14 +130,6 @@ export interface CoreSlice {
|
|
|
143
130
|
setCommandPaletteQuery: (query: string) => void;
|
|
144
131
|
/** Set the selected index for keyboard navigation */
|
|
145
132
|
setCommandPaletteSelectedIndex: (index: number) => void;
|
|
146
|
-
/** Add a filter to the command palette */
|
|
147
|
-
addFilter: (filter: TileFilter) => void;
|
|
148
|
-
/** Remove a filter at the specified index */
|
|
149
|
-
removeFilter: (index: number) => void;
|
|
150
|
-
/** Remove the last filter (for backspace behavior) */
|
|
151
|
-
removeLastFilter: () => void;
|
|
152
|
-
/** Clear all command palette filters */
|
|
153
|
-
clearFilters: () => void;
|
|
154
133
|
/**
|
|
155
134
|
* Expand a tile, showing its children inside it.
|
|
156
135
|
* Pushes the tile onto the expansion path stack.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core-slice.d.ts","sourceRoot":"","sources":["../../../src/core/store/core-slice.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,KAAK,EACV,cAAc,
|
|
1
|
+
{"version":3,"file":"core-slice.d.ts","sourceRoot":"","sources":["../../../src/core/store/core-slice.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,KAAK,EACV,cAAc,EAEd,QAAQ,EAER,aAAa,EACb,cAAc,EACf,MAAM,wBAAwB,CAAC;AAMhC;;GAEG;AACH,eAAO,MAAM,WAAW;;;;CAId,CAAC;AAEX;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,6BAA6B;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AE,MAAM,KAAK,IAAI,CAAC;IACzC,mCAAmC;IACnC,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,iCAAiC;IACjC,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,uDAAuD;IACvD,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,wDAAwD;IACxD,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,wCAAwC;IACxC,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,mDAAmD;IACnD,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,qCAAqC;IACrC,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAG7B,gDAAgD;IAChD,WAAW,EAAE,OAAO,CAAC;IACrB,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IAGd,6DAA6D;IAC7D,aAAa,EAAE,kBAAkB,CAAC;IAClC;;;;OAIG;IACH,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3D,+CAA+C;IAC/C,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAG/B,6BAA6B;IAC7B,MAAM,EAAE,WAAW,CAAC;IACpB,oDAAoD;IACpD,cAAc,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;CAC9C;AAwGD;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAC1B,UAAU,cAAc,KACvB,YAAY,CAAC,SAAS,CAuWvB,CAAC"}
|
|
@@ -9,7 +9,7 @@ export interface DragPosition {
|
|
|
9
9
|
/**
|
|
10
10
|
* Types of draggable elements in the UI.
|
|
11
11
|
*/
|
|
12
|
-
export type DragType = "
|
|
12
|
+
export type DragType = "inspector-floating" | "inspector-resize" | "docked-resize";
|
|
13
13
|
/**
|
|
14
14
|
* Active drag operation state.
|
|
15
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drag-slice.d.ts","sourceRoot":"","sources":["../../../src/core/store/drag-slice.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAM5C;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,GAChB,
|
|
1
|
+
{"version":3,"file":"drag-slice.d.ts","sourceRoot":"","sources":["../../../src/core/store/drag-slice.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAM5C;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,GAChB,oBAAoB,GACpB,kBAAkB,GAClB,eAAe,CAAC;AAEpB;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,oCAAoC;IACpC,IAAI,EAAE,QAAQ,CAAC;IACf,yCAAyC;IACzC,QAAQ,EAAE,YAAY,CAAC;IACvB,mCAAmC;IACnC,UAAU,EAAE,YAAY,CAAC;IACzB,iFAAiF;IACjF,MAAM,EAAE,YAAY,CAAC;IACrB,8EAA8E;IAC9E,eAAe,CAAC,EAAE,YAAY,CAAC;IAC/B,iEAAiE;IACjE,gBAAgB,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CACtD;AAMD;;GAEG;AACH,MAAM,WAAW,SAAS;IAExB,4DAA4D;IAC5D,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAG9B;;;;;;;;OAQG;IACH,SAAS,EAAE,CACT,IAAI,EAAE,QAAQ,EACd,QAAQ,EAAE,YAAY,EACtB,MAAM,EAAE,YAAY,EACpB,eAAe,CAAC,EAAE,YAAY,EAC9B,gBAAgB,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,KACjD,IAAI,CAAC;IAEV;;;;;OAKG;IACH,UAAU,EAAE,CAAC,UAAU,EAAE,YAAY,KAAK,IAAI,CAAC;IAE/C;;;OAGG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IAEpB;;;;;OAKG;IACH,UAAU,EAAE,CAAC,IAAI,CAAC,EAAE,QAAQ,KAAK,OAAO,CAAC;IAEzC;;;;OAIG;IACH,YAAY,EAAE,MAAM,YAAY,GAAG,IAAI,CAAC;CACzC;AAMD;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,SAAS,CAkDlD,CAAC;AAMH;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAE1D;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,GAAG,OAAO,CAE9E;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,GAAG,YAAY,GAAG,IAAI,CAQrE;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,SAAS,GAAG,YAAY,GAAG,IAAI,CAWlF;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,SAAS,GACf;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAW1C"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ComposedState } from './composed-store';
|
|
2
|
-
import { TileFilter } from '../plugin-system/types';
|
|
3
2
|
import { Issue, IssueSeverity } from '../../ui/types';
|
|
4
3
|
/**
|
|
5
4
|
* Issues grouped by rule within a file.
|
|
@@ -24,7 +23,7 @@ export interface FileGroup {
|
|
|
24
23
|
fileName: string;
|
|
25
24
|
/** Directory path (e.g., "src/components") */
|
|
26
25
|
directory: string;
|
|
27
|
-
/** Total number of issues in this file
|
|
26
|
+
/** Total number of issues in this file */
|
|
28
27
|
totalCount: number;
|
|
29
28
|
/** Severity counts for this file */
|
|
30
29
|
severityCounts: {
|
|
@@ -61,7 +60,7 @@ export interface FileGroupsSummary {
|
|
|
61
60
|
*/
|
|
62
61
|
export declare function clearFileGroupsCache(): void;
|
|
63
62
|
/**
|
|
64
|
-
* Select file groups
|
|
63
|
+
* Select all file groups (no filtering).
|
|
65
64
|
* This is the main selector for the inspector view.
|
|
66
65
|
*
|
|
67
66
|
* Results are memoized to ensure stable references.
|
|
@@ -69,35 +68,44 @@ export declare function clearFileGroupsCache(): void;
|
|
|
69
68
|
* @param state - The composed store state
|
|
70
69
|
* @returns Array of FileGroup objects
|
|
71
70
|
*/
|
|
72
|
-
export declare function
|
|
71
|
+
export declare function selectFileGroups(state: ComposedState): FileGroup[];
|
|
73
72
|
/**
|
|
74
|
-
*
|
|
75
|
-
|
|
73
|
+
* @deprecated Use selectFileGroups instead. Filtering has been removed.
|
|
74
|
+
*/
|
|
75
|
+
export declare const selectFilteredFileGroups: typeof selectFileGroups;
|
|
76
|
+
/**
|
|
77
|
+
* Select summary statistics for all issues.
|
|
78
|
+
* Must be called after selectFileGroups for accurate results.
|
|
76
79
|
*
|
|
77
80
|
* @param state - The composed store state
|
|
78
81
|
* @returns Summary statistics
|
|
79
82
|
*/
|
|
80
83
|
export declare function selectFileGroupsSummary(state: ComposedState): FileGroupsSummary;
|
|
81
84
|
/**
|
|
82
|
-
* Select the
|
|
83
|
-
*
|
|
85
|
+
* Select the expanded rule ID (for additive selection model).
|
|
86
|
+
* Replaces the old filter-based approach.
|
|
84
87
|
*
|
|
85
88
|
* @param state - The composed store state
|
|
86
|
-
* @returns The
|
|
89
|
+
* @returns The expanded rule ID or null
|
|
87
90
|
*/
|
|
88
|
-
export declare function
|
|
91
|
+
export declare function selectExpandedRuleId(state: ComposedState): string | null;
|
|
89
92
|
/**
|
|
90
|
-
* Select the
|
|
93
|
+
* Select the expanded file path (for additive selection model).
|
|
94
|
+
* Replaces the old filter-based approach.
|
|
91
95
|
*
|
|
92
96
|
* @param state - The composed store state
|
|
93
|
-
* @returns The
|
|
97
|
+
* @returns The expanded file path or null
|
|
94
98
|
*/
|
|
95
|
-
export declare function
|
|
99
|
+
export declare function selectExpandedFilePath(state: ComposedState): string | null;
|
|
96
100
|
/**
|
|
97
101
|
* Check if there are any issues to display.
|
|
98
102
|
*
|
|
99
103
|
* @param state - The composed store state
|
|
100
|
-
* @returns true if there are
|
|
104
|
+
* @returns true if there are any issues
|
|
105
|
+
*/
|
|
106
|
+
export declare function selectHasIssues(state: ComposedState): boolean;
|
|
107
|
+
/**
|
|
108
|
+
* @deprecated Use selectHasIssues instead. Filtering has been removed.
|
|
101
109
|
*/
|
|
102
|
-
export declare
|
|
110
|
+
export declare const selectHasFilteredIssues: typeof selectHasIssues;
|
|
103
111
|
//# sourceMappingURL=file-groups-selector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-groups-selector.d.ts","sourceRoot":"","sources":["../../../src/core/store/file-groups-selector.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"file-groups-selector.d.ts","sourceRoot":"","sources":["../../../src/core/store/file-groups-selector.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAM3D;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,uCAAuC;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,+BAA+B;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,kDAAkD;IAClD,KAAK,EA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a,GAAG,MAAM,GAAG,IAAI,CAExE;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,GAAG,IAAI,CAE1E;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAG7D;AAED;;GAEG;AACH,eAAO,MAAM,uBAAuB,wBAAkB,CAAC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { ComposedState } from './composed-store';
|
|
2
2
|
import { HeatmapFilterState } from './core-slice';
|
|
3
|
-
/**
|
|
4
|
-
* Clear the heatmap data locs cache. Call this when the store is reset.
|
|
5
|
-
*/
|
|
6
|
-
export declare function clearHeatmapDataLocsCache(): void;
|
|
7
3
|
/**
|
|
8
4
|
* Select the heatmap filter state.
|
|
9
5
|
*
|
|
@@ -77,35 +73,34 @@ export declare function selectHighlightedLocs(state: ComposedState): string[];
|
|
|
77
73
|
*/
|
|
78
74
|
export declare function selectHighlightedLocsCount(state: ComposedState): number;
|
|
79
75
|
/**
|
|
80
|
-
*
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
* - Loc filter only: return only that exact dataLoc
|
|
88
|
-
* - Combined filters: return intersection (all conditions must match)
|
|
76
|
+
* Clear the selected data locs cache. Call this when the store is reset.
|
|
77
|
+
*/
|
|
78
|
+
export declare function clearSelectedDataLocsCache(): void;
|
|
79
|
+
/**
|
|
80
|
+
* Select dataLocs that match the current selection (expanded rule/file).
|
|
81
|
+
* Used for the additive selection model where all elements are visible
|
|
82
|
+
* but selected ones are emphasized (full opacity) and others are dimmed.
|
|
89
83
|
*
|
|
90
|
-
*
|
|
84
|
+
* Returns empty Set when nothing is selected, meaning all elements
|
|
85
|
+
* should be displayed with equal emphasis.
|
|
91
86
|
*
|
|
92
87
|
* @param state - The composed store state
|
|
93
|
-
* @returns
|
|
88
|
+
* @returns Set of dataLoc strings that should be emphasized
|
|
94
89
|
*
|
|
95
90
|
* @example
|
|
96
91
|
* ```tsx
|
|
97
|
-
* const
|
|
98
|
-
*
|
|
99
|
-
* //
|
|
92
|
+
* const selectedDataLocs = useComposedStore(selectSelectedDataLocs);
|
|
93
|
+
* const isEmphasized = selectedDataLocs.size === 0 || selectedDataLocs.has(dataLoc);
|
|
94
|
+
* // isEmphasized true = full opacity, false = dimmed
|
|
100
95
|
* ```
|
|
101
96
|
*/
|
|
102
|
-
export declare function
|
|
97
|
+
export declare function selectSelectedDataLocs(state: ComposedState): Set<string>;
|
|
103
98
|
/**
|
|
104
|
-
* Check if
|
|
105
|
-
*
|
|
99
|
+
* Check if there's an active selection (expanded rule).
|
|
100
|
+
* Useful for determining whether to apply emphasis styling.
|
|
106
101
|
*
|
|
107
102
|
* @param state - The composed store state
|
|
108
|
-
* @returns true if
|
|
103
|
+
* @returns true if a rule is currently expanded/selected
|
|
109
104
|
*/
|
|
110
|
-
export declare function
|
|
105
|
+
export declare function selectHasActiveSelection(state: ComposedState): boolean;
|
|
111
106
|
//# sourceMappingURL=heatmap-selectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heatmap-selectors.d.ts","sourceRoot":"","sources":["../../../src/core/store/heatmap-selectors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"heatmap-selectors.d.ts","sourceRoot":"","sources":["../../../src/core/store/heatmap-selectors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAOvD;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,aAAa,GAAG,kBAAkB,CAE5E;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,GAAG,IAAI,CAE5E;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAGrE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,EAAE,CAEpE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,CAEvE;AAgBD;;GAEG;AACH,wBAAgB,0BAA0B,IAAI,IAAI,CAKjD;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,aAAa,GAAG,GAAG,CAAC,MAAM,CAAC,CA2CxE;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAEtE"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Core Store - UI state management
|
|
3
3
|
*/
|
|
4
|
-
export { createCoreSlice, type CoreSlice, type
|
|
5
|
-
export { selectTileQuery,
|
|
6
|
-
export { selectHeatmapFilter, selectHeatmapFilterLabel, selectIsHeatmapFiltered, selectHighlightedLocs, selectHighlightedLocsCount,
|
|
4
|
+
export { createCoreSlice, type CoreSlice, type CommandPaletteState, type CommandPaletteFilter, type InspectorState, type HeatmapFilterState, } from './core-slice';
|
|
5
|
+
export { selectTileQuery, filterByQuery, dedupeItems, } from './tile-selectors';
|
|
6
|
+
export { selectHeatmapFilter, selectHeatmapFilterLabel, selectIsHeatmapFiltered, selectHighlightedLocs, selectHighlightedLocsCount, selectSelectedDataLocs, selectHasActiveSelection, clearSelectedDataLocsCache, } from './heatmap-selectors';
|
|
7
|
+
export { selectFileGroups, selectFilteredFileGroups, // deprecated alias
|
|
8
|
+
selectFileGroupsSummary, selectExpandedRuleId, selectExpandedFilePath, selectHasIssues as selectHasFileGroupIssues, selectHasFilteredIssues, // deprecated alias
|
|
9
|
+
clearFileGroupsCache, type FileGroup, type RuleGroup, type FileGroupsSummary, } from './file-groups-selector';
|
|
7
10
|
export { selectIssuesMap, selectAllIssues, selectIssuesByFile, selectTotalIssueCount, selectSeverityCounts, selectHasIssues, selectHasErrors, type SeverityCounts, } from './issues-selectors';
|
|
8
11
|
export { createComposedStore, createComposedStoreFactory, useComposedStore, initializePlugins, getStoreApi, getPluginServices, resetStore, hasPluginSlice, getPluginSlice, createScopedPluginServices, type ComposedStoreOptions, type PluginSliceMap, type AnyPluginSlice, type PluginSlices, type ComposedState, type ComposedStoreActions, type ComposedStore, } from './composed-store';
|
|
9
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/store/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EACL,eAAe,EACf,KAAK,SAAS,EACd,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/store/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EACL,eAAe,EACf,KAAK,SAAS,EACd,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,kBAAkB,GACxB,MAAM,cAAc,CAAC;AAGtB,OAAO,EACL,eAAe,EACf,aAAa,EACb,WAAW,GACZ,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,EAE1B,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EAAE,mBAAmB;AAC7C,uBAAuB,EACvB,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,IAAI,wBAAwB,EAC3C,uBAAuB,EAAE,mBAAmB;AAC5C,oBAAoB,EACpB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,iBAAiB,GACvB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,KAAK,cAAc,GACpB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAEL,mBAAmB,EACnB,0BAA0B,EAC1B,gBAAgB,EAChB,iBAAiB,EAEjB,WAAW,EACX,iBAAiB,EACjB,UAAU,EACV,cAAc,EACd,cAAc,EACd,0BAA0B,EAE1B,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,aAAa,GACnB,MAAM,kBAAkB,CAAC"}
|
|
@@ -13,8 +13,4 @@ export declare function dedupeItems(items: TileItem[]): TileItem[];
|
|
|
13
13
|
* Selector to get the current command palette query.
|
|
14
14
|
*/
|
|
15
15
|
export declare function selectTileQuery(state: CoreSlice): string;
|
|
16
|
-
/**
|
|
17
|
-
* Selector to get the current tile filters.
|
|
18
|
-
*/
|
|
19
|
-
export declare function selectTileFilters(state: CoreSlice): CoreSlice["commandPalette"]["filters"];
|
|
20
16
|
//# sourceMappingURL=tile-selectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tile-selectors.d.ts","sourceRoot":"","sources":["../../../src/core/store/tile-selectors.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAMvD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,QAAQ,EAAE,CAa1E;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,QAAQ,EAAE,CAYzD;AAMD;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAExD
|
|
1
|
+
{"version":3,"file":"tile-selectors.d.ts","sourceRoot":"","sources":["../../../src/core/store/tile-selectors.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAMvD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,QAAQ,EAAE,CAa1E;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,QAAQ,EAAE,CAYzD;AAMD;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,CAExD"}
|