@turquoisehealth/pit-viper 2.182.1-dev.5 → 2.183.1-dev.0
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/claude-plugin/skills/pit-viper/SKILL.md +28 -31
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterGroupMenu.vue.d.ts +21 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +9 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1610 -1426
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/claude-plugin/skills/pit-viper/references/design-language.md +0 -80
- package/claude-plugin/skills/pit-viper/references/design-rules.md +0 -265
- package/claude-plugin/skills/pit-viper/references/html-patterns.md +0 -468
- package/claude-plugin/skills/pit-viper/references/layout-patterns.md +0 -367
- package/claude-plugin/skills/pit-viper/references/patterns-core.md +0 -97
- package/claude-plugin/skills/pit-viper/references/theme-guide.md +0 -160
- package/claude-plugin/skills/pit-viper/references/vue-guidelines.md +0 -526
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ColDef } from 'ag-grid-community';
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode } from 'vue';
|
|
3
|
+
export interface FilterGroupMenuProps<T> {
|
|
4
|
+
filterColDef: ColDef<T>;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & FilterGroupMenuProps<T> & Partial<{}>> & PublicProps;
|
|
8
|
+
expose(exposed: ShallowUnwrapRef<{
|
|
9
|
+
openForTest: () => void;
|
|
10
|
+
selectedValues: Ref<Set<string> & Omit<Set<string>, keyof Set<any>>, Set<string> | (Set<string> & Omit<Set<string>, keyof Set<any>>)>;
|
|
11
|
+
}>): void;
|
|
12
|
+
attrs: any;
|
|
13
|
+
slots: {};
|
|
14
|
+
emit: {};
|
|
15
|
+
}>) => VNode & {
|
|
16
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_PrettifyLocal<T> = {
|
|
20
|
+
[K in keyof T]: T[K];
|
|
21
|
+
} & {};
|
|
@@ -169,6 +169,15 @@ export interface ColDefContextProps<T> {
|
|
|
169
169
|
* If true, this column is considered a "dev" column and will only be shown when devMode is enabled
|
|
170
170
|
*/
|
|
171
171
|
devOnly?: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* A group of boolean sub-fields to render as a hover submenu above the filter options.
|
|
174
|
+
* Each field in `fields` must be present as a column in the table.
|
|
175
|
+
* Selecting an item toggles a `<field> = "true"` condition in the advanced filter model.
|
|
176
|
+
*/
|
|
177
|
+
filterGroup?: {
|
|
178
|
+
label: string;
|
|
179
|
+
fields: string[];
|
|
180
|
+
};
|
|
172
181
|
}
|
|
173
182
|
export interface FilterValuesSetHandlerParams<T> {
|
|
174
183
|
api?: GridApi<T>;
|
package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export interface UseSetFilterOptions<T> {
|
|
|
6
6
|
filterColDef: Ref<ColDef<T>>;
|
|
7
7
|
filterStyle?: Ref<"horizontal" | "vertical">;
|
|
8
8
|
onSelectionChanged?: () => void;
|
|
9
|
+
filterGroupStagedFields?: Ref<Set<string>>;
|
|
9
10
|
}
|
|
10
11
|
export declare const useSetFilter: <T>(options: UseSetFilterOptions<T>) => {
|
|
11
12
|
selectedValues: WritableComputedRef<(string | null)[], (string | null)[]>;
|