@turquoisehealth/pit-viper 2.268.1 → 2.268.2
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/manifest.json +2 -2
- 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/vue/ai/components/base/PvFilterPanel/filterOptionDisplay.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/filterOptionDisplay.d.ts +2 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +1490 -1423
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/filterOptionDisplay.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +8 -4
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +583 -516
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +1395 -1328
- package/pv-components/dist/web/pv-components.iife.js +2 -2
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/filterOptionDisplay.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PvFilterPanelOption } from './types';
|
|
1
2
|
export type PvFilterPanelDisplayResultCount = number | string;
|
|
2
3
|
export type FilterPanelDisplayResultCount = PvFilterPanelDisplayResultCount;
|
|
3
4
|
interface FilterOptionDisplaySource {
|
|
@@ -24,5 +25,6 @@ export declare const formatFilterPanelRangeValue: (min: number | null, max: numb
|
|
|
24
25
|
valueDecimals?: number | null;
|
|
25
26
|
}) => string;
|
|
26
27
|
export declare const getFilterOptionLabel: (option: FilterOptionDisplaySource, colDef?: FilterOptionColDefLike) => string;
|
|
28
|
+
export declare const resolveFilterPanelOptions: (options: PvFilterPanelOption[], knownOptions: PvFilterPanelOption[], colDef?: FilterOptionColDefLike) => PvFilterPanelOption[];
|
|
27
29
|
export declare const getFilterOptionResultCount: (option: FilterOptionDisplaySource | null | undefined) => PvFilterPanelDisplayResultCount | undefined;
|
|
28
30
|
export {};
|
|
@@ -9131,9 +9131,6 @@ Math.random().toString(), new Intl.NumberFormat("en-US", {
|
|
|
9131
9131
|
style: "currency",
|
|
9132
9132
|
currency: "USD",
|
|
9133
9133
|
maximumFractionDigits: 0
|
|
9134
|
-
}), new Intl.NumberFormat("en-US", {
|
|
9135
|
-
maximumFractionDigits: 1,
|
|
9136
|
-
notation: "compact"
|
|
9137
9134
|
});
|
|
9138
9135
|
//#endregion
|
|
9139
9136
|
//#region src/components/base/PvFilterPanel/filterOptionValue.ts
|
|
@@ -9176,7 +9173,14 @@ var Ol = "__pv_filter_panel_scoped_value__", kl = (e) => typeof e == "object" &&
|
|
|
9176
9173
|
pairs: t,
|
|
9177
9174
|
value: t[0]?.value ?? e
|
|
9178
9175
|
};
|
|
9179
|
-
}, Nl = (e) => e ? e.rawValue !== null && e.rawValue !== void 0 ? String(e.rawValue) : kl(e.metadata) && e.metadata.rawValue !== null && e.metadata.rawValue !== void 0 ? String(e.metadata.rawValue) : e.matchedValue !== null && e.matchedValue !== void 0 ? String(e.matchedValue) : Ml(e.value)?.value ?? e.value : null, Pl = (e, t) => e?.field ? e.field : e?.colField ? e.colField : Ml(e?.value)?.field ?? t, Fl = (e, t, n, r) => Pl(e, r) === t && Nl(e) === n
|
|
9176
|
+
}, Nl = (e) => e ? e.rawValue !== null && e.rawValue !== void 0 ? String(e.rawValue) : kl(e.metadata) && e.metadata.rawValue !== null && e.metadata.rawValue !== void 0 ? String(e.metadata.rawValue) : e.matchedValue !== null && e.matchedValue !== void 0 ? String(e.matchedValue) : Ml(e.value)?.value ?? e.value : null, Pl = (e, t) => e?.field ? e.field : e?.colField ? e.colField : Ml(e?.value)?.field ?? t, Fl = (e, t, n, r) => Pl(e, r) === t && Nl(e) === n;
|
|
9177
|
+
new Intl.NumberFormat("en-US", {
|
|
9178
|
+
maximumFractionDigits: 1,
|
|
9179
|
+
notation: "compact"
|
|
9180
|
+
});
|
|
9181
|
+
//#endregion
|
|
9182
|
+
//#region src/components/base/PvFilterPanel/aggregateFilterModel.ts
|
|
9183
|
+
var Il = (e) => {
|
|
9180
9184
|
let t = e;
|
|
9181
9185
|
return t?.filterType === "join" && Array.isArray(t.conditions);
|
|
9182
9186
|
}, Ll = (e) => {
|