@turquoisehealth/pit-viper 2.256.0 → 2.258.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-a11y-v3.css +162 -75
- package/_site/assets/css/pit-viper-a11y.css +162 -75
- package/_site/assets/css/pit-viper-consumer.css +101 -11
- package/_site/assets/css/pit-viper-v2-scoped.css +82 -11
- package/_site/assets/css/pit-viper-v2.css +162 -75
- package/_site/assets/css/pit-viper-v3.css +162 -75
- package/_site/assets/css/pit-viper.css +101 -11
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/ai/stats.html +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-banner-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-date-time-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-dropdown-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-pagination-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-question-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvBanner/PvBanner.vue.d.ts +4 -1
- package/pv-components/dist/vue/ai/components/base/PvBanner/types.d.ts +12 -1
- package/pv-components/dist/vue/ai/pv-components-ai.mjs +1 -0
- package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
- package/pv-components/dist/vue/base/components/base/PvBanner/PvBanner.vue.d.ts +4 -1
- package/pv-components/dist/vue/base/components/base/PvBanner/types.d.ts +12 -1
- package/pv-components/dist/vue/base/pv-components-base.mjs +506 -416
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/base/types.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/base/PvBanner/PvBanner.vue.d.ts +4 -1
- package/pv-components/dist/vue/visualizations/components/base/PvBanner/types.d.ts +12 -1
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/TableSearch.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +969 -941
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/types.d.ts +6 -0
- package/pv-components/dist/web/components/pv-banner/pv-banner.js +485 -476
- package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +1 -1
- package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +2 -2
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +1230 -1215
- package/pv-components/dist/web/components/pv-input/pv-input.js +1 -0
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +856 -841
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +881 -866
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +2 -2
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +585 -570
- package/pv-components/dist/web/components/pv-question/pv-question.js +1 -0
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +877 -862
- package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +125 -91
- package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +125 -91
- package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +2 -2
- package/pv-components/dist/web/pv-components.iife.js +33 -33
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1812,10 +1812,7 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
1812
1812
|
}), fr = {
|
|
1813
1813
|
key: 0,
|
|
1814
1814
|
class: "sidebar-additional-header"
|
|
1815
|
-
}, pr = { class: "sidebar-header-content pv-full-width" },
|
|
1816
|
-
key: 0,
|
|
1817
|
-
class: "pv-sidebar-nav-header"
|
|
1818
|
-
}, hr = ["aria-label", "aria-expanded"], gr = {
|
|
1815
|
+
}, pr = ["data-sidebar-collapsed"], mr = { class: "sidebar-header-content pv-full-width" }, hr = ["aria-label", "aria-expanded"], gr = {
|
|
1819
1816
|
class: "pv-flex",
|
|
1820
1817
|
style: { "min-width": "0" }
|
|
1821
1818
|
}, _r = {
|
|
@@ -1824,7 +1821,11 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
1824
1821
|
"border-radius": "4px",
|
|
1825
1822
|
"flex-shrink": "0"
|
|
1826
1823
|
}
|
|
1827
|
-
}, vr = ["src"], yr = { key: 1 }, br = [
|
|
1824
|
+
}, vr = ["src"], yr = { key: 1 }, br = [
|
|
1825
|
+
"data-sidebar-collapsed",
|
|
1826
|
+
"data-sidebar-expanding",
|
|
1827
|
+
"title"
|
|
1828
|
+
], xr = {
|
|
1828
1829
|
class: "pv-popover",
|
|
1829
1830
|
style: {
|
|
1830
1831
|
width: "fit-content",
|
|
@@ -1839,69 +1840,61 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
1839
1840
|
}, Cr = ["data-active"], wr = ["href", "data-org-value"], Tr = {
|
|
1840
1841
|
class: "pv-avatar-xs",
|
|
1841
1842
|
style: { "border-radius": "4px" }
|
|
1842
|
-
}, Er = ["src"], Dr = { key: 1 }, Or = ["title"], kr = ["data-active"], Ar = ["href", "data-org-value"], jr = ["title"], Mr = {
|
|
1843
|
+
}, Er = ["src"], Dr = { key: 1 }, Or = ["title"], kr = ["data-active"], Ar = ["href", "data-org-value"], jr = ["title"], Mr = { key: 0 }, Nr = {
|
|
1843
1844
|
key: 1,
|
|
1844
1845
|
role: "list",
|
|
1845
1846
|
class: "pv-full-width pv-flow",
|
|
1846
1847
|
style: { "--flow-size": "0.25rem" }
|
|
1847
|
-
},
|
|
1848
|
+
}, Pr = {
|
|
1848
1849
|
key: 0,
|
|
1849
1850
|
class: "pv-sidebar-nav-separator",
|
|
1850
1851
|
"aria-hidden": "true"
|
|
1851
|
-
}, Ir = {
|
|
1852
|
-
class: "pv-flex pv-space-between pv-full-width",
|
|
1853
|
-
"data-sidebar-expanded-content": "",
|
|
1854
|
-
style: { "flex-wrap": "wrap" }
|
|
1855
|
-
}, Lr = {
|
|
1852
|
+
}, Fr = ["data-sidebar-collapsed"], Ir = {
|
|
1856
1853
|
key: 0,
|
|
1857
1854
|
class: "pv-tag-purple pv-tag-sm"
|
|
1858
|
-
},
|
|
1855
|
+
}, Lr = ["onClick", "onKeydown"], Rr = [
|
|
1859
1856
|
"href",
|
|
1860
1857
|
"aria-current",
|
|
1861
1858
|
"title"
|
|
1862
|
-
], Br = {
|
|
1863
|
-
class: "pv-flex pv-space-between pv-full-width",
|
|
1864
|
-
"data-sidebar-expanded-content": "",
|
|
1865
|
-
style: { "flex-wrap": "wrap" }
|
|
1866
|
-
}, Vr = {
|
|
1859
|
+
], zr = ["data-sidebar-collapsed"], Br = {
|
|
1867
1860
|
key: 0,
|
|
1868
1861
|
class: "pv-tag-purple pv-tag-sm"
|
|
1869
|
-
},
|
|
1862
|
+
}, Vr = {
|
|
1870
1863
|
class: "pv-popover",
|
|
1871
1864
|
style: { "--position": "static" }
|
|
1872
|
-
},
|
|
1865
|
+
}, Hr = {
|
|
1873
1866
|
role: "list",
|
|
1874
1867
|
class: "pv-popover-list"
|
|
1875
|
-
},
|
|
1868
|
+
}, Ur = ["data-active"], Wr = ["href"], Gr = {
|
|
1876
1869
|
key: 0,
|
|
1877
1870
|
class: "pv-tag-purple pv-tag-sm"
|
|
1878
|
-
},
|
|
1871
|
+
}, Kr = ["onClick", "onAuxclick"], qr = ["data-sidebar-collapsed"], Jr = ["data-sidebar-collapsed"], Yr = [
|
|
1879
1872
|
"href",
|
|
1880
1873
|
"role",
|
|
1881
1874
|
"tabindex",
|
|
1882
1875
|
"aria-current",
|
|
1883
1876
|
"aria-expanded",
|
|
1884
1877
|
"title"
|
|
1885
|
-
],
|
|
1878
|
+
], Xr = {
|
|
1886
1879
|
class: "pv-flex pv-space-between pv-full-width",
|
|
1887
1880
|
style: { "flex-wrap": "wrap" }
|
|
1888
|
-
},
|
|
1881
|
+
}, Zr = {
|
|
1889
1882
|
key: 0,
|
|
1890
1883
|
class: "pv-tag-purple pv-tag-sm"
|
|
1891
|
-
},
|
|
1884
|
+
}, Qr = [
|
|
1892
1885
|
"href",
|
|
1893
1886
|
"aria-current",
|
|
1894
1887
|
"title"
|
|
1895
|
-
],
|
|
1888
|
+
], $r = {
|
|
1896
1889
|
class: "pv-flex pv-space-between pv-full-width",
|
|
1897
1890
|
style: { "flex-wrap": "wrap" }
|
|
1898
|
-
},
|
|
1891
|
+
}, ei = {
|
|
1899
1892
|
key: 0,
|
|
1900
1893
|
class: "pv-tag-purple pv-tag-sm"
|
|
1901
|
-
},
|
|
1894
|
+
}, ti = {
|
|
1902
1895
|
class: "pv-sidebar-nav-footer pv-sticky",
|
|
1903
1896
|
style: { "--bottom": "0" }
|
|
1904
|
-
},
|
|
1897
|
+
}, ni = ["aria-expanded"], ri = ["data-sidebar-collapsed"], ii = { class: "pv-popover pv-text-default pv-text-body-md" }, ai = [
|
|
1905
1898
|
"aria-label",
|
|
1906
1899
|
"aria-expanded",
|
|
1907
1900
|
"title"
|
|
@@ -1911,10 +1904,7 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
1911
1904
|
"border-radius": "50%",
|
|
1912
1905
|
"flex-shrink": "0"
|
|
1913
1906
|
}
|
|
1914
|
-
}, si = ["src"], ci = { key: 1 }, li = {
|
|
1915
|
-
class: "pv-truncate",
|
|
1916
|
-
"data-sidebar-expanded-content": ""
|
|
1917
|
-
}, ui = {
|
|
1907
|
+
}, si = ["src"], ci = { key: 1 }, li = ["data-sidebar-collapsed"], ui = {
|
|
1918
1908
|
class: "pv-popover pv-text-default pv-text-body-md",
|
|
1919
1909
|
style: { "--height": "750px" }
|
|
1920
1910
|
}, di = { class: "content-panel" }, fi = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", pi = /* @__PURE__ */ d({
|
|
@@ -1989,23 +1979,23 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
1989
1979
|
rr(e) && (he.value[e.value] = !0);
|
|
1990
1980
|
});
|
|
1991
1981
|
});
|
|
1992
|
-
let V = re(e, "modelValue"), ge = k(!1), _e =
|
|
1993
|
-
|
|
1982
|
+
let V = re(e, "modelValue"), ge = k(!1), _e = r(() => !V.value && ge.value), H = n, ve = k(!1), ye = k(!1), be = k(!1), xe = k({}), Se = () => {
|
|
1983
|
+
ve.value = !1, D.value = {}, xe.value = {}, ye.value = !1, be.value = !1;
|
|
1994
1984
|
};
|
|
1995
|
-
L(
|
|
1996
|
-
e && (D.value = {},
|
|
1997
|
-
}), L(ve, (e) => {
|
|
1998
|
-
e && (H.value = !1, D.value = {}, ye.value = !1);
|
|
1985
|
+
L(ve, (e) => {
|
|
1986
|
+
e && (D.value = {}, ye.value = !1, be.value = !1);
|
|
1999
1987
|
}), L(ye, (e) => {
|
|
2000
|
-
e && (
|
|
1988
|
+
e && (ve.value = !1, D.value = {}, be.value = !1);
|
|
1989
|
+
}), L(be, (e) => {
|
|
1990
|
+
e && (ve.value = !1, D.value = {}, ye.value = !1);
|
|
2001
1991
|
}), L(V, () => {
|
|
2002
|
-
|
|
1992
|
+
Se(), ge.value = !0;
|
|
2003
1993
|
});
|
|
2004
|
-
let
|
|
2005
|
-
V.value = !V.value,
|
|
2006
|
-
},
|
|
1994
|
+
let Ce = () => {
|
|
1995
|
+
V.value = !V.value, H("change", { collapsed: V.value });
|
|
1996
|
+
}, we = (e) => {
|
|
2007
1997
|
e.target === e.currentTarget && e.propertyName === "grid-template-columns" && (ge.value = !1);
|
|
2008
|
-
},
|
|
1998
|
+
}, Te = (e) => e.some(rr), Ee = (e, t) => {
|
|
2009
1999
|
if (t.url) {
|
|
2010
2000
|
if (e.ctrlKey || e.metaKey || e.shiftKey || e.button === 1) {
|
|
2011
2001
|
window.open(t.url, "_blank", "noopener");
|
|
@@ -2021,15 +2011,21 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2021
2011
|
"is-transitioning": ge.value
|
|
2022
2012
|
}]]),
|
|
2023
2013
|
style: x(ae.value),
|
|
2024
|
-
onTransitionend:
|
|
2014
|
+
onTransitionend: we
|
|
2025
2015
|
}, [
|
|
2026
2016
|
s("div", {
|
|
2027
2017
|
ref_key: "sidebarPanel",
|
|
2028
2018
|
ref: ee,
|
|
2029
2019
|
class: "sidebar-panel"
|
|
2030
|
-
}, [s("div", null, [I(h) ? (E(), o("div", fr, [j(n.$slots, "sidebar-additional-header")])) : a("v-if", !0), s("div", {
|
|
2031
|
-
|
|
2032
|
-
"
|
|
2020
|
+
}, [s("div", null, [I(h) ? (E(), o("div", fr, [j(n.$slots, "sidebar-additional-header")])) : a("v-if", !0), s("div", {
|
|
2021
|
+
class: y(["sidebar-header", [{ "pv-border-bottom": V.value }]]),
|
|
2022
|
+
"data-sidebar-collapsed": V.value || void 0
|
|
2023
|
+
}, [s("div", mr, [e.organizations && e.organizations.length ? (E(), o("div", {
|
|
2024
|
+
key: 0,
|
|
2025
|
+
class: y(["pv-sidebar-nav-header", e.variant && `pv-sidebar-surface-${e.variant}`])
|
|
2026
|
+
}, [u(er, {
|
|
2027
|
+
modelValue: ye.value,
|
|
2028
|
+
"onUpdate:modelValue": r[0] ||= (e) => ye.value = e,
|
|
2033
2029
|
position: V.value ? "right-top" : "bottom-left",
|
|
2034
2030
|
"use-teleport": !!T.value,
|
|
2035
2031
|
"teleport-location": T.value ?? "body",
|
|
@@ -2037,7 +2033,7 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2037
2033
|
}, {
|
|
2038
2034
|
trigger: R(() => [u(nr, {
|
|
2039
2035
|
description: B.value?.label,
|
|
2040
|
-
disabled: !V.value || ge.value ||
|
|
2036
|
+
disabled: !V.value || ge.value || ye.value,
|
|
2041
2037
|
variant: "white",
|
|
2042
2038
|
position: "center-right",
|
|
2043
2039
|
delay: 250,
|
|
@@ -2049,10 +2045,10 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2049
2045
|
}, {
|
|
2050
2046
|
trigger: R(() => [s("button", {
|
|
2051
2047
|
type: "button",
|
|
2052
|
-
class: "pv-nav-list-item pv-full-width pv-space-between",
|
|
2048
|
+
class: y(["pv-nav-list-item pv-full-width pv-space-between", { "pv-sidebar-item-collapsed": V.value }]),
|
|
2053
2049
|
"data-testid": "pv-sidebar-org-switcher",
|
|
2054
2050
|
"aria-label": `Switch organization: ${B.value?.label}`,
|
|
2055
|
-
"aria-expanded":
|
|
2051
|
+
"aria-expanded": ye.value
|
|
2056
2052
|
}, [s("div", gr, [s("span", _r, [B.value?.avatarUrl ? (E(), o("img", {
|
|
2057
2053
|
key: 0,
|
|
2058
2054
|
src: B.value.avatarUrl,
|
|
@@ -2060,12 +2056,16 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2060
2056
|
}, null, 8, vr)) : (E(), o("span", yr, P(B.value?.label?.slice(0, 1)), 1))]), s("span", {
|
|
2061
2057
|
class: "pv-text-title-lg pv-truncate",
|
|
2062
2058
|
"data-sidebar-expanded-content": "",
|
|
2059
|
+
"data-sidebar-collapsed": V.value || void 0,
|
|
2060
|
+
"data-sidebar-expanding": _e.value || void 0,
|
|
2063
2061
|
title: B.value?.label
|
|
2064
2062
|
}, P(B.value?.label), 9, br)]), u(W, {
|
|
2065
2063
|
name: "chevron-down",
|
|
2066
2064
|
class: "pv-icon-16",
|
|
2067
|
-
"data-sidebar-expanded-content": ""
|
|
2068
|
-
|
|
2065
|
+
"data-sidebar-expanded-content": "",
|
|
2066
|
+
"data-sidebar-collapsed": V.value || void 0,
|
|
2067
|
+
"data-sidebar-expanding": _e.value || void 0
|
|
2068
|
+
}, null, 8, ["data-sidebar-collapsed", "data-sidebar-expanding"])], 10, hr)]),
|
|
2069
2069
|
_: 1
|
|
2070
2070
|
}, 8, [
|
|
2071
2071
|
"description",
|
|
@@ -2105,7 +2105,7 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2105
2105
|
"position",
|
|
2106
2106
|
"use-teleport",
|
|
2107
2107
|
"teleport-location"
|
|
2108
|
-
])])) : a("v-if", !0)]), e.disableToggle ? a("v-if", !0) : (E(), i(nr, {
|
|
2108
|
+
])], 2)) : a("v-if", !0)]), e.disableToggle ? a("v-if", !0) : (E(), i(nr, {
|
|
2109
2109
|
key: 0,
|
|
2110
2110
|
variant: "white",
|
|
2111
2111
|
position: "center-right",
|
|
@@ -2113,16 +2113,23 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2113
2113
|
}, {
|
|
2114
2114
|
trigger: R(() => [u($e, {
|
|
2115
2115
|
class: "sidebar-toggle",
|
|
2116
|
+
"data-sidebar-collapsed": V.value || void 0,
|
|
2117
|
+
"data-sidebar-expanding": _e.value || void 0,
|
|
2116
2118
|
"left-icon": V.value ? "panel-left-open" : "panel-left-close",
|
|
2117
2119
|
"aria-label": V.value ? "Open sidebar" : "Close sidebar",
|
|
2118
2120
|
variant: "ghost",
|
|
2119
|
-
onClick:
|
|
2120
|
-
}, null, 8, [
|
|
2121
|
+
onClick: Ce
|
|
2122
|
+
}, null, 8, [
|
|
2123
|
+
"data-sidebar-collapsed",
|
|
2124
|
+
"data-sidebar-expanding",
|
|
2125
|
+
"left-icon",
|
|
2126
|
+
"aria-label"
|
|
2127
|
+
])]),
|
|
2121
2128
|
content: R(() => [l(P(V.value ? "Expand navigation" : "Collapse navigation"), 1)]),
|
|
2122
2129
|
_: 1
|
|
2123
|
-
}))],
|
|
2124
|
-
I(m) ? (E(), o("div",
|
|
2125
|
-
e.navItems && e.navItems.length ? (E(), o("ul",
|
|
2130
|
+
}))], 10, pr)]), s("div", { class: y(["pv-sidebar-nav", e.variant && `pv-sidebar-surface-${e.variant}`]) }, [
|
|
2131
|
+
I(m) ? (E(), o("div", Mr, [j(n.$slots, "sidebar-additional-content")])) : a("v-if", !0),
|
|
2132
|
+
e.navItems && e.navItems.length ? (E(), o("ul", Nr, [(E(!0), o(t, null, A(e.navItems, (e) => (E(), o(t, { key: e.value }, [e.separatorAtTop ? (E(), o("li", Pr)) : a("v-if", !0), s("li", null, [a(" Slotted full-height panel - available while collapsed or expanded "), se(e) ? (E(), i(er, {
|
|
2126
2133
|
key: 0,
|
|
2127
2134
|
modelValue: D.value[e.value],
|
|
2128
2135
|
"onUpdate:modelValue": (t) => D.value[e.value] = t,
|
|
@@ -2138,7 +2145,7 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2138
2145
|
trigger: R(() => [(E(), i(te(e.url ? "a" : "button"), _({
|
|
2139
2146
|
ref_for: !0,
|
|
2140
2147
|
ref: (t) => le(I(N), e.value, t),
|
|
2141
|
-
class: "pv-nav-list-item",
|
|
2148
|
+
class: ["pv-nav-list-item", { "pv-sidebar-item-collapsed": V.value }],
|
|
2142
2149
|
href: e.url,
|
|
2143
2150
|
type: e.url ? void 0 : "button"
|
|
2144
2151
|
}, { ref_for: !0 }, e.linkAttrs, {
|
|
@@ -2152,9 +2159,15 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2152
2159
|
key: 0,
|
|
2153
2160
|
name: e.icon,
|
|
2154
2161
|
class: "pv-nav-icon"
|
|
2155
|
-
}, null, 8, ["name"])) : a("v-if", !0), s("span",
|
|
2162
|
+
}, null, 8, ["name"])) : a("v-if", !0), s("span", {
|
|
2163
|
+
class: "pv-flex pv-space-between pv-full-width",
|
|
2164
|
+
"data-sidebar-expanded-content": "",
|
|
2165
|
+
"data-sidebar-collapsed": V.value || void 0,
|
|
2166
|
+
style: { "flex-wrap": "wrap" }
|
|
2167
|
+
}, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (E(), o("span", Ir, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)], 8, Fr)]),
|
|
2156
2168
|
_: 2
|
|
2157
2169
|
}, 1040, [
|
|
2170
|
+
"class",
|
|
2158
2171
|
"href",
|
|
2159
2172
|
"type",
|
|
2160
2173
|
"aria-current",
|
|
@@ -2169,7 +2182,7 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2169
2182
|
class: "pv-sidebar-hover-panel",
|
|
2170
2183
|
onClick: (t) => pe(t, e.value),
|
|
2171
2184
|
onKeydown: (t) => z(t, e.value)
|
|
2172
|
-
}, [j(n.$slots, e.hoverPanelSlot)], 40,
|
|
2185
|
+
}, [j(n.$slots, e.hoverPanelSlot)], 40, Lr)]),
|
|
2173
2186
|
_: 2
|
|
2174
2187
|
}, 1032, [
|
|
2175
2188
|
"modelValue",
|
|
@@ -2188,7 +2201,7 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2188
2201
|
"css-custom-properties": { width: "100%" }
|
|
2189
2202
|
}, {
|
|
2190
2203
|
trigger: R(() => [s("a", _({
|
|
2191
|
-
class: "pv-nav-list-item",
|
|
2204
|
+
class: ["pv-nav-list-item", { "pv-sidebar-item-collapsed": V.value }],
|
|
2192
2205
|
href: e.url
|
|
2193
2206
|
}, { ref_for: !0 }, e.linkAttrs, {
|
|
2194
2207
|
"aria-current": e.active ? "page" : void 0,
|
|
@@ -2197,8 +2210,13 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2197
2210
|
key: 0,
|
|
2198
2211
|
name: e.icon,
|
|
2199
2212
|
class: "pv-nav-icon"
|
|
2200
|
-
}, null, 8, ["name"])) : a("v-if", !0), s("span",
|
|
2201
|
-
|
|
2213
|
+
}, null, 8, ["name"])) : a("v-if", !0), s("span", {
|
|
2214
|
+
class: "pv-flex pv-space-between pv-full-width",
|
|
2215
|
+
"data-sidebar-expanded-content": "",
|
|
2216
|
+
"data-sidebar-collapsed": V.value || void 0,
|
|
2217
|
+
style: { "flex-wrap": "wrap" }
|
|
2218
|
+
}, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (E(), o("span", Br, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)], 8, zr)], 16, Rr)]),
|
|
2219
|
+
content: R(() => [s("div", Vr, [s("ul", Hr, [s("li", { "data-active": e.active || void 0 }, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (E(), o("span", Gr, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)], 16, Wr)], 8, Ur)])])]),
|
|
2202
2220
|
_: 2
|
|
2203
2221
|
}, 1032, [
|
|
2204
2222
|
"use-teleport",
|
|
@@ -2218,23 +2236,32 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2218
2236
|
modelValue: he.value[e.value],
|
|
2219
2237
|
"onUpdate:modelValue": (t) => he.value[e.value] = t,
|
|
2220
2238
|
"default-open": I(rr)(e),
|
|
2221
|
-
"summary-attrs": {
|
|
2239
|
+
"summary-attrs": {
|
|
2240
|
+
class: V.value ? "pv-sidebar-item-collapsed" : void 0,
|
|
2241
|
+
"aria-current": Te(e.children) && V.value ? "page" : void 0
|
|
2242
|
+
},
|
|
2222
2243
|
"enable-trigger-slot": "",
|
|
2223
2244
|
"enable-trigger-full-width": ""
|
|
2224
2245
|
}, {
|
|
2225
2246
|
trigger: R(() => [s("div", {
|
|
2226
2247
|
class: "pv-flex",
|
|
2227
|
-
onClick: (t) => e.children.length === 1 &&
|
|
2228
|
-
onAuxclick: (t) => e.children.length === 1 &&
|
|
2248
|
+
onClick: (t) => e.children.length === 1 && Ee(t, e.children[0]),
|
|
2249
|
+
onAuxclick: (t) => e.children.length === 1 && Ee(t, e.children[0])
|
|
2229
2250
|
}, [e.icon ? (E(), i(W, {
|
|
2230
2251
|
key: 0,
|
|
2231
2252
|
name: e.icon,
|
|
2232
2253
|
class: "pv-nav-icon"
|
|
2233
|
-
}, null, 8, ["name"])) : a("v-if", !0), s("span",
|
|
2234
|
-
|
|
2254
|
+
}, null, 8, ["name"])) : a("v-if", !0), s("span", {
|
|
2255
|
+
"data-sidebar-expanded-content": "",
|
|
2256
|
+
"data-sidebar-collapsed": V.value || void 0
|
|
2257
|
+
}, P(e.label), 9, qr)], 40, Kr)]),
|
|
2258
|
+
default: R(() => [s("div", {
|
|
2259
|
+
class: "pv-sidebar-nav-nested",
|
|
2260
|
+
"data-sidebar-collapsed": V.value || void 0
|
|
2261
|
+
}, [(E(!0), o(t, null, A(e.children, (e) => (E(), o(t, { key: e.value }, [a(" Nested items - expanded-only flyout on the right; the collapsed flyout handles its own "), e.children?.length ? (E(), i(er, {
|
|
2235
2262
|
key: 0,
|
|
2236
|
-
modelValue:
|
|
2237
|
-
"onUpdate:modelValue": (t) =>
|
|
2263
|
+
modelValue: xe.value[e.value],
|
|
2264
|
+
"onUpdate:modelValue": (t) => xe.value[e.value] = t,
|
|
2238
2265
|
"show-on-hover": "",
|
|
2239
2266
|
"enable-group-sync": "",
|
|
2240
2267
|
"enable-click-toggle": "",
|
|
@@ -2250,12 +2277,12 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2250
2277
|
tabindex: e.url ? void 0 : 0,
|
|
2251
2278
|
"aria-current": I(rr)(e) ? "page" : void 0,
|
|
2252
2279
|
"aria-haspopup": "true",
|
|
2253
|
-
"aria-expanded": !!
|
|
2280
|
+
"aria-expanded": !!xe.value[e.value],
|
|
2254
2281
|
title: e.label
|
|
2255
|
-
}), [s("span",
|
|
2282
|
+
}), [s("span", Xr, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (E(), o("span", Zr, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)]), u(W, {
|
|
2256
2283
|
name: "chevron-right",
|
|
2257
2284
|
class: "pv-icon-16"
|
|
2258
|
-
})], 16,
|
|
2285
|
+
})], 16, Yr)]),
|
|
2259
2286
|
content: R(() => [u(dr, {
|
|
2260
2287
|
items: e.children,
|
|
2261
2288
|
disabled: V.value
|
|
@@ -2273,7 +2300,7 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2273
2300
|
}, { ref_for: !0 }, e.linkAttrs, {
|
|
2274
2301
|
"aria-current": e.active ? "page" : void 0,
|
|
2275
2302
|
title: e.label
|
|
2276
|
-
}), [s("span",
|
|
2303
|
+
}), [s("span", $r, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (E(), o("span", ei, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)])], 16, Qr))], 64))), 128))], 8, Jr)]),
|
|
2277
2304
|
_: 2
|
|
2278
2305
|
}, 1032, [
|
|
2279
2306
|
"modelValue",
|
|
@@ -2291,10 +2318,10 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2291
2318
|
"teleport-location",
|
|
2292
2319
|
"disabled"
|
|
2293
2320
|
])], 2112))])], 64))), 128))])) : a("v-if", !0),
|
|
2294
|
-
s("div",
|
|
2321
|
+
s("div", ti, [I(g) ? (E(), i(er, {
|
|
2295
2322
|
key: 0,
|
|
2296
|
-
modelValue:
|
|
2297
|
-
"onUpdate:modelValue": r[1] ||= (e) =>
|
|
2323
|
+
modelValue: ve.value,
|
|
2324
|
+
"onUpdate:modelValue": r[1] ||= (e) => ve.value = e,
|
|
2298
2325
|
position: V.value ? "right-bottom" : "top-left",
|
|
2299
2326
|
"show-on-hover": V.value,
|
|
2300
2327
|
"enable-group-sync": "",
|
|
@@ -2306,14 +2333,17 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2306
2333
|
}, {
|
|
2307
2334
|
trigger: R(() => [s("button", {
|
|
2308
2335
|
type: "button",
|
|
2309
|
-
class: "pv-nav-list-item",
|
|
2336
|
+
class: y(["pv-nav-list-item", { "pv-sidebar-item-collapsed": V.value }]),
|
|
2310
2337
|
"aria-label": "Help",
|
|
2311
|
-
"aria-expanded":
|
|
2338
|
+
"aria-expanded": ve.value,
|
|
2312
2339
|
title: "Help"
|
|
2313
2340
|
}, [u(W, {
|
|
2314
2341
|
name: "help-circle",
|
|
2315
2342
|
class: "pv-icon-20 pv-nav-icon"
|
|
2316
|
-
}),
|
|
2343
|
+
}), s("span", {
|
|
2344
|
+
"data-sidebar-expanded-content": "",
|
|
2345
|
+
"data-sidebar-collapsed": V.value || void 0
|
|
2346
|
+
}, "Help", 8, ri)], 10, ni)]),
|
|
2317
2347
|
content: R(() => [s("div", ii, [j(n.$slots, "sidebar-help-content")])]),
|
|
2318
2348
|
_: 3
|
|
2319
2349
|
}, 8, [
|
|
@@ -2324,8 +2354,8 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2324
2354
|
"teleport-location"
|
|
2325
2355
|
])) : a("v-if", !0), I(b) && e.profile ? (E(), i(er, {
|
|
2326
2356
|
key: 1,
|
|
2327
|
-
modelValue:
|
|
2328
|
-
"onUpdate:modelValue": r[2] ||= (e) =>
|
|
2357
|
+
modelValue: be.value,
|
|
2358
|
+
"onUpdate:modelValue": r[2] ||= (e) => be.value = e,
|
|
2329
2359
|
position: V.value ? "right-bottom" : "top-left",
|
|
2330
2360
|
"use-teleport": !!T.value,
|
|
2331
2361
|
"teleport-location": T.value ?? "body",
|
|
@@ -2334,16 +2364,20 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2334
2364
|
}, {
|
|
2335
2365
|
trigger: R(() => [s("button", {
|
|
2336
2366
|
type: "button",
|
|
2337
|
-
class: "pv-nav-list-item",
|
|
2367
|
+
class: y(["pv-nav-list-item", { "pv-sidebar-item-collapsed": V.value }]),
|
|
2338
2368
|
"data-testid": "pv-sidebar-profile-trigger",
|
|
2339
2369
|
"aria-label": e.profile.name,
|
|
2340
|
-
"aria-expanded":
|
|
2370
|
+
"aria-expanded": be.value,
|
|
2341
2371
|
title: e.profile.name
|
|
2342
2372
|
}, [s("span", oi, [e.profile.avatarUrl ? (E(), o("img", {
|
|
2343
2373
|
key: 0,
|
|
2344
2374
|
src: e.profile.avatarUrl,
|
|
2345
2375
|
alt: ""
|
|
2346
|
-
}, null, 8, si)) : (E(), o("span", ci, P(e.profile.name.slice(0, 1)), 1))]), s("span",
|
|
2376
|
+
}, null, 8, si)) : (E(), o("span", ci, P(e.profile.name.slice(0, 1)), 1))]), s("span", {
|
|
2377
|
+
class: "pv-truncate",
|
|
2378
|
+
"data-sidebar-expanded-content": "",
|
|
2379
|
+
"data-sidebar-collapsed": V.value || void 0
|
|
2380
|
+
}, P(e.profile.name), 9, li)], 10, ai)]),
|
|
2347
2381
|
content: R(() => [s("div", ui, [j(n.$slots, "sidebar-profile-content")])]),
|
|
2348
2382
|
_: 3
|
|
2349
2383
|
}, 8, [
|
|
@@ -2352,13 +2386,13 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
|
|
|
2352
2386
|
"use-teleport",
|
|
2353
2387
|
"teleport-location"
|
|
2354
2388
|
])) : a("v-if", !0)])
|
|
2355
|
-
])], 512),
|
|
2389
|
+
], 2)], 512),
|
|
2356
2390
|
s("div", di, [j(n.$slots, "default")]),
|
|
2357
2391
|
s("div", {
|
|
2358
2392
|
ref_key: "popoverTeleportTarget",
|
|
2359
2393
|
ref: T,
|
|
2360
|
-
class: "pv-sidebar-popover-portal"
|
|
2361
|
-
}, null,
|
|
2394
|
+
class: y(["pv-sidebar-popover-portal", e.variant && `pv-sidebar-surface-${e.variant}`])
|
|
2395
|
+
}, null, 2)
|
|
2362
2396
|
], 38));
|
|
2363
2397
|
}
|
|
2364
2398
|
}), mi = Object.defineProperty, hi = Object.getOwnPropertySymbols, gi = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, vi = (e, t, n) => t in e ? mi(e, t, {
|
|
@@ -2904,9 +2904,9 @@ var oa = /* @__PURE__ */ new Set(), sa = (e, t) => {
|
|
|
2904
2904
|
onDrop: (t) => k(t, parseInt(e.id.split("-")[1]) + 1)
|
|
2905
2905
|
}, [s("div", va, [s("span", ya, j(n.placeholderText), 1)])], 40, _a)) : (E(), o("div", {
|
|
2906
2906
|
key: 2,
|
|
2907
|
-
class: v(["pv-full-width pv-bordered pv-radius-md pv-flex pv-space-between", [!A(e) && M.value ? "pv-
|
|
2907
|
+
class: v(["pv-full-width pv-bordered pv-radius-md pv-flex pv-space-between", [!A(e) && M.value ? "pv-sortable-list-option-disabled" : "", l(e) ? "pv-sortable-locked" : ""]]),
|
|
2908
2908
|
style: b(oe(e))
|
|
2909
|
-
}, [s("div", { class: v(["pv-flex pv-full-width pv-
|
|
2909
|
+
}, [s("div", { class: v(["pv-flex pv-full-width pv-sortable-list-option", { "pv-sortable-list-option-locked": l(e) }]) }, [
|
|
2910
2910
|
a(" Locked entries gray their icons and text so they read as immovable at a\n glance; unlocked active entries keep the brand color. "),
|
|
2911
2911
|
u(Dn, {
|
|
2912
2912
|
class: "pv-text-tertiary",
|