@turquoisehealth/pit-viper 2.251.2 → 2.252.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 (28) hide show
  1. package/_src/assets/sprite-v2.svg +1 -1
  2. package/_src/assets/sprite.svg +1 -1
  3. package/package.json +1 -1
  4. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  5. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-sortable-list-stats.html +4950 -0
  9. package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
  10. package/pv-components/dist/vue/ai/components/base/PvSortableList/PvSortableList.vue.d.ts +43 -0
  11. package/pv-components/dist/vue/ai/components/base/PvTree/types.d.ts +6 -0
  12. package/pv-components/dist/vue/ai/components/base/index.d.ts +8 -1
  13. package/pv-components/dist/vue/base/components/base/PvSortableList/PvSortableList.vue.d.ts +43 -0
  14. package/pv-components/dist/vue/base/components/base/PvTree/types.d.ts +6 -0
  15. package/pv-components/dist/vue/base/components/base/index.d.ts +8 -1
  16. package/pv-components/dist/vue/base/pv-components-base.mjs +2377 -2142
  17. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  18. package/pv-components/dist/vue/visualizations/components/base/PvTree/types.d.ts +6 -0
  19. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +8 -1
  20. package/pv-components/dist/vue/visualizations/components/visualizations/index.d.ts +12 -0
  21. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1676 -1675
  22. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  23. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +4 -2
  24. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +4 -2
  25. package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +9138 -0
  26. package/pv-components/dist/web/components/pv-tree/pv-tree.js +213 -206
  27. package/pv-components/dist/web/pv-components.iife.js +13 -13
  28. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -18,6 +18,12 @@ export interface PvTreeSetting {
18
18
  checkbox?: boolean;
19
19
  /** Whether accordion nodes start expanded */
20
20
  defaultExpanded?: boolean;
21
+ /**
22
+ * Accordion rows render their children only once first opened (then keep them), so a large tree
23
+ * of mostly closed rows costs little more than its summaries. Rows inside a never-opened accordion
24
+ * are not in the DOM: reveal one with `openNodeIds` rather than looking it up.
25
+ */
26
+ lazyChildren?: boolean;
21
27
  /**
22
28
  * Accordion rows only open/close from their chevron; a click elsewhere on the row calls
23
29
  * `rendererParams.onSummaryClick` instead (e.g. to select the row).
@@ -34,6 +34,8 @@ export { default as PvTabs } from './PvTabs/PvTabs.vue';
34
34
  export { default as PvBreadcrumbs } from './PvBreadcrumbs/PvBreadcrumbs.vue';
35
35
  export { default as PvMultiSelectButton } from './PvMultiSelectButton/PvMultiSelectButton.vue';
36
36
  export { default as PvSelectButton } from './PvSelectButton/PvSelectButton.vue';
37
+ export { default as PvSelectButtonTrigger } from './PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue';
38
+ export { default as PvSortableList } from './PvSortableList/PvSortableList.vue';
37
39
  export { default as PvPagination } from './PvPagination/PvPagination.vue';
38
40
  export { default as PvSelectableCard } from './PvSelectableCard/PvSelectableCard.vue';
39
41
  export { default as PvSidePanel } from '../layout/PvSidePanel/PvSidePanel.vue';
@@ -81,10 +83,15 @@ export { default as PvStepper } from './PvStepper/PvStepper.vue';
81
83
  export { default as PvEmptyState } from './PvEmptyState/PvEmptyState.vue';
82
84
  export { useDateTime } from './PvDateTime/useDateTime';
83
85
  export { usePvComponents } from './PvComponentsConfig/usePvComponents';
86
+ export { useMenuPosition } from './PvMenu/useMenuPosition';
87
+ export { useSlotPresence } from '../../composables/useSlotPresence';
88
+ export { SelectedItemsKey } from './PvMenu/symbols';
84
89
  export type { Tab } from './PvTabs/types';
85
90
  export type { PvBreadcrumbsOptions } from './PvBreadcrumbs/types';
86
91
  export type { PvAvatarGroupItem } from './PvAvatarGroup/types';
87
- export type { MenuOption, MenuOptionSelectedEvent } from '../../types';
92
+ export type { MenuOption, MenuOptionSelectedEvent, Option } from '../../types';
93
+ export type { LockedOption } from './PvSortableList/types';
94
+ export type { PopoverRefElement } from './PvMenu/useMenuPosition';
88
95
  export type { PvMultiSelectButtonSlotProps } from './PvMultiSelectButton/types';
89
96
  export type { PvTreeOption, PvTreeSetting, PvTreeSettings } from './PvTree/types';
90
97
  export type { RadioGroupOption } from './PvRadioGroup/types';
@@ -16,5 +16,17 @@ export type { PvDataWidgetDataHandler, UsePvDataWidgetDataOptions, UsePvDataWidg
16
16
  export type { BenchmarkChip, ChipSection, CrosslineOverlayGroup, TableConfigOptions, VerticalLineOverlay, } from '../charts/PvDataTableWithChart/types';
17
17
  export { constructAdvancedFilterCondition, convertFilterModelToAdvanced, filterModelContainsColId, mergeFilterModels, getSelectedValuesFromFilterModel, filterModelsEqual, mergeAdvancedFilterCondition, removeColumnFromAdvancedFilter, getSelectedValuesFromAdvancedFilterModel, isAdvancedFilterModel, isFilterModelEmpty, getSelectedValues, getSelectedValuesFromFilterModelByColId, updateSetFilter, updateMultiOrSetFilter, removeColumnFilter, excludeValueFromSetFilter, } from '../tables/PvDataTable/filters/filterHelpers';
18
18
  export type { AnyFilterModel } from '../tables/PvDataTable/filters/filterHelpers';
19
+ export type { ChartStateChangedEvent, ChartTooltipRenderer, PvDataTablePivot, PvDataTableProps, PvDataTablePublicInterface, } from '../tables/PvDataTable/types';
20
+ export type { FocusData } from '../tables/PvDataTable/useFocus';
21
+ export type { PvMapChartData } from '../charts/PvMapChart/PvMapChart.vue';
22
+ export { MAX_LABEL_LENGTH, NO_DATA_OVERLAY_TEXT, NULL_PLACEHOLDER_VALUE } from '../charts/PvChart/constants';
23
+ export { multicolorFills } from '../charts/themes';
24
+ export { ColDefDataType } from '../tables/PvDataTable/table-components/formatting';
25
+ export { AvailableRowGroupColumnsKey, ColumnDisplayOrderKey, FilterStoreKey, FirstDataRenderedKey, FocusStoreKey, GridApiKey, GroupColumnCellValueColumnKey, } from '../tables/symbols';
26
+ export { createFocusStore } from '../tables/PvDataTable/useFocus';
27
+ export { colDefContext, isColDefNumericDataType, mapColsToColumnV0, processRowGroupCols, } from '../tables/PvDataTable/helpers';
28
+ export { mapEntityTypeToHeaderIcon, truncateValue } from '../tables/PvDataTable/table-components/formatting';
29
+ export { cleanInitialGridState, mapFilterBasedOnColDef } from '../tables/PvDataTable/filters/filterHelpers';
30
+ export { getChartScrollContentStyle, getChartScrollOverflowStyle, getScrollableChartMinHeight, } from '../charts/widgetOptions';
19
31
  export { RumContextKey, useRumContext, addRumAction, deferRumTask } from '../../functions/rum';
20
32
  export type { PvRumContext } from '../../functions/rum';