@turquoisehealth/pit-viper 2.206.1 → 2.206.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/assets/css/pit-viper-a11y.css +24 -0
- package/_site/assets/css/pit-viper-consumer.css +24 -0
- package/_site/assets/css/pit-viper-v2-scoped.css +21 -0
- package/_site/assets/css/pit-viper-v2.css +43 -0
- package/_site/assets/css/pit-viper.css +24 -0
- 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-avatar-group-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-header-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
- package/pv-components/dist/vue/base/components/base/PvAvatarGroup/PvAvatarGroup.vue.d.ts +3 -1
- package/pv-components/dist/vue/base/components/base/PvAvatarGroup/types.d.ts +2 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +563 -557
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/PvAvatarGroup.vue.d.ts +3 -1
- package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/types.d.ts +2 -0
- package/pv-components/dist/web/components/pv-avatar-group/pv-avatar-group.js +31 -25
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +1 -1
- package/pv-components/dist/web/components/pv-header/pv-header.js +2 -2
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +1 -1
- package/pv-components/dist/web/pv-components.iife.js +13 -13
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/PvAvatarGroup.vue.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { PvAvatarGroupItem } from './types';
|
|
1
|
+
import { PvAvatarGroupItem, PvAvatarGroupSize } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
interface PvAvatarGroupProps {
|
|
4
4
|
/** Array of avatar items to render in the group. */
|
|
5
5
|
items: PvAvatarGroupItem[];
|
|
6
6
|
/** Maximum number of avatars to show before displaying an overflow indicator. Capped at 7. */
|
|
7
7
|
maxDisplayed: number;
|
|
8
|
+
/** Size of each avatar in the group. Defaults to 'xl' (32px). */
|
|
9
|
+
size?: PvAvatarGroupSize;
|
|
8
10
|
}
|
|
9
11
|
declare const _default: DefineComponent<PvAvatarGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvAvatarGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
10
12
|
export default _default;
|
|
@@ -1,32 +1,38 @@
|
|
|
1
|
-
import { Fragment as e, computed as t, createElementBlock as n, createTextVNode as r, defineComponent as i, defineCustomElement as a, getCurrentInstance as o, nextTick as s,
|
|
1
|
+
import { Fragment as e, computed as t, createElementBlock as n, createTextVNode as r, defineComponent as i, defineCustomElement as a, getCurrentInstance as o, nextTick as s, normalizeClass as c, onMounted as l, openBlock as u, reactive as d, readonly as f, ref as p, renderList as m, toDisplayString as h, watch as g } from "vue";
|
|
2
2
|
//#region src/components/base/PvAvatarGroup/PvAvatarGroup.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var
|
|
4
|
-
key: 2,
|
|
5
|
-
class: "pv-avatar-sm"
|
|
6
|
-
}, y = /* @__PURE__ */ i({
|
|
3
|
+
var _ = ["data-more"], v = ["src", "alt"], y = /* @__PURE__ */ i({
|
|
7
4
|
__name: "PvAvatarGroup",
|
|
8
5
|
props: {
|
|
9
6
|
items: { type: Array },
|
|
10
|
-
maxDisplayed: { type: Number }
|
|
7
|
+
maxDisplayed: { type: Number },
|
|
8
|
+
size: { type: String }
|
|
11
9
|
},
|
|
12
10
|
setup(i) {
|
|
13
11
|
let a = i, o = t(() => a.maxDisplayed >= 7 ? 7 : a.maxDisplayed), s = t(() => {
|
|
14
12
|
let e = a.items.length - o.value;
|
|
15
13
|
return e > 0 ? e : 0;
|
|
16
|
-
})
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
}), l = {
|
|
15
|
+
md: "pv-avatar-20",
|
|
16
|
+
lg: "pv-avatar-xs",
|
|
17
|
+
xl: "pv-avatar-sm",
|
|
18
|
+
xxl: "pv-avatar-md"
|
|
19
|
+
}, d = t(() => l[a.size ?? "xl"]);
|
|
20
|
+
return (t, a) => (u(), n("ul", {
|
|
21
|
+
class: c(["pv-avatar-group", i.size && i.size !== "xl" ? `pv-avatar-group-${i.size}` : ""]),
|
|
19
22
|
role: "list",
|
|
20
23
|
"data-more": s.value <= 0 ? void 0 : s.value,
|
|
21
24
|
"data-testid": "pv-avatar-group"
|
|
22
|
-
}, [(
|
|
25
|
+
}, [(u(!0), n(e, null, m(i.items.slice(0, o.value), (t, i) => (u(), n("li", {
|
|
23
26
|
key: i,
|
|
24
27
|
"data-testid": "pv-avatar-group-item"
|
|
25
|
-
}, [t.initials ? (
|
|
28
|
+
}, [t.initials ? (u(), n(e, { key: 0 }, [r(h(t.initials), 1)], 64)) : t.image ? (u(), n("img", {
|
|
26
29
|
key: 1,
|
|
27
30
|
src: t.image,
|
|
28
31
|
alt: t.alt ?? ""
|
|
29
|
-
}, null, 8,
|
|
32
|
+
}, null, 8, v)) : (u(), n("div", {
|
|
33
|
+
key: 2,
|
|
34
|
+
class: c(d.value)
|
|
35
|
+
}, null, 2))]))), 128))], 10, _));
|
|
30
36
|
}
|
|
31
37
|
}), b = Object.defineProperty, x = Object.getOwnPropertySymbols, S = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable, w = (e, t, n) => t in e ? b(e, t, {
|
|
32
38
|
enumerable: !0,
|
|
@@ -754,14 +760,14 @@ function Pe(e, t) {
|
|
|
754
760
|
}
|
|
755
761
|
function Fe(e) {
|
|
756
762
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
757
|
-
o() && o().components ?
|
|
763
|
+
o() && o().components ? l(e) : t ? e() : s(e);
|
|
758
764
|
}
|
|
759
765
|
var Ie = 0;
|
|
760
766
|
function Le(e) {
|
|
761
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n =
|
|
767
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = p(!1), r = p(e), i = p(null), a = se() ? window.document : void 0, o = t.document, s = o === void 0 ? a : o, c = t.immediate, l = c === void 0 ? !0 : c, u = t.manual, d = u === void 0 ? !1 : u, m = t.name, h = m === void 0 ? `style_${++Ie}` : m, _ = t.id, v = _ === void 0 ? void 0 : _, y = t.media, b = y === void 0 ? void 0 : y, x = t.nonce, S = x === void 0 ? void 0 : x, C = t.first, w = C === void 0 ? !1 : C, T = t.onMounted, E = T === void 0 ? void 0 : T, D = t.onUpdated, O = D === void 0 ? void 0 : D, k = t.onLoad, A = k === void 0 ? void 0 : k, j = t.props, M = j === void 0 ? {} : j, N = function() {}, P = function(t) {
|
|
762
768
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
763
769
|
if (s) {
|
|
764
|
-
var o = je(je({}, M), a), c = o.name ||
|
|
770
|
+
var o = je(je({}, M), a), c = o.name || h, l = o.id || v, u = o.nonce || S;
|
|
765
771
|
i.value = s.querySelector(`style[data-primevue-style-id="${c}"]`) || s.getElementById(l) || s.createElement("style"), i.value.isConnected || (r.value = t || e, oe(i.value, {
|
|
766
772
|
type: "text/css",
|
|
767
773
|
id: l,
|
|
@@ -769,21 +775,21 @@ function Le(e) {
|
|
|
769
775
|
nonce: u
|
|
770
776
|
}), w ? s.head.prepend(i.value) : s.head.appendChild(i.value), ce(i.value, "data-primevue-style-id", c), oe(i.value, o), i.value.onload = function(e) {
|
|
771
777
|
return A?.(e, { name: c });
|
|
772
|
-
}, E?.(c)), !n.value && (N =
|
|
778
|
+
}, E?.(c)), !n.value && (N = g(r, function(e) {
|
|
773
779
|
i.value.textContent = e, O?.(c);
|
|
774
780
|
}, { immediate: !0 }), n.value = !0);
|
|
775
781
|
}
|
|
776
782
|
};
|
|
777
|
-
return l && !
|
|
783
|
+
return l && !d && Fe(P), {
|
|
778
784
|
id: v,
|
|
779
|
-
name:
|
|
785
|
+
name: h,
|
|
780
786
|
el: i,
|
|
781
787
|
css: r,
|
|
782
788
|
unload: function() {
|
|
783
789
|
!s || !n.value || (N(), ie(i.value) && s.head.removeChild(i.value), n.value = !1, i.value = null);
|
|
784
790
|
},
|
|
785
791
|
load: P,
|
|
786
|
-
isLoaded:
|
|
792
|
+
isLoaded: f(n)
|
|
787
793
|
};
|
|
788
794
|
}
|
|
789
795
|
//#endregion
|
|
@@ -1261,7 +1267,7 @@ var ot = {
|
|
|
1261
1267
|
csp: { nonce: void 0 }
|
|
1262
1268
|
}, st = Symbol();
|
|
1263
1269
|
function ct(e, t) {
|
|
1264
|
-
var n = { config:
|
|
1270
|
+
var n = { config: d(t) };
|
|
1265
1271
|
return e.config.globalProperties.$primevue = n, e.provide(st, n), lt(), ut(e, n), n;
|
|
1266
1272
|
}
|
|
1267
1273
|
var Q = [];
|
|
@@ -1271,7 +1277,7 @@ function lt() {
|
|
|
1271
1277
|
}), Q = [];
|
|
1272
1278
|
}
|
|
1273
1279
|
function ut(e, t) {
|
|
1274
|
-
var n =
|
|
1280
|
+
var n = p(!1), r = function() {
|
|
1275
1281
|
if (t.config?.theme !== "none" && !q.isStyleNameLoaded("common")) {
|
|
1276
1282
|
var e, n = X.getCommonTheme?.call(X) || {}, r = n.primitive, i = n.semantic, a = n.global, o = n.style, s = { nonce: (e = t.config) == null || (e = e.csp) == null ? void 0 : e.nonce };
|
|
1277
1283
|
X.load(r?.css, nt({ name: "primitive-variables" }, s)), X.load(i?.css, nt({ name: "semantic-variables" }, s)), X.load(a?.css, nt({ name: "global-variables" }, s)), X.loadStyle(nt({ name: "global-style" }, s), o), q.setLoadedStyleName("common");
|
|
@@ -1280,7 +1286,7 @@ function ut(e, t) {
|
|
|
1280
1286
|
V.on("theme:change", function(t) {
|
|
1281
1287
|
n.value ||= (e.config.globalProperties.$primevue.config.theme = t, !0);
|
|
1282
1288
|
});
|
|
1283
|
-
var i =
|
|
1289
|
+
var i = g(t.config, function(e, t) {
|
|
1284
1290
|
et.emit("config:change", {
|
|
1285
1291
|
newValue: e,
|
|
1286
1292
|
oldValue: t
|
|
@@ -1288,7 +1294,7 @@ function ut(e, t) {
|
|
|
1288
1294
|
}, {
|
|
1289
1295
|
immediate: !0,
|
|
1290
1296
|
deep: !0
|
|
1291
|
-
}), a =
|
|
1297
|
+
}), a = g(function() {
|
|
1292
1298
|
return t.config.ripple;
|
|
1293
1299
|
}, function(e, t) {
|
|
1294
1300
|
et.emit("config:ripple:change", {
|
|
@@ -1298,7 +1304,7 @@ function ut(e, t) {
|
|
|
1298
1304
|
}, {
|
|
1299
1305
|
immediate: !0,
|
|
1300
1306
|
deep: !0
|
|
1301
|
-
}), o =
|
|
1307
|
+
}), o = g(function() {
|
|
1302
1308
|
return t.config.theme;
|
|
1303
1309
|
}, function(e, i) {
|
|
1304
1310
|
n.value || q.setTheme(e), t.config.unstyled || r(), n.value = !1, et.emit("config:theme:change", {
|
|
@@ -1308,7 +1314,7 @@ function ut(e, t) {
|
|
|
1308
1314
|
}, {
|
|
1309
1315
|
immediate: !0,
|
|
1310
1316
|
deep: !1
|
|
1311
|
-
}), s =
|
|
1317
|
+
}), s = g(function() {
|
|
1312
1318
|
return t.config.unstyled;
|
|
1313
1319
|
}, function(e, n) {
|
|
1314
1320
|
!e && t.config.theme && r(), et.emit("config:unstyled:change", {
|
|
@@ -4666,7 +4666,7 @@ var Ro = ["aria-label"], zo = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
4666
4666
|
_: 1
|
|
4667
4667
|
}, 8, ["modelValue", "header"])], 64));
|
|
4668
4668
|
}
|
|
4669
|
-
}), [["styles", [".pv-filter-panel[data-v-
|
|
4669
|
+
}), [["styles", [".pv-filter-panel[data-v-14259e0c]{height:100%;max-height:inherit}.pv-filter-panel-actions[data-v-14259e0c],.pv-filter-panel-header[data-v-14259e0c],.pv-filter-panel-suggestion-tags[data-v-14259e0c]{--flex-gap:.5rem}.pv-filter-panel-body[data-v-14259e0c],.pv-filter-panel-filters-view[data-v-14259e0c]{--flex-align:stretch;--flex-gap:0}.pv-filter-panel-body[data-v-14259e0c]{scrollbar-color:var(--color-border,#c1c1c1) transparent;scrollbar-gutter:stable;scrollbar-width:thin;flex:auto;min-height:0;overflow-y:auto}.pv-filter-panel-body[data-v-14259e0c]::-webkit-scrollbar{width:8px}.pv-filter-panel-body[data-v-14259e0c]::-webkit-scrollbar-track{background:0 0}.pv-filter-panel-body[data-v-14259e0c]::-webkit-scrollbar-thumb{background:var(--color-border,#c1c1c1);border-radius:8px}.pv-filter-panel-body[data-v-14259e0c]::-webkit-scrollbar-thumb:hover{background:var(--color-text-subdued,#7c7c7c)}.pv-filter-panel-empty[data-v-14259e0c],.pv-filter-panel-footer[data-v-14259e0c],.pv-filter-panel-suggestions[data-v-14259e0c]{padding:12px}.pv-filter-panel-filter-list[data-v-14259e0c]{--flex-align:stretch;--flex-gap:8px;padding-top:8px}.pv-filter-panel-footer[data-v-14259e0c]{--flex-justify:flex-end;background:var(--color-background-body,#fff);z-index:1;flex:none;margin-top:auto;position:sticky;bottom:0}.pv-filter-panel-header[data-v-14259e0c]{--flex-align:center;padding:12px}.pv-filter-panel-mode-control[data-v-14259e0c]{flex:auto;min-width:0}.pv-filter-panel-modal-footer[data-v-14259e0c]{--flex-justify:flex-end}.pv-filter-panel-section-title[data-v-14259e0c]{margin:0}.pv-filter-panel-suggestions[data-v-14259e0c]{--flex-align:stretch}.pv-filter-panel-suggestion-tags[data-v-14259e0c]{--flex-wrap:wrap}"]], ["__scopeId", "data-v-14259e0c"]]), Qo = Object.defineProperty, $o = Object.getOwnPropertySymbols, es = Object.prototype.hasOwnProperty, ts = Object.prototype.propertyIsEnumerable, ns = (e, t, n) => t in e ? Qo(e, t, {
|
|
4670
4670
|
enumerable: !0,
|
|
4671
4671
|
configurable: !0,
|
|
4672
4672
|
writable: !0,
|
|
@@ -103,7 +103,7 @@ var x = [
|
|
|
103
103
|
}
|
|
104
104
|
}), A = {
|
|
105
105
|
key: 0,
|
|
106
|
-
class: "pv-
|
|
106
|
+
class: "pv-heading-2"
|
|
107
107
|
}, j = ["id"], M = { class: "pv-flex" }, te = ["id"], ne = {
|
|
108
108
|
key: 0,
|
|
109
109
|
class: "pv-border-left",
|
|
@@ -144,7 +144,7 @@ var x = [
|
|
|
144
144
|
}, [_(t.$slots, "right")], 8, te), e.showAskTqButton ? (m(), i("div", ne, [o(k, {
|
|
145
145
|
id: e.askTqButtonId,
|
|
146
146
|
label: "AskTQ",
|
|
147
|
-
size: "
|
|
147
|
+
size: "xl",
|
|
148
148
|
"hide-icon": ""
|
|
149
149
|
}, null, 8, ["id"])])) : r("v-if", !0)])], 2));
|
|
150
150
|
}
|
|
@@ -3218,7 +3218,7 @@ var Wa = { style: { width: "fit-content" } }, Ga = /* @__PURE__ */ f({
|
|
|
3218
3218
|
avatar: { type: Object },
|
|
3219
3219
|
groupingLabel: { type: String },
|
|
3220
3220
|
disabled: { type: Boolean },
|
|
3221
|
-
context: { type:
|
|
3221
|
+
context: { type: Object },
|
|
3222
3222
|
classList: { type: Array },
|
|
3223
3223
|
searchText: { type: String },
|
|
3224
3224
|
children: { type: Array },
|