@turquoisehealth/pit-viper 2.104.1 → 2.104.2-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.
- package/_site/assets/css/pit-viper-v2-scoped.css +19 -0
- package/_site/assets/css/pit-viper-v2.css +21 -0
- package/_site/assets/css/pit-viper.css +21 -0
- package/package.json +38 -11
- package/pv-components/dist/stats/vue/base/stats.html +4949 -0
- package/pv-components/dist/stats/vue/visualizations/stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-accordion-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-action-bar-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-avatar-group-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-avatar-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-banner-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-breadcrumbs-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-button-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-card-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-checkbox-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-company-label-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-company-logo-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-company-tag-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-counter-badge-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-date-picker-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-date-time-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-drawer-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-dropdown-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-expandable-content-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-ghost-input-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-icon-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-input-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-insight-card-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-modal-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-pagination-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-pill-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-popover-menu-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-popover-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-popover-v2-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-rating-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-release-badge-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-search-input-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-segmented-control-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-select-button-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-selectable-card-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-side-panel-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-skeleton-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-spinner-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-sprite-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-switch-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-tab-list-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-tabs-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-tag-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-text-area-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-toast-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-toggle-button-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-toggle-group-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-tooltip-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-widget-stats.html +4949 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -4
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +1 -1
- package/pv-components/dist/vue/base/components/base/PvTooltipV2/PvTooltipV2.vue.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvTooltipV2/types.d.ts +2 -1
- package/pv-components/dist/vue/base/pv-components-base.mjs +3429 -5665
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +3428 -5941
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +186 -0
- package/pv-components/dist/web/components/pv-action-bar/pv-action-bar.js +66 -0
- package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +96 -0
- package/pv-components/dist/web/components/pv-avatar-group/pv-avatar-group.js +102 -0
- package/pv-components/dist/web/components/pv-banner/pv-banner.js +155 -0
- package/pv-components/dist/web/components/pv-breadcrumbs/pv-breadcrumbs.js +92 -0
- package/pv-components/dist/web/components/pv-button/pv-button.js +173 -0
- package/pv-components/dist/web/components/pv-card/pv-card.js +80 -0
- package/pv-components/dist/web/components/pv-checkbox/pv-checkbox.js +77 -0
- package/pv-components/dist/web/components/pv-company-label/pv-company-label.js +153 -0
- package/pv-components/dist/web/components/pv-company-logo/pv-company-logo.js +124 -0
- package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +204 -0
- package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +89 -0
- package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +7481 -0
- package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +577 -0
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +486 -0
- package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +1724 -0
- package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +235 -0
- package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +251 -0
- package/pv-components/dist/web/components/pv-icon/pv-icon.js +81 -0
- package/pv-components/dist/web/components/pv-input/pv-input.js +123 -0
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +293 -0
- package/pv-components/dist/web/components/pv-modal/pv-modal.js +118 -0
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +2752 -0
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +286 -0
- package/pv-components/dist/web/components/pv-pill/pv-pill.js +160 -0
- package/pv-components/dist/web/components/pv-popover/pv-popover.js +1417 -0
- package/pv-components/dist/web/components/pv-popover-menu/pv-popover-menu.js +1439 -0
- package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +1421 -0
- package/pv-components/dist/web/components/pv-rating/pv-rating.js +78 -0
- package/pv-components/dist/web/components/pv-release-badge/pv-release-badge.js +74 -0
- package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +170 -0
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +145 -0
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +2563 -0
- package/pv-components/dist/web/components/pv-selectable-card/pv-selectable-card.js +85 -0
- package/pv-components/dist/web/components/pv-side-panel/pv-side-panel.js +80 -0
- package/pv-components/dist/web/components/pv-skeleton/pv-skeleton.js +1525 -0
- package/pv-components/dist/web/components/pv-spinner/pv-spinner.js +83 -0
- package/pv-components/dist/web/components/pv-sprite/pv-sprite.js +82 -0
- package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +126 -0
- package/pv-components/dist/web/components/pv-switch/pv-switch.js +94 -0
- package/pv-components/dist/web/components/pv-tab-list/pv-tab-list.js +100 -0
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +178 -0
- package/pv-components/dist/web/components/pv-tag/pv-tag.js +141 -0
- package/pv-components/dist/web/components/pv-text-area/pv-text-area.js +120 -0
- package/pv-components/dist/web/components/pv-toast/pv-toast.js +223 -0
- package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +139 -0
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +2887 -0
- package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +90 -0
- package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +1489 -0
- package/pv-components/dist/web/components/pv-widget/pv-widget.js +91 -0
- package/pv-components/dist/web/pv-components.iife.js +21 -21
- package/pv-components/dist/web/vue.runtime.esm-browser.prod.js +7 -0
- package/pv-components/dist/vue/base/pv-components-base.js +0 -1546
- package/pv-components/dist/vue/base/pv-components-base.umd.js +0 -1546
- package/pv-components/dist/vue/charts/pv-components-charts.d.ts +0 -491
- package/pv-components/dist/vue/charts/pv-components-charts.js +0 -259
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +0 -121834
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +0 -259
- package/pv-components/dist/vue/tables/pv-components-tables.d.ts +0 -299
- package/pv-components/dist/vue/tables/pv-components-tables.js +0 -223
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +0 -47028
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +0 -223
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +0 -176
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +0 -176
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { defineComponent as c, computed as a, createBlock as i, openBlock as l, resolveDynamicComponent as f, normalizeClass as m, withCtx as u, renderSlot as p, defineCustomElement as d } from "vue";
|
|
2
|
+
const v = /* @__PURE__ */ c({
|
|
3
|
+
__name: "PvCard",
|
|
4
|
+
props: {
|
|
5
|
+
href: { type: String },
|
|
6
|
+
variant: { default: "primary", type: String },
|
|
7
|
+
interactive: { type: Boolean, default: !1 }
|
|
8
|
+
},
|
|
9
|
+
setup(e) {
|
|
10
|
+
const t = e, n = a(() => t.href ? "a" : t.interactive ? "button" : "div"), o = a(() => t.href || t.interactive ? "button" : "div");
|
|
11
|
+
return (r, k) => (l(), i(f(n.value), {
|
|
12
|
+
href: e.href,
|
|
13
|
+
type: o.value,
|
|
14
|
+
class: m([
|
|
15
|
+
"pv-card pv-inset-square-8 pv-inline-block",
|
|
16
|
+
{
|
|
17
|
+
"pv-card-secondary": e.variant === "secondary"
|
|
18
|
+
}
|
|
19
|
+
]),
|
|
20
|
+
"data-testid": "pv-card"
|
|
21
|
+
}, {
|
|
22
|
+
default: u(() => [
|
|
23
|
+
p(r.$slots, "default")
|
|
24
|
+
]),
|
|
25
|
+
_: 3
|
|
26
|
+
/* FORWARDED */
|
|
27
|
+
}, 8, ["href", "type", "class"]));
|
|
28
|
+
}
|
|
29
|
+
}), h = /* @__PURE__ */ c({
|
|
30
|
+
__name: "PvWidget",
|
|
31
|
+
setup(e) {
|
|
32
|
+
return (t, n) => (l(), i(v, { class: "pv-inset-square-16" }, {
|
|
33
|
+
default: u(() => [
|
|
34
|
+
p(t.$slots, "default")
|
|
35
|
+
]),
|
|
36
|
+
_: 3
|
|
37
|
+
/* FORWARDED */
|
|
38
|
+
}));
|
|
39
|
+
}
|
|
40
|
+
}), y = /* @__PURE__ */ new Set(["PvIcon", "PvPopoverMenu", "PvPopover"]);
|
|
41
|
+
function _(e) {
|
|
42
|
+
return !y.has(e);
|
|
43
|
+
}
|
|
44
|
+
function s(e, t) {
|
|
45
|
+
const n = document.querySelector('link[href*="' + t + '"]');
|
|
46
|
+
if (!e.shadowRoot)
|
|
47
|
+
return !1;
|
|
48
|
+
if (n && e.shadowRoot) {
|
|
49
|
+
const o = n.href;
|
|
50
|
+
if (e.shadowRoot.querySelector(`link[href="${o}"]`))
|
|
51
|
+
return;
|
|
52
|
+
const r = document.createElement("link");
|
|
53
|
+
return r.rel = "stylesheet", r.href = o, e.shadowRoot.prepend(r), !0;
|
|
54
|
+
}
|
|
55
|
+
return !1;
|
|
56
|
+
}
|
|
57
|
+
function C(e) {
|
|
58
|
+
if (!s(e, "pit-viper-v2")) {
|
|
59
|
+
if (s(e, "pit-viper")) {
|
|
60
|
+
s(e, "pit-viper-v2-scoped");
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
console.warn(
|
|
64
|
+
"No global styles found for Pit Viper components. Make sure to include pit-viper.css or pit-viper-v2.css in your project."
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
const w = (e) => ({ shadowRoot: _(e) });
|
|
69
|
+
function S(e) {
|
|
70
|
+
const t = e.__name || e.name;
|
|
71
|
+
if (!t)
|
|
72
|
+
throw new Error("Component must have a __name or name property");
|
|
73
|
+
const n = d(e, w(t));
|
|
74
|
+
class o extends n {
|
|
75
|
+
connectedCallback() {
|
|
76
|
+
super.connectedCallback?.(), C(this);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
return o;
|
|
80
|
+
}
|
|
81
|
+
function E(e) {
|
|
82
|
+
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
83
|
+
}
|
|
84
|
+
function b(e) {
|
|
85
|
+
const t = e.__name || e.name;
|
|
86
|
+
if (!t)
|
|
87
|
+
throw new Error("Component must have a __name or name property");
|
|
88
|
+
const n = E(t), o = S(e);
|
|
89
|
+
customElements.get(n) || customElements.define(n, o);
|
|
90
|
+
}
|
|
91
|
+
b(h);
|