@turquoisehealth/pit-viper 2.71.1-dev.3 → 2.72.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 +24 -0
- package/_site/assets/css/pit-viper-v2.css +27 -0
- package/_site/assets/css/pit-viper.css +27 -0
- package/package.json +1 -1
- package/pv-components/dist/vue/base/pv-components-base.d.ts +1 -1
- package/pv-components/dist/vue/base/pv-components-base.js +3 -3
- package/pv-components/dist/vue/base/pv-components-base.mjs +40 -10
- package/pv-components/dist/vue/base/pv-components-base.umd.js +3 -3
- package/pv-components/dist/vue/charts/pv-components-charts.d.ts +7 -94
- package/pv-components/dist/vue/charts/pv-components-charts.js +56 -57
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +24683 -26636
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +57 -58
- package/pv-components/dist/vue/tables/pv-components-tables.d.ts +1 -59
- package/pv-components/dist/vue/tables/pv-components-tables.js +48 -49
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +6813 -8659
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +48 -49
- package/pv-components/dist/web/pv-components.iife.js +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.pv-button-loading[data-v-942d55a7]{width:16px;height:16px;border:2px solid #ccc;border-top-color:#fff;border-radius:50%;animation:spin-942d55a7 1s linear infinite}@keyframes spin-942d55a7{to{transform:rotate(360deg)}}.pv-badge-md[data-v-fc3c1104]{--inset-size: 2px 2px;min-height:20px;max-height:20px;min-width:20px;font-weight:500}.pv-badge-sm[data-v-fc3c1104]{--inset-size: 0 2px;min-height:16px;max-height:16px;min-width:16px;font-weight:500}.pv-surface-lighten-5[data-v-fc3c1104]{background-color:#e0e5e4}.pv-text-secondary[data-v-fc3c1104]{color:#4b595c}.pv-badge-release-alpha[data-v-b59890a1]{--inset-size: 2px 8px;background:#ffeb99;font-weight:600}.pv-badge-release-beta[data-v-b59890a1]{--inset-size: 2px 8px;background:#e8daff;font-weight:600}[class*=pv-status]{&[data-v-19b2955e]:before,&[data-v-19b2955e]:after{margin-inline-end:0px}}.pv-popover-list[data-v-cda1af8c]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:transparent;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.pv-tab-list[data-v-498bf523]{border:none}.pv-tab-list :where(li)[data-active][data-v-498bf523]:after{content:"";display:block;height:2px;width:100%;position:absolute;bottom:0;left:0;right:0;background-color:#176f6f}.pv-text-secondary[data-v-28489f76]{color:#4b595c}.pv-menu-item-disabled[data-v-
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.pv-button-loading[data-v-942d55a7]{width:16px;height:16px;border:2px solid #ccc;border-top-color:#fff;border-radius:50%;animation:spin-942d55a7 1s linear infinite}@keyframes spin-942d55a7{to{transform:rotate(360deg)}}.pv-badge-md[data-v-fc3c1104]{--inset-size: 2px 2px;min-height:20px;max-height:20px;min-width:20px;font-weight:500}.pv-badge-sm[data-v-fc3c1104]{--inset-size: 0 2px;min-height:16px;max-height:16px;min-width:16px;font-weight:500}.pv-surface-lighten-5[data-v-fc3c1104]{background-color:#e0e5e4}.pv-text-secondary[data-v-fc3c1104]{color:#4b595c}.pv-badge-release-alpha[data-v-b59890a1]{--inset-size: 2px 8px;background:#ffeb99;font-weight:600}.pv-badge-release-beta[data-v-b59890a1]{--inset-size: 2px 8px;background:#e8daff;font-weight:600}[class*=pv-status]{&[data-v-19b2955e]:before,&[data-v-19b2955e]:after{margin-inline-end:0px}}.pv-popover-list[data-v-cda1af8c]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:transparent;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.pv-tab-list[data-v-498bf523]{border:none}.pv-tab-list :where(li)[data-active][data-v-498bf523]:after{content:"";display:block;height:2px;width:100%;position:absolute;bottom:0;left:0;right:0;background-color:#176f6f}.pv-text-secondary[data-v-28489f76]{color:#4b595c}.pv-menu-item-disabled[data-v-a18f7b39]{color:#7d898d;pointer-events:none;background:#ececec}.pv-menu-item[data-v-a18f7b39]{cursor:pointer}.dots-button[data-v-e63422b9]{background-color:transparent;color:#4b595c}.expandable-content[data-v-2f840307]{border-radius:.5rem}.expandable-content .pv-line-clamp[data-v-2f840307]{transition:max-height .3s ease-in-out}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
import { defineComponent as H, ref as be, computed as U, onBeforeMount as mi, createElementBlock as v, openBlock as h, normalizeClass as X, createElementVNode as D, Fragment as re, createBlock as N, createCommentVNode as B, toDisplayString as L, withModifiers as ar, isRef as Zn, shallowRef as jr, onMounted as $t, nextTick as Yt, getCurrentScope as gi, onScopeDispose as vi, toValue as ve, getCurrentInstance as Uo, watch as Re, toRef as bi, readonly as Qn, customRef as yi, unref as ye, useTemplateRef as ot, normalizeStyle as wt, renderSlot as V, withDirectives as Pe, createTextVNode as je, Teleport as ir, createVNode as Q, withCtx as me, mergeModels as De, useModel as Se, renderList as _e, vModelText as Jn, useId as ki, mergeProps as C, resolveComponent as oo, resolveDirective as ea, resolveDynamicComponent as Ce, Transition as wi, vShow as Or, withKeys as ue, normalizeProps as qo, vModelDynamic as Hr, vModelCheckbox as ta, reactive as $i } from "vue";
|
|
3
3
|
const Ci = {
|
|
4
4
|
xs: "12px",
|
|
@@ -10537,7 +10537,7 @@ const ei = /* @__PURE__ */ Ue(Cc, [["render", xc]]), Bc = ["src"], Pc = /* @__PU
|
|
|
10537
10537
|
], 64))
|
|
10538
10538
|
], 2));
|
|
10539
10539
|
}
|
|
10540
|
-
}), kt = /* @__PURE__ */ Ue(_c, [["__scopeId", "data-v-
|
|
10540
|
+
}), kt = /* @__PURE__ */ Ue(_c, [["__scopeId", "data-v-a18f7b39"]]), Ec = ["checked", "disabled"], Ic = {
|
|
10541
10541
|
class: "pv-full-width pv-truncate pv-flex-vertical",
|
|
10542
10542
|
style: { "align-items": "flex-start", "--flex-gap": "0" }
|
|
10543
10543
|
}, Rc = ["title"], Lc = ["title"], zc = {
|
|
@@ -10648,18 +10648,46 @@ const ei = /* @__PURE__ */ Ue(Cc, [["render", xc]]), Bc = ["src"], Pc = /* @__PU
|
|
|
10648
10648
|
useTeleport: e = !0,
|
|
10649
10649
|
popoverCssProperties: o
|
|
10650
10650
|
} = {}) => {
|
|
10651
|
-
const r = be(null), n = be(null), a = be(null), i = be(null), s =
|
|
10651
|
+
const r = be(null), n = be(null), a = be(null), i = be(null), s = (f) => {
|
|
10652
|
+
let p = f.parentElement;
|
|
10653
|
+
for (; p && p !== document.body; ) {
|
|
10654
|
+
if (window.getComputedStyle(p).position !== "static")
|
|
10655
|
+
return p;
|
|
10656
|
+
p = p.parentElement;
|
|
10657
|
+
}
|
|
10658
|
+
return null;
|
|
10659
|
+
}, l = U(() => {
|
|
10660
|
+
if (!r.value || !n.value || !i.value?.popoverRoot) return 0;
|
|
10661
|
+
let f = r.value.left;
|
|
10662
|
+
(t === "right" || t === "top right") && (f = r.value.left + r.value.width);
|
|
10663
|
+
const p = s(i.value.popoverRoot);
|
|
10664
|
+
if (p) {
|
|
10665
|
+
const m = p.getBoundingClientRect();
|
|
10666
|
+
f -= m.left;
|
|
10667
|
+
}
|
|
10668
|
+
return f;
|
|
10669
|
+
}), u = U(() => {
|
|
10670
|
+
if (!r.value || !n.value || !i.value?.popoverRoot) return 0;
|
|
10671
|
+
let f = r.value.top + window.scrollY;
|
|
10672
|
+
t === "top" || t === "top right" || (f += r.value.height);
|
|
10673
|
+
const p = s(i.value.popoverRoot);
|
|
10674
|
+
if (p) {
|
|
10675
|
+
const m = p.getBoundingClientRect();
|
|
10676
|
+
f -= m.top + window.scrollY;
|
|
10677
|
+
}
|
|
10678
|
+
return f;
|
|
10679
|
+
}), d = U(() => {
|
|
10652
10680
|
if (!e)
|
|
10653
10681
|
return o;
|
|
10654
|
-
const
|
|
10682
|
+
const f = {
|
|
10655
10683
|
position: "absolute",
|
|
10656
|
-
left: `${
|
|
10657
|
-
top: `${
|
|
10684
|
+
left: `${l.value}px`,
|
|
10685
|
+
top: `${u.value}px`,
|
|
10658
10686
|
zIndex: 10
|
|
10659
10687
|
};
|
|
10660
10688
|
return {
|
|
10661
10689
|
...o,
|
|
10662
|
-
...
|
|
10690
|
+
...f
|
|
10663
10691
|
};
|
|
10664
10692
|
});
|
|
10665
10693
|
return {
|
|
@@ -10667,7 +10695,7 @@ const ei = /* @__PURE__ */ Ue(Cc, [["render", xc]]), Bc = ["src"], Pc = /* @__PU
|
|
|
10667
10695
|
popoverRef: i,
|
|
10668
10696
|
triggerRect: r,
|
|
10669
10697
|
popoverRect: n,
|
|
10670
|
-
popoverPositionStyle:
|
|
10698
|
+
popoverPositionStyle: d,
|
|
10671
10699
|
updateRects: () => {
|
|
10672
10700
|
a.value && (r.value = a.value.getBoundingClientRect()), i.value?.popoverRoot && (n.value = i.value.popoverRoot.getBoundingClientRect());
|
|
10673
10701
|
}
|
|
@@ -12209,11 +12237,13 @@ const ow = /* @__PURE__ */ H({
|
|
|
12209
12237
|
const e = {
|
|
12210
12238
|
info: "pv-toast-info",
|
|
12211
12239
|
success: "pv-toast-success",
|
|
12212
|
-
error: "pv-toast-error"
|
|
12240
|
+
error: "pv-toast-error",
|
|
12241
|
+
dark: "pv-toast-dark"
|
|
12213
12242
|
}, o = {
|
|
12214
12243
|
info: "check-circle",
|
|
12215
12244
|
success: "check-circle",
|
|
12216
|
-
error: "alert-circle"
|
|
12245
|
+
error: "alert-circle",
|
|
12246
|
+
dark: "ai"
|
|
12217
12247
|
};
|
|
12218
12248
|
return (r, n) => (h(), v("div", {
|
|
12219
12249
|
class: X(e[r.variant])
|