@turquoisehealth/pit-viper 2.236.2 → 2.238.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/_site/assets/css/pit-viper-a11y.css +65 -0
- package/_site/assets/css/pit-viper-consumer.css +65 -0
- package/_site/assets/css/pit-viper-v2-scoped.css +64 -0
- package/_site/assets/css/pit-viper-v2.css +65 -0
- package/_site/assets/css/pit-viper.css +65 -0
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-header-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvHeader/PvHeader.vue.d.ts +8 -14
- package/pv-components/dist/vue/ai/components/base/PvHeader/types.d.ts +10 -0
- package/pv-components/dist/vue/base/components/base/PvHeader/PvHeader.vue.d.ts +8 -14
- package/pv-components/dist/vue/base/components/base/PvHeader/types.d.ts +10 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +26 -22
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvHeader/PvHeader.vue.d.ts +8 -14
- package/pv-components/dist/vue/visualizations/components/base/PvHeader/types.d.ts +10 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/helpers.d.ts +5 -0
- package/pv-components/dist/vue/visualizations/components/tables/themes.d.ts +7 -1
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +710 -688
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-header/pv-header.js +430 -423
- package/pv-components/dist/web/pv-components.iife.js +1 -1
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1,12 +1,5 @@
|
|
|
1
|
+
import { PvHeaderProps, PvHeaderElement } from './types';
|
|
1
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
title?: string;
|
|
4
|
-
showAskTqButton?: boolean;
|
|
5
|
-
askTqButtonId?: string;
|
|
6
|
-
headerTitleId?: string;
|
|
7
|
-
headerActionsId?: string;
|
|
8
|
-
sticky?: boolean;
|
|
9
|
-
};
|
|
10
3
|
declare function __VLS_template(): {
|
|
11
4
|
attrs: Partial<{}>;
|
|
12
5
|
slots: {
|
|
@@ -14,19 +7,20 @@ declare function __VLS_template(): {
|
|
|
14
7
|
right?(_: {}): any;
|
|
15
8
|
};
|
|
16
9
|
refs: {
|
|
17
|
-
rootRef:
|
|
10
|
+
rootRef: unknown;
|
|
18
11
|
};
|
|
19
|
-
rootEl:
|
|
12
|
+
rootEl: any;
|
|
20
13
|
};
|
|
21
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
-
declare const __VLS_component: DefineComponent<
|
|
15
|
+
declare const __VLS_component: DefineComponent<PvHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvHeaderProps> & Readonly<{}>, {
|
|
23
16
|
sticky: boolean;
|
|
17
|
+
as: PvHeaderElement;
|
|
24
18
|
askTqButtonId: string;
|
|
25
|
-
headerTitleId: string;
|
|
26
19
|
headerActionsId: string;
|
|
20
|
+
headerTitleId: string;
|
|
27
21
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
28
|
-
rootRef:
|
|
29
|
-
},
|
|
22
|
+
rootRef: unknown;
|
|
23
|
+
}, any>;
|
|
30
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
25
|
export default _default;
|
|
32
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -13,6 +13,11 @@ export declare const colDefValueFormatter: <T>(colDef: ColDef<T>) => ValueFormat
|
|
|
13
13
|
export declare const colDefMaxSelectableValues: <T>(colDef: ColDef<T>) => number | null;
|
|
14
14
|
export declare const isColDefSingleSelect: <T>(colDef: ColDef<T>) => boolean;
|
|
15
15
|
export declare const isColDefNumericDataType: <T>(colDef: ColDef<T>) => boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Whether a column's header should sit on the right edge. Numeric data types
|
|
18
|
+
* right-align by convention, and so does AG Grid's own `rightAligned` type.
|
|
19
|
+
*/
|
|
20
|
+
export declare const isColDefRightAligned: <T>(colDef: ColDef<T>) => boolean;
|
|
16
21
|
export declare const flattenAggregateFieldHierarchy: (hierarchy: AggregateFieldHierarchy | undefined) => string[];
|
|
17
22
|
export declare const getAggregateFields: <T>(colDef: ColDef<T>) => string[];
|
|
18
23
|
export declare const getAggregateLeafFields: (hierarchy: AggregateFieldHierarchy | undefined) => string[];
|
|
@@ -2,5 +2,11 @@ import { Theme } from 'ag-grid-community';
|
|
|
2
2
|
export declare const PitViperAGGridBaseTheme: Theme;
|
|
3
3
|
export declare const PitViperAGGridNoBordersTheme: Theme;
|
|
4
4
|
export declare const PitViperAGGridGroupedTheme: Theme;
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Matches the `.pv-table` CSS framework styling used by components like
|
|
7
|
+
* PvDataWidget: gray header, no wrapper border or radius, no row hover, and
|
|
8
|
+
* a single hairline rule between rows.
|
|
9
|
+
*/
|
|
10
|
+
export declare const PitViperAGGridClassicTheme: Theme;
|
|
11
|
+
export type PvDataTableTheme = "pv-data-table-base" | "pv-data-table-grouped" | "pv-data-table-grouped-card" | "pv-data-table-classic";
|
|
6
12
|
export declare const themeMap: Record<PvDataTableTheme, Theme>;
|