@turquoisehealth/pit-viper 2.188.0 → 2.189.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.
Files changed (39) hide show
  1. package/package.json +1 -1
  2. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  3. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  4. package/pv-components/dist/stats/web/pv-company-label-stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-company-logo-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-company-tag-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-header-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-table-of-contents-stats.html +4950 -0
  13. package/pv-components/dist/vue/base/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +3 -0
  14. package/pv-components/dist/vue/base/components/base/PvHeader/PvHeader.vue.d.ts +2 -0
  15. package/pv-components/dist/vue/base/components/base/PvTableOfContents/PvTableOfContents.vue.d.ts +19 -0
  16. package/pv-components/dist/vue/base/components/base/PvTableOfContents/types.d.ts +6 -0
  17. package/pv-components/dist/vue/base/components/base/index.d.ts +2 -0
  18. package/pv-components/dist/vue/base/pv-components-base.mjs +183 -149
  19. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  20. package/pv-components/dist/vue/visualizations/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +3 -0
  21. package/pv-components/dist/vue/visualizations/components/base/PvHeader/PvHeader.vue.d.ts +2 -0
  22. package/pv-components/dist/vue/visualizations/components/base/PvTableOfContents/PvTableOfContents.vue.d.ts +19 -0
  23. package/pv-components/dist/vue/visualizations/components/base/PvTableOfContents/types.d.ts +6 -0
  24. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +2 -0
  25. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvTableOptionsPanel.vue.d.ts +75 -2
  26. package/pv-components/dist/vue/visualizations/components/visualizations/index.d.ts +1 -0
  27. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2304 -2243
  28. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  29. package/pv-components/dist/web/components/pv-company-label/pv-company-label.js +5 -1
  30. package/pv-components/dist/web/components/pv-company-logo/pv-company-logo.js +5 -1
  31. package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +5 -1
  32. package/pv-components/dist/web/components/pv-header/pv-header.js +367 -363
  33. package/pv-components/dist/web/components/pv-menu/pv-menu.js +5 -1
  34. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +5 -1
  35. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +5 -1
  36. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +5 -1
  37. package/pv-components/dist/web/components/pv-table-of-contents/pv-table-of-contents.js +6234 -0
  38. package/pv-components/dist/web/pv-components.iife.js +13 -13
  39. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -11,10 +11,13 @@ type PvCompanyLogoProps = {
11
11
  srcPathOverride?: string;
12
12
  /** When true, converts `name` to camelCase before building the image URL. */
13
13
  toCamelCase?: boolean;
14
+ /** When true, converts `name` to snake_case (lowercase, non-letter/non-space chars stripped, spaces → `_`) before building the image URL. Takes precedence over `toCamelCase`. */
15
+ toSnakeCase?: boolean;
14
16
  };
15
17
  declare const _default: DefineComponent<PvCompanyLogoProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvCompanyLogoProps> & Readonly<{}>, {
16
18
  size: PvCompanyLogoSize;
17
19
  basePath: string;
18
20
  toCamelCase: boolean;
21
+ toSnakeCase: boolean;
19
22
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
20
23
  export default _default;
@@ -5,6 +5,7 @@ type __VLS_Props = {
5
5
  askTqButtonId?: string;
6
6
  headerTitleId?: string;
7
7
  headerActionsId?: string;
8
+ sticky?: boolean;
8
9
  };
9
10
  declare function __VLS_template(): {
10
11
  attrs: Partial<{}>;
@@ -17,6 +18,7 @@ declare function __VLS_template(): {
17
18
  };
18
19
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
20
  declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
+ sticky: boolean;
20
22
  askTqButtonId: string;
21
23
  headerTitleId: string;
22
24
  headerActionsId: string;
@@ -0,0 +1,19 @@
1
+ import { PvTableOfContentsItem } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface PvTableOfContentsProps {
4
+ /** Items to display in the table of contents */
5
+ items: PvTableOfContentsItem[];
6
+ }
7
+ type __VLS_Props = PvTableOfContentsProps;
8
+ type __VLS_PublicProps = {
9
+ modelValue?: string;
10
+ } & __VLS_Props;
11
+ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12
+ "update:modelValue": (value: string) => any;
13
+ } & {
14
+ "handle-select": (item: PvTableOfContentsItem) => any;
15
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
17
+ "onHandle-select"?: ((item: PvTableOfContentsItem) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
19
+ export default _default;
@@ -0,0 +1,6 @@
1
+ export interface PvTableOfContentsItem {
2
+ id: string;
3
+ label: string;
4
+ href?: string;
5
+ icon?: string;
6
+ }
@@ -61,6 +61,7 @@ export { default as PvQueryBuilderInput } from './PvQueryBuilderInput/PvQueryBui
61
61
  export { default as PvRange } from './PvRange/PvRange.vue';
62
62
  export { default as PvMenu } from './PvMenu/PvMenu.vue';
63
63
  export { default as PvMenuItem } from './PvMenu/items/PvMenuItem.vue';
64
+ export { default as PvTableOfContents } from './PvTableOfContents/PvTableOfContents.vue';
64
65
  export { useDateTime } from './PvDateTime/useDateTime';
65
66
  export { usePvComponents } from './PvComponentsConfig/usePvComponents';
66
67
  export type { Tab } from './PvTabs/types';
@@ -70,3 +71,4 @@ export type { MenuOption } from '../../types';
70
71
  export type { PvMultiSelectButtonSlotProps } from './PvMultiSelectButton/types';
71
72
  export type { PvTreeOption, PvTreeSetting, PvTreeSettings } from './PvTree/types';
72
73
  export type { RadioGroupOption } from './PvRadioGroup/types';
74
+ export type { PvTableOfContentsItem } from './PvTableOfContents/types';
@@ -1,5 +1,7 @@
1
1
  import { TableConfigOptions } from '../types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, Ref, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties } from 'vue';
3
+ import { PvPopoverProps } from '../../../base/PvPopover/PvPopover.vue';
4
+ import { OnCleanup } from '@vue/reactivity';
3
5
  type __VLS_Props = {
4
6
  groupedModeEnabled: boolean;
5
7
  tableConfigOptions?: TableConfigOptions;
@@ -10,5 +12,76 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
10
12
  }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
11
13
  "onToggle-group"?: ((enableGrouping: boolean) => any) | undefined;
12
14
  "onTable-overlay-change"?: ((selectedIds: string[]) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
16
+ nestedMenuPopoverRef: ({
17
+ $: ComponentInternalInstance;
18
+ $data: {};
19
+ $props: {
20
+ readonly alignment?: "top" | "right" | "top right" | undefined | undefined;
21
+ readonly cssCustomProperties?: CSSProperties | undefined;
22
+ readonly cssCustomListProperties?: CSSProperties | undefined;
23
+ readonly isList?: boolean | undefined;
24
+ readonly isSortable?: boolean | undefined;
25
+ readonly "onList-order-updated"?: ((value: string[]) => any) | undefined;
26
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
27
+ $attrs: Attrs;
28
+ $refs: {
29
+ [x: string]: unknown;
30
+ } & {
31
+ popoverRoot: HTMLDivElement;
32
+ popoverList: HTMLUListElement;
33
+ };
34
+ $slots: Readonly<{
35
+ [name: string]: Slot<any> | undefined;
36
+ }>;
37
+ $root: ComponentPublicInstance | null;
38
+ $parent: ComponentPublicInstance | null;
39
+ $host: Element | null;
40
+ $emit: (event: "list-order-updated", value: string[]) => void;
41
+ $el: HTMLDivElement;
42
+ $options: ComponentOptionsBase<Readonly< PvPopoverProps> & Readonly<{
43
+ "onList-order-updated"?: ((value: string[]) => any) | undefined;
44
+ }>, {
45
+ popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
46
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
47
+ "list-order-updated": (value: string[]) => any;
48
+ }, string, {
49
+ alignment: "top" | "right" | "top right";
50
+ cssCustomProperties: CSSProperties;
51
+ isList: boolean;
52
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
53
+ beforeCreate?: (() => void) | (() => void)[];
54
+ created?: (() => void) | (() => void)[];
55
+ beforeMount?: (() => void) | (() => void)[];
56
+ mounted?: (() => void) | (() => void)[];
57
+ beforeUpdate?: (() => void) | (() => void)[];
58
+ updated?: (() => void) | (() => void)[];
59
+ activated?: (() => void) | (() => void)[];
60
+ deactivated?: (() => void) | (() => void)[];
61
+ beforeDestroy?: (() => void) | (() => void)[];
62
+ beforeUnmount?: (() => void) | (() => void)[];
63
+ destroyed?: (() => void) | (() => void)[];
64
+ unmounted?: (() => void) | (() => void)[];
65
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
66
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
67
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
68
+ };
69
+ $forceUpdate: () => void;
70
+ $nextTick: nextTick;
71
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
72
+ } & Readonly<{
73
+ alignment: "top" | "right" | "top right";
74
+ cssCustomProperties: CSSProperties;
75
+ isList: boolean;
76
+ }> & Omit<Readonly< PvPopoverProps> & Readonly<{
77
+ "onList-order-updated"?: ((value: string[]) => any) | undefined;
78
+ }>, "popoverRoot" | ("alignment" | "cssCustomProperties" | "isList")> & {
79
+ popoverRoot: HTMLElement | null;
80
+ } & {} & ComponentCustomProperties & {} & {
81
+ $slots: {
82
+ default?(_: {}): any;
83
+ default?(_: {}): any;
84
+ };
85
+ }) | null;
86
+ }, any>;
14
87
  export default _default;
@@ -1,6 +1,7 @@
1
1
  export { default as PvChart } from '../charts/PvChart/PvChart.vue';
2
2
  export { default as PvDataTableWithChart } from '../charts/PvDataTableWithChart/PvDataTableWithChart.vue';
3
3
  export { default as PvMapChart } from '../charts/PvMapChart/PvMapChart.vue';
4
+ export { SCATTER_MARKER_STROKE, PitViperAGChartsMonochromeTheme, PitViperAGChartsMonochromeThemeName, PitViperAGChartsMulticolorTheme, PitViperAGChartsMulticolorThemeName, } from '../charts/themes';
4
5
  export { default as PvDataTable } from '../tables/PvDataTable/PvDataTable.vue';
5
6
  export { createPvDataTableFilterStore, providePvDataTableFilterStore, usePvDataTableFilterStore, } from '../tables/PvDataTable/useFilterStore';
6
7
  export type { PvDataTableFilterController, PvDataTableFilterModel, PvDataTableFilterStore, } from '../tables/PvDataTable/useFilterStore';