@turquoisehealth/pit-viper 2.234.5-dev.1 → 2.235.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/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-filter-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +1 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanelAccordion.vue.d.ts +5 -1
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/types.d.ts +9 -1
- package/pv-components/dist/vue/ai/components/base/PvRange/PvRange.vue.d.ts +1 -0
- package/pv-components/dist/vue/ai/components/base/PvRange/types.d.ts +8 -2
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelAccordion.vue.d.ts +5 -1
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +9 -1
- package/pv-components/dist/vue/base/components/base/PvRange/PvRange.vue.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvRange/types.d.ts +8 -2
- package/pv-components/dist/vue/base/pv-components-base.mjs +1152 -1120
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelAccordion.vue.d.ts +5 -1
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +9 -1
- package/pv-components/dist/vue/visualizations/components/base/PvRange/PvRange.vue.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvRange/types.d.ts +8 -2
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +2 -0
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +1727 -1693
- package/pv-components/dist/web/components/pv-range/pv-range.js +359 -356
- package/pv-components/dist/web/pv-components.iife.js +3 -3
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -77,7 +77,9 @@ export interface PvFilterPanelRangeConfig {
|
|
|
77
77
|
min?: number | null;
|
|
78
78
|
/** Maximum bound for range controls in reusable filter panel UIs. */
|
|
79
79
|
max?: number | null;
|
|
80
|
-
/**
|
|
80
|
+
/** Optional slider-only step for range controls. An equal or less granular multiple of `step`. */
|
|
81
|
+
sliderStep?: number | null;
|
|
82
|
+
/** Increment enforced for every value set through range sliders or text inputs. */
|
|
81
83
|
step?: number | null;
|
|
82
84
|
/**
|
|
83
85
|
* Track mapping for range controls in reusable filter panel UIs. `linear` spreads values evenly,
|
|
@@ -444,6 +446,8 @@ export interface PvFilterPanelResolvedFilter {
|
|
|
444
446
|
rangeMin?: number | null;
|
|
445
447
|
/** See `filterPanelRange.scale`. */
|
|
446
448
|
rangeScale?: PvRangeScale;
|
|
449
|
+
/** See `filterPanelRange.sliderStep`. */
|
|
450
|
+
rangeSliderStep?: number | null;
|
|
447
451
|
rangeStep?: number | null;
|
|
448
452
|
rangeValue?: PvRangeValue;
|
|
449
453
|
searchPlaceholder?: string;
|
|
@@ -457,6 +461,8 @@ export interface PvFilterPanelResolvedFilter {
|
|
|
457
461
|
valueLabels?: Record<string, string> | null;
|
|
458
462
|
}
|
|
459
463
|
export interface PvFilterPanelAccordionProps {
|
|
464
|
+
/** Disable filter controls while their values load. */
|
|
465
|
+
disableWhileLoading?: boolean;
|
|
460
466
|
filter: PvFilterPanelResolvedFilter;
|
|
461
467
|
}
|
|
462
468
|
export interface PvFilterPanelAppliedFiltersSectionProps {
|
|
@@ -526,6 +532,8 @@ export interface PvFilterPanelProps {
|
|
|
526
532
|
controlledValues?: Record<string, string[]>;
|
|
527
533
|
/** Whether dev-only filters should be shown. */
|
|
528
534
|
devMode?: boolean;
|
|
535
|
+
/** Disable each filter's controls while its values load. Defaults to true. */
|
|
536
|
+
disableWhileLoading?: boolean;
|
|
529
537
|
displayPreferencesIcon?: boolean;
|
|
530
538
|
/**
|
|
531
539
|
* Shows a search input under the category row that narrows the filter list by label.
|
|
@@ -31,6 +31,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
|
|
|
31
31
|
showBoundLabels: boolean;
|
|
32
32
|
showInputs: boolean;
|
|
33
33
|
showValueTooltips: boolean;
|
|
34
|
+
sliderStep: number | null;
|
|
34
35
|
valueDecimals: number | null;
|
|
35
36
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
36
37
|
sliderRef: HTMLDivElement;
|
|
@@ -28,7 +28,8 @@ export interface PvRangeProps {
|
|
|
28
28
|
mode?: PvRangeMode;
|
|
29
29
|
/**
|
|
30
30
|
* Track mapping. `linear` spreads values evenly. `log` gives small values proportionally more track,
|
|
31
|
-
* which keeps very wide bounds (for example 0 to 240,000) selectable down to single digits
|
|
31
|
+
* which keeps very wide bounds (for example 0 to 240,000) selectable down to single digits, and snaps
|
|
32
|
+
* slider values to roughly three significant digits so they stay readable.
|
|
32
33
|
*/
|
|
33
34
|
scale?: PvRangeScale;
|
|
34
35
|
/** Whether to show min/max bound values above the slider in dual mode. */
|
|
@@ -41,7 +42,12 @@ export interface PvRangeProps {
|
|
|
41
42
|
showValueTooltips?: boolean;
|
|
42
43
|
/** Visual size. */
|
|
43
44
|
size?: PvRangeSize;
|
|
44
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* Optional slider-only step. Must be an equal or less granular multiple of `step`. Defaults to `step`,
|
|
47
|
+
* and acts as a floor on the adaptive increment of a `log` scale.
|
|
48
|
+
*/
|
|
49
|
+
sliderStep?: number | null;
|
|
50
|
+
/** Increment enforced for every value set through sliders or text inputs. Use 0 for continuous values. */
|
|
45
51
|
step?: number | null;
|
|
46
52
|
/** Decimal places for dual-mode display values. */
|
|
47
53
|
valueDecimals?: number | null;
|