@turquoisehealth/pit-viper 2.244.4 → 2.245.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 (21) 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-empty-state-stats.html +4950 -0
  5. package/pv-components/dist/vue/ai/components/base/PvEmptyState/PvEmptyState.vue.d.ts +10 -0
  6. package/pv-components/dist/vue/ai/components/base/index.d.ts +1 -0
  7. package/pv-components/dist/vue/base/components/base/PvEmptyState/PvEmptyState.vue.d.ts +10 -0
  8. package/pv-components/dist/vue/base/components/base/index.d.ts +1 -0
  9. package/pv-components/dist/vue/base/pv-components-base.mjs +57 -8
  10. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  11. package/pv-components/dist/vue/visualizations/components/base/PvEmptyState/PvEmptyState.vue.d.ts +10 -0
  12. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +1 -0
  13. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue.d.ts +3 -1
  14. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +33 -1
  15. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +21 -0
  16. package/pv-components/dist/vue/visualizations/components/charts/themes.d.ts +2 -1
  17. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2700 -2510
  18. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  19. package/pv-components/dist/web/components/pv-empty-state/pv-empty-state.js +6431 -0
  20. package/pv-components/dist/web/pv-components.iife.js +2 -2
  21. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -0,0 +1,10 @@
1
+ import { PvEmptyStateProps } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<PvEmptyStateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
4
+ "handle-primary-click": () => any;
5
+ "handle-secondary-click": () => any;
6
+ }, string, PublicProps, Readonly<PvEmptyStateProps> & Readonly<{
7
+ "onHandle-primary-click"?: (() => any) | undefined;
8
+ "onHandle-secondary-click"?: (() => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ export default _default;
@@ -78,6 +78,7 @@ export { default as PvSidebarV2 } from './PvSidebarV2/PvSidebarV2.vue';
78
78
  export { default as PvMenuItem } from './PvMenu/items/PvMenuItem.vue';
79
79
  export { default as PvTableOfContents } from './PvTableOfContents/PvTableOfContents.vue';
80
80
  export { default as PvStepper } from './PvStepper/PvStepper.vue';
81
+ export { default as PvEmptyState } from './PvEmptyState/PvEmptyState.vue';
81
82
  export { useDateTime } from './PvDateTime/useDateTime';
82
83
  export { usePvComponents } from './PvComponentsConfig/usePvComponents';
83
84
  export type { Tab } from './PvTabs/types';
@@ -0,0 +1,10 @@
1
+ import { PvEmptyStateProps } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<PvEmptyStateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
4
+ "handle-primary-click": () => any;
5
+ "handle-secondary-click": () => any;
6
+ }, string, PublicProps, Readonly<PvEmptyStateProps> & Readonly<{
7
+ "onHandle-primary-click"?: (() => any) | undefined;
8
+ "onHandle-secondary-click"?: (() => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
10
+ export default _default;
@@ -78,6 +78,7 @@ export { default as PvSidebarV2 } from './PvSidebarV2/PvSidebarV2.vue';
78
78
  export { default as PvMenuItem } from './PvMenu/items/PvMenuItem.vue';
79
79
  export { default as PvTableOfContents } from './PvTableOfContents/PvTableOfContents.vue';
80
80
  export { default as PvStepper } from './PvStepper/PvStepper.vue';
81
+ export { default as PvEmptyState } from './PvEmptyState/PvEmptyState.vue';
81
82
  export { useDateTime } from './PvDateTime/useDateTime';
82
83
  export { usePvComponents } from './PvComponentsConfig/usePvComponents';
83
84
  export type { Tab } from './PvTabs/types';
@@ -11766,7 +11766,56 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11766
11766
  class: y(["pv-stepper-progress-divider", m[t.variant ?? "current"]])
11767
11767
  }, null, 2)) : a("", !0)], 2))), 128))], 4));
11768
11768
  }
11769
- }), Em = { theme: {
11769
+ }), Em = {
11770
+ class: "pv-flex-vertical pv-flow",
11771
+ style: {
11772
+ "--flow-size": "1.5rem",
11773
+ "--flex-gap": "0"
11774
+ }
11775
+ }, Dm = ["src", "alt"], Om = { class: "pv-flex-vertical" }, km = {
11776
+ key: 0,
11777
+ class: "pv-heading-2"
11778
+ }, Am = {
11779
+ key: 1,
11780
+ class: "pv-text-body-md pv-text-subdued"
11781
+ }, jm = {
11782
+ key: 1,
11783
+ class: "pv-flex-vertical"
11784
+ }, Mm = /* @__PURE__ */ d({
11785
+ __name: "PvEmptyState",
11786
+ props: {
11787
+ alt: {},
11788
+ description: {},
11789
+ header: {},
11790
+ primaryLabel: {},
11791
+ secondaryLabel: {},
11792
+ src: {}
11793
+ },
11794
+ emits: ["handle-primary-click", "handle-secondary-click"],
11795
+ setup(e) {
11796
+ return (t, n) => (D(), o("div", Em, [
11797
+ e.src ? (D(), o("img", {
11798
+ key: 0,
11799
+ src: e.src,
11800
+ alt: e.alt ?? ""
11801
+ }, null, 8, Dm)) : a("", !0),
11802
+ s("div", Om, [e.header ? (D(), o("h2", km, I(e.header), 1)) : a("", !0), e.description ? (D(), o("span", Am, I(e.description), 1)) : a("", !0)]),
11803
+ e.primaryLabel || e.secondaryLabel ? (D(), o("div", jm, [e.primaryLabel ? (D(), i($, {
11804
+ key: 0,
11805
+ variant: "primary",
11806
+ size: "xl",
11807
+ label: e.primaryLabel,
11808
+ onClick: n[0] ||= (e) => t.$emit("handle-primary-click")
11809
+ }, null, 8, ["label"])) : a("", !0), e.secondaryLabel ? (D(), i($, {
11810
+ key: 1,
11811
+ variant: "ghost",
11812
+ size: "xl",
11813
+ label: e.secondaryLabel,
11814
+ onClick: n[1] ||= (e) => t.$emit("handle-secondary-click")
11815
+ }, null, 8, ["label"])) : a("", !0)])) : a("", !0)
11816
+ ]));
11817
+ }
11818
+ }), Nm = { theme: {
11770
11819
  preset: Te,
11771
11820
  options: {
11772
11821
  darkModeSelector: "none",
@@ -11775,15 +11824,15 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11775
11824
  order: "pit-viper-v2, primevue"
11776
11825
  }
11777
11826
  }
11778
- } }, Dm = (e) => {
11779
- e.use(we, Em);
11780
- }, Om = Symbol.for("pv.rum-context"), km = () => {
11781
- let e = m(Om, void 0);
11827
+ } }, Pm = (e) => {
11828
+ e.use(we, Nm);
11829
+ }, Fm = Symbol.for("pv.rum-context"), Im = () => {
11830
+ let e = m(Fm, void 0);
11782
11831
  return () => {
11783
11832
  let t = e?.value;
11784
11833
  return typeof t == "string" ? { consumer: t } : t ?? {};
11785
11834
  };
11786
- }, Am = (e, t = {}, n = {}) => {
11835
+ }, Lm = (e, t = {}, n = {}) => {
11787
11836
  try {
11788
11837
  if (n.enabled === !1 || typeof window > "u" || !window.DD_RUM?.addAction) return;
11789
11838
  let r = n.consumer == null ? t : {
@@ -11792,7 +11841,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11792
11841
  };
11793
11842
  window.DD_RUM.addAction(e, r);
11794
11843
  } catch {}
11795
- }, jm = (e) => {
11844
+ }, Rm = (e) => {
11796
11845
  queueMicrotask(() => {
11797
11846
  try {
11798
11847
  e();
@@ -11800,6 +11849,6 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11800
11849
  });
11801
11850
  };
11802
11851
  //#endregion
11803
- export { ki as ContextCardEnum, ai as PvAccordion, bc as PvActionBar, or as PvActionButton, lr as PvAiButton, Ka as PvAvatar, Es as PvAvatarGroup, Yr as PvBanner, Va as PvBreadcrumbs, $ as PvButton, mr as PvButtonWithTooltip, lc as PvCard, Ms as PvCheckbox, Fi as PvCompanyLabel, Lr as PvCompanyLogo, ei as PvCompanyTag, ia as PvContextFeedback, Ca as PvContextSurface, Ni as PvContextSurfaceKey, He as PvCounterBadge, _i as PvDatePicker, yi as PvDateTime, tl as PvDistributionBar, Oi as PvDrawer, Dr as PvDropdown, $r as PvEmptyErrorState, vc as PvExpandableContent, Xs as PvFileInput, Zf as PvFilterModal, Pf as PvFilterPanel, Ma as PvGhostInput, Cs as PvHeader, cd as PvHorizontalScroller, tp as PvHoverActionMenu, Z as PvIcon, Us as PvInput, _c as PvInsightCard, Ko as PvMenu, Ro as PvMenuItem, Ur as PvModal, es as PvMultiSelectButton, us as PvPagination, xr as PvPill, wr as PvPopover, kr as PvPopoverMenu, nr as PvPopoverV2, el as PvProgressBar, up as PvQueryBuilderInput, Is as PvRadioGroup, vl as PvRange, $s as PvRating, vr as PvReleaseBadge, ui as PvSearchInput, Ar as PvSegmentedControl, rs as PvSelectButton, ps as PvSelectableCard, vs as PvSidePanel, mp as PvSidebar, _m as PvSidebarV2, Rs as PvSkeleton, ua as PvSpinesContextCard, ma as PvSpinesContextDrawer, ka as PvSpinesEntityFields, Ne as PvSpinner, _r as PvSplitButton, Ls as PvSprite, Tm as PvStepper, ri as PvSuggestionTag, vo as PvSwitch, Pr as PvTabList, xm as PvTableOfContents, Ra as PvTabs, br as PvTag, Gi as PvTextArea, Zi as PvToast, Yi as PvToggleButton, As as PvToggleGroup, fr as PvTooltip, ir as PvTooltipV2, Jc as PvTree, Yc as PvTreeGroup, uc as PvWidget, Om as RumContextKey, Am as addRumAction, df as createPvFilterStore, jm as deferRumTask, ff as providePvFilterStore, vi as useDateTime, pf as useOptionalPvFilterStore, Dm as usePvComponents, mf as usePvFilterStore, km as useRumContext };
11852
+ export { ki as ContextCardEnum, ai as PvAccordion, bc as PvActionBar, or as PvActionButton, lr as PvAiButton, Ka as PvAvatar, Es as PvAvatarGroup, Yr as PvBanner, Va as PvBreadcrumbs, $ as PvButton, mr as PvButtonWithTooltip, lc as PvCard, Ms as PvCheckbox, Fi as PvCompanyLabel, Lr as PvCompanyLogo, ei as PvCompanyTag, ia as PvContextFeedback, Ca as PvContextSurface, Ni as PvContextSurfaceKey, He as PvCounterBadge, _i as PvDatePicker, yi as PvDateTime, tl as PvDistributionBar, Oi as PvDrawer, Dr as PvDropdown, $r as PvEmptyErrorState, Mm as PvEmptyState, vc as PvExpandableContent, Xs as PvFileInput, Zf as PvFilterModal, Pf as PvFilterPanel, Ma as PvGhostInput, Cs as PvHeader, cd as PvHorizontalScroller, tp as PvHoverActionMenu, Z as PvIcon, Us as PvInput, _c as PvInsightCard, Ko as PvMenu, Ro as PvMenuItem, Ur as PvModal, es as PvMultiSelectButton, us as PvPagination, xr as PvPill, wr as PvPopover, kr as PvPopoverMenu, nr as PvPopoverV2, el as PvProgressBar, up as PvQueryBuilderInput, Is as PvRadioGroup, vl as PvRange, $s as PvRating, vr as PvReleaseBadge, ui as PvSearchInput, Ar as PvSegmentedControl, rs as PvSelectButton, ps as PvSelectableCard, vs as PvSidePanel, mp as PvSidebar, _m as PvSidebarV2, Rs as PvSkeleton, ua as PvSpinesContextCard, ma as PvSpinesContextDrawer, ka as PvSpinesEntityFields, Ne as PvSpinner, _r as PvSplitButton, Ls as PvSprite, Tm as PvStepper, ri as PvSuggestionTag, vo as PvSwitch, Pr as PvTabList, xm as PvTableOfContents, Ra as PvTabs, br as PvTag, Gi as PvTextArea, Zi as PvToast, Yi as PvToggleButton, As as PvToggleGroup, fr as PvTooltip, ir as PvTooltipV2, Jc as PvTree, Yc as PvTreeGroup, uc as PvWidget, Fm as RumContextKey, Lm as addRumAction, df as createPvFilterStore, Rm as deferRumTask, ff as providePvFilterStore, vi as useDateTime, pf as useOptionalPvFilterStore, Pm as usePvComponents, mf as usePvFilterStore, Im as useRumContext };
11804
11853
 
11805
11854
  //# sourceMappingURL=pv-components-base.mjs.map