@turquoisehealth/pit-viper 2.209.2 → 2.210.1

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 (39) 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-action-button-stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  17. package/pv-components/dist/vue/base/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -0
  18. package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +8 -0
  19. package/pv-components/dist/vue/base/pv-components-base.mjs +49 -34
  20. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  21. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -0
  22. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +8 -0
  23. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +49 -34
  24. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  25. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +66 -48
  26. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +164 -147
  27. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +687 -669
  28. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +689 -671
  29. package/pv-components/dist/web/components/pv-menu/pv-menu.js +678 -660
  30. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +216 -198
  31. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +411 -394
  32. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +51 -33
  33. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +64 -46
  34. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +66 -48
  35. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +576 -559
  36. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +497 -479
  37. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +321 -303
  38. package/pv-components/dist/web/pv-components.iife.js +16 -16
  39. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1,5 +1,5 @@
1
1
  import * as e from "vue";
2
- import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, defineCustomElement as f, getCurrentInstance as p, getCurrentScope as m, guardReactiveProps as h, inject as g, isRef as _, mergeModels as v, mergeProps as y, nextTick as b, normalizeClass as x, normalizeProps as S, normalizeStyle as C, onBeforeUnmount as w, onBeforeUpdate as T, onMounted as E, onScopeDispose as D, onUnmounted as ee, openBlock as O, provide as k, reactive as A, readonly as te, ref as j, renderList as ne, renderSlot as M, resolveComponent as re, resolveDynamicComponent as ie, shallowRef as N, toDisplayString as P, toValue as F, unref as I, useId as ae, useModel as oe, useSlots as se, useTemplateRef as ce, vModelCheckbox as le, vModelText as ue, vShow as de, watch as L, watchEffect as fe, withCtx as R, withDirectives as pe, withModifiers as me } from "vue";
2
+ import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, defineCustomElement as f, getCurrentInstance as p, getCurrentScope as m, guardReactiveProps as h, inject as g, isRef as _, mergeModels as v, mergeProps as y, nextTick as b, normalizeClass as x, normalizeProps as S, normalizeStyle as C, onBeforeUnmount as w, onBeforeUpdate as T, onMounted as E, onScopeDispose as ee, onUnmounted as D, openBlock as O, provide as k, reactive as A, readonly as te, ref as j, renderList as ne, renderSlot as M, resolveComponent as re, resolveDynamicComponent as ie, shallowRef as N, toDisplayString as P, toValue as F, unref as I, useId as ae, useModel as oe, useSlots as se, useTemplateRef as ce, vModelCheckbox as le, vModelText as ue, vShow as de, watch as L, watchEffect as fe, withCtx as R, withDirectives as pe, withModifiers as me } from "vue";
3
3
  //#region \0rolldown/runtime.js
4
4
  var he = Object.defineProperty, ge = Object.getOwnPropertyDescriptor, _e = Object.getOwnPropertyNames, ve = Object.prototype.hasOwnProperty, ye = (e, t) => {
5
5
  let n = {};
@@ -18,7 +18,7 @@ var he = Object.defineProperty, ge = Object.getOwnPropertyDescriptor, _e = Objec
18
18
  //#endregion
19
19
  //#region ../node_modules/.pnpm/@vueuse+shared@13.9.0_vue@3.5.32_typescript@5.9.3_/node_modules/@vueuse/shared/index.mjs
20
20
  function Se(e) {
21
- return m() ? (D(e), !0) : !1;
21
+ return m() ? (ee(e), !0) : !1;
22
22
  }
23
23
  var Ce = typeof window < "u" && typeof document < "u";
24
24
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -1541,7 +1541,7 @@ function vr(e, t, n) {
1541
1541
  }
1542
1542
  //#endregion
1543
1543
  //#region src/components/base/PvPopoverV2/PvPopoverV2.vue?vue&type=script&setup=true&lang.ts
1544
- var yr = ["popover"], br = 0, xr = /* @__PURE__ */ st(/* @__PURE__ */ d({
1544
+ var yr = ["popover"], br = "--pv-popover-v2-anchor", xr = /* @__PURE__ */ st(/* @__PURE__ */ d({
1545
1545
  __name: "PvPopoverV2",
1546
1546
  props: /* @__PURE__ */ v({
1547
1547
  disableAutoPlacement: {
@@ -1576,6 +1576,10 @@ var yr = ["popover"], br = 0, xr = /* @__PURE__ */ st(/* @__PURE__ */ d({
1576
1576
  default: 25,
1577
1577
  type: Number
1578
1578
  },
1579
+ closeDelay: {
1580
+ default: 200,
1581
+ type: Number
1582
+ },
1579
1583
  zIndex: {
1580
1584
  default: 10,
1581
1585
  type: Number
@@ -1596,8 +1600,9 @@ var yr = ["popover"], br = 0, xr = /* @__PURE__ */ st(/* @__PURE__ */ d({
1596
1600
  "anchor-name: --pv-anchor",
1597
1601
  "position-area: bottom",
1598
1602
  "position-try-fallbacks: flip-block",
1599
- "position-visibility: anchors-visible"
1600
- ].every((e) => CSS.supports(e)), g = j(!1), _ = j(null), v = j(null), y = j(null), x = j(null), S = j(""), w = Ye(v), T = Ye(x), D = j(!1), k = {
1603
+ "position-visibility: anchors-visible",
1604
+ `anchor-scope: ${br}`
1605
+ ].every((e) => CSS.supports(e)), g = j(!1), _ = j(null), v = j(null), y = j(null), x = j(null), S = Ye(v), w = Ye(x), T = j(!1), ee = {
1601
1606
  "top-center": "top",
1602
1607
  "bottom-center": "bottom",
1603
1608
  "center-left": "left",
@@ -1606,7 +1611,7 @@ var yr = ["popover"], br = 0, xr = /* @__PURE__ */ st(/* @__PURE__ */ d({
1606
1611
  "top-right": "top-end",
1607
1612
  "bottom-left": "bottom-start",
1608
1613
  "bottom-right": "bottom-end"
1609
- }, A = {
1614
+ }, k = {
1610
1615
  "top-center": {
1611
1616
  area: "top",
1612
1617
  margin: "margin-block-end"
@@ -1639,10 +1644,10 @@ var yr = ["popover"], br = 0, xr = /* @__PURE__ */ st(/* @__PURE__ */ d({
1639
1644
  area: "bottom span-left",
1640
1645
  margin: "margin-block-start"
1641
1646
  }
1642
- }, te = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), ne = r(() => h ? { "anchor-name": S.value } : void 0), re = r(() => {
1643
- let e = A[t.position];
1647
+ }, A = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), te = r(() => h ? { "anchor-scope": br } : void 0), ne = r(() => h ? { "anchor-name": br } : void 0), re = r(() => {
1648
+ let e = k[t.position];
1644
1649
  return {
1645
- "position-anchor": S.value,
1650
+ "position-anchor": br,
1646
1651
  "position-area": e.area,
1647
1652
  "position-try-fallbacks": t.disableAutoPlacement ? void 0 : "flip-block, flip-inline, flip-block flip-inline",
1648
1653
  [e.margin]: `${t.offset ?? 0}px`
@@ -1652,7 +1657,7 @@ var yr = ["popover"], br = 0, xr = /* @__PURE__ */ st(/* @__PURE__ */ d({
1652
1657
  let e = [];
1653
1658
  t.disableAutoPlacement || e.push(sr({ fallbackStrategy: "initialPlacement" })), t.offset && e.push(or(t.offset));
1654
1659
  let n = vr(y, x, {
1655
- placement: k[t.position],
1660
+ placement: ee[t.position],
1656
1661
  strategy: t.positioningStrategy,
1657
1662
  middleware: e
1658
1663
  });
@@ -1666,7 +1671,7 @@ var yr = ["popover"], br = 0, xr = /* @__PURE__ */ st(/* @__PURE__ */ d({
1666
1671
  i.width,
1667
1672
  i.height
1668
1673
  ], a), Be(_, () => {
1669
- t.disableClickOutsideToClose || se(!1);
1674
+ t.disableClickOutsideToClose || le(!1);
1670
1675
  }, { ignore: r(() => [
1671
1676
  x.value,
1672
1677
  ".p-datepicker-panel",
@@ -1676,55 +1681,67 @@ var yr = ["popover"], br = 0, xr = /* @__PURE__ */ st(/* @__PURE__ */ d({
1676
1681
  let P = r(() => ({
1677
1682
  ...N(),
1678
1683
  zIndex: t.zIndex
1679
- })), F, ae = () => {
1684
+ })), F, ae, se = () => {
1680
1685
  F && clearTimeout(F), F = void 0;
1681
- }, se = (e) => {
1682
- ae(), !(e && !m.value) && (e && t.delay > 0 && (t.showOnHover || !h) ? F = setTimeout(() => {
1686
+ }, ce = () => {
1687
+ ae && clearTimeout(ae), ae = void 0;
1688
+ }, le = (e) => {
1689
+ se(), ce(), !(e && !m.value) && (e && t.delay > 0 && (t.showOnHover || !h) ? F = setTimeout(() => {
1683
1690
  c.value = !0, F = void 0;
1684
1691
  }, t.delay) : c.value = e);
1685
- }, ce = () => {
1692
+ }, ue = () => {
1686
1693
  let e = x.value;
1687
1694
  !e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
1688
- }, le = r(() => t.showOnHover ? t.disableInteractive ? w.value || D.value : w.value || T.value || D.value : !1), ue = () => {
1689
- t.showOnHover || se(F ? !1 : !c.value);
1690
- }, fe = (e) => {
1695
+ }, fe = r(() => t.showOnHover ? t.disableInteractive ? S.value || T.value : S.value || w.value || T.value : !1), R = () => {
1696
+ t.showOnHover || le(F ? !1 : !c.value);
1697
+ }, me = (e) => {
1691
1698
  let t = e.newState === "open";
1692
1699
  c.value !== t && (c.value = t);
1693
- }, R = (e) => {
1694
- h && te.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), se(!1));
1700
+ }, he = (e) => {
1701
+ h && A.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), le(!1));
1695
1702
  };
1696
1703
  return L(c, async (e) => {
1697
1704
  if (!h) {
1698
1705
  e && ie();
1699
1706
  return;
1700
1707
  }
1701
- await b(), ce();
1702
- }), L(le, (e) => {
1703
- t.showOnHover && se(e);
1708
+ await b(), ue();
1709
+ }), L(fe, (e) => {
1710
+ if (t.showOnHover) {
1711
+ if (e) {
1712
+ le(!0);
1713
+ return;
1714
+ }
1715
+ se(), t.closeDelay > 0 ? (ce(), ae = setTimeout(() => {
1716
+ ae = void 0, fe.value || le(!1);
1717
+ }, t.closeDelay)) : le(!1);
1718
+ }
1704
1719
  }), L(m, (e) => {
1705
- e ? h && c.value && b(ce) : (ae(), c.value = !1);
1720
+ e ? h && c.value && b(ue) : (se(), ce(), c.value = !1);
1706
1721
  }), E(() => {
1707
- y.value = v.value, h && (S.value = `--pv-popover-v2-${++br}`), g.value = !0, c.value && b(() => h ? ce() : ie());
1708
- }), ee(ae), (r, l) => (O(), o("div", {
1722
+ y.value = v.value, g.value = !0, c.value && b(() => h ? ue() : ie());
1723
+ }), D(() => {
1724
+ se(), ce();
1725
+ }), (r, l) => (O(), o("div", {
1709
1726
  ref_key: "root",
1710
1727
  ref: _,
1711
- style: { width: "fit-content" },
1712
- onKeydown: R
1728
+ style: C([{ width: "fit-content" }, te.value]),
1729
+ onKeydown: he
1713
1730
  }, [s("div", {
1714
1731
  ref_key: "triggerWrapper",
1715
1732
  ref: v,
1716
1733
  style: C(ne.value),
1717
- onClick: ue,
1718
- onFocusin: l[0] ||= (e) => D.value = !0,
1719
- onFocusout: l[1] ||= (e) => D.value = !1
1734
+ onClick: R,
1735
+ onFocusin: l[0] ||= (e) => T.value = !0,
1736
+ onFocusout: l[1] ||= (e) => T.value = !1
1720
1737
  }, [M(r.$slots, "trigger")], 36), g.value && I(h) && m.value ? (O(), o("div", {
1721
1738
  key: 0,
1722
1739
  ref_key: "floating",
1723
1740
  ref: x,
1724
1741
  class: "pv-floating pv-floating-native",
1725
- popover: te.value,
1742
+ popover: A.value,
1726
1743
  style: C(re.value),
1727
- onToggle: fe
1744
+ onToggle: me
1728
1745
  }, [M(r.$slots, "content")], 44, yr)) : m.value ? (O(), i(n, {
1729
1746
  key: 1,
1730
1747
  to: e.teleportLocation,
@@ -1734,9 +1751,9 @@ var yr = ["popover"], br = 0, xr = /* @__PURE__ */ st(/* @__PURE__ */ d({
1734
1751
  ref: x,
1735
1752
  class: "pv-floating",
1736
1753
  style: C(P.value)
1737
- }, [M(r.$slots, "content")], 4), [[de, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 544));
1754
+ }, [M(r.$slots, "content")], 4), [[de, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1738
1755
  }
1739
- }), [["styles", [".pv-floating-native[data-v-146d33b3]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-146d33b3]>.pv-popover,.pv-floating-native>slot[name=content][data-v-146d33b3]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-146d33b3"]]);
1756
+ }), [["styles", [".pv-floating-native[data-v-08e2d92a]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-08e2d92a]>.pv-popover,.pv-floating-native>slot[name=content][data-v-08e2d92a]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-08e2d92a"]]);
1740
1757
  //#endregion
1741
1758
  //#region src/components/base/PvMenu/cascadeUtils.ts
1742
1759
  function Sr(e) {
@@ -1935,6 +1952,7 @@ var Tr = {
1935
1952
  default: 0,
1936
1953
  type: Number
1937
1954
  },
1955
+ closeDelay: { type: Number },
1938
1956
  zIndex: { type: Number },
1939
1957
  teleportLocation: { type: String },
1940
1958
  offset: { type: Number },
@@ -2124,10 +2142,10 @@ var Tr = {
2124
2142
  icon: n.menuOptionConfig?.variant === "icon" ? n.icon : void 0,
2125
2143
  companyName: n.menuOptionConfig?.variant === "company" ? n.companyName || n.text : void 0
2126
2144
  };
2127
- }), E = r(() => n.action ?? n.menuOptionConfig?.action), D = r(() => {
2145
+ }), E = r(() => n.action ?? n.menuOptionConfig?.action), ee = r(() => {
2128
2146
  let e = n.menuOptionConfig?.variant;
2129
2147
  return e !== "checkbox" && e !== "radio";
2130
- }), ee = r(() => n.menuOptionConfig?.variant === "radio" ? "radio" : "checkbox"), k = `${ee.value}-${p()?.uid}`, A = r(() => n.menuOptionConfig?.variant === "checkbox" ? "pv-checkbox" : "pv-radio"), te = r(() => `pv-menu${n.menuOptionConfig?.variant === "checkbox" ? "-checkbox" : n.menuOptionConfig?.variant === "radio" ? "-radio" : ""}-item`), ne = t, M = (e) => {
2148
+ }), D = r(() => n.menuOptionConfig?.variant === "radio" ? "radio" : "checkbox"), k = `${D.value}-${p()?.uid}`, A = r(() => n.menuOptionConfig?.variant === "checkbox" ? "pv-checkbox" : "pv-radio"), te = r(() => `pv-menu${n.menuOptionConfig?.variant === "checkbox" ? "-checkbox" : n.menuOptionConfig?.variant === "radio" ? "-radio" : ""}-item`), ne = t, M = (e) => {
2131
2149
  n.disabled || (ne("handle-selected", {
2132
2150
  option: { ...n },
2133
2151
  event: e
@@ -2147,8 +2165,8 @@ var Tr = {
2147
2165
  s("input", {
2148
2166
  ref_key: "inputRef",
2149
2167
  ref: c,
2150
- hidden: D.value,
2151
- type: ee.value,
2168
+ hidden: ee.value,
2169
+ type: D.value,
2152
2170
  name: k,
2153
2171
  checked: _.value,
2154
2172
  indeterminate: v.value,
@@ -2357,7 +2375,7 @@ var Tr = {
2357
2375
  }), E = r(() => Sr({
2358
2376
  ...i,
2359
2377
  children: v.value
2360
- }) && i.level < ri), D = r(() => E.value ? l.value ? m.value : !0 : !1), ee = r(() => m.value ? "chevron-down" : "chevron-right"), k = (e) => s && Array.isArray(s.value) ? s.value.some((t) => t.id === e.id) : c.value.includes(e.id), A = n, te = r(() => _.value || i.totalChildCount == null ? !1 : i.totalChildCount > v.value.length), M = async () => {
2378
+ }) && i.level < ri), ee = r(() => E.value ? l.value ? m.value : !0 : !1), D = r(() => m.value ? "chevron-down" : "chevron-right"), k = (e) => s && Array.isArray(s.value) ? s.value.some((t) => t.id === e.id) : c.value.includes(e.id), A = n, te = r(() => _.value || i.totalChildCount == null ? !1 : i.totalChildCount > v.value.length), M = async () => {
2361
2379
  if (h.value) return;
2362
2380
  if (!i.handleSeeMore) {
2363
2381
  A("see-more", {
@@ -2413,7 +2431,7 @@ var Tr = {
2413
2431
  queryText: e.queryText,
2414
2432
  highlightSearchText: e.highlightSearchText,
2415
2433
  showChevron: I(l) && E.value,
2416
- chevronIcon: ee.value,
2434
+ chevronIcon: D.value,
2417
2435
  expanded: m.value,
2418
2436
  onHandleSelected: ie,
2419
2437
  onToggleExpanded: S,
@@ -2427,7 +2445,7 @@ var Tr = {
2427
2445
  "chevronIcon",
2428
2446
  "expanded",
2429
2447
  "selected"
2430
- ]), D.value ? (O(), o("ul", {
2448
+ ]), ee.value ? (O(), o("ul", {
2431
2449
  key: 0,
2432
2450
  role: "list",
2433
2451
  style: C(w.value)
@@ -3068,7 +3086,7 @@ var Q = {
3068
3086
  getCommon({ name: e = "", theme: t = {}, params: n, set: r, defaults: i }) {
3069
3087
  let { preset: a, options: o } = t, s, c, l, u, d, f, p;
3070
3088
  if (Y(a) && o.transform !== "strict") {
3071
- let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme: g } = h, _ = Wi(h, ["colorScheme"]), v = m || {}, { colorScheme: y } = v, b = Wi(v, ["colorScheme"]), x = g || {}, { dark: S } = x, C = Wi(x, ["dark"]), w = y || {}, { dark: T } = w, E = Wi(w, ["dark"]), D = Y(t) ? this._toVariables({ primitive: t }, o) : {}, ee = Y(_) ? this._toVariables({ semantic: _ }, o) : {}, O = Y(C) ? this._toVariables({ light: C }, o) : {}, k = Y(S) ? this._toVariables({ dark: S }, o) : {}, A = Y(b) ? this._toVariables({ semantic: b }, o) : {}, te = Y(E) ? this._toVariables({ light: E }, o) : {}, j = Y(T) ? this._toVariables({ dark: T }, o) : {}, [ne, M] = [D.declarations ?? "", D.tokens], [re, ie] = [ee.declarations ?? "", ee.tokens || []], [N, P] = [O.declarations ?? "", O.tokens || []], [F, I] = [k.declarations ?? "", k.tokens || []], [ae, oe] = [A.declarations ?? "", A.tokens || []], [se, ce] = [te.declarations ?? "", te.tokens || []], [le, ue] = [j.declarations ?? "", j.tokens || []];
3089
+ let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme: g } = h, _ = Wi(h, ["colorScheme"]), v = m || {}, { colorScheme: y } = v, b = Wi(v, ["colorScheme"]), x = g || {}, { dark: S } = x, C = Wi(x, ["dark"]), w = y || {}, { dark: T } = w, E = Wi(w, ["dark"]), ee = Y(t) ? this._toVariables({ primitive: t }, o) : {}, D = Y(_) ? this._toVariables({ semantic: _ }, o) : {}, O = Y(C) ? this._toVariables({ light: C }, o) : {}, k = Y(S) ? this._toVariables({ dark: S }, o) : {}, A = Y(b) ? this._toVariables({ semantic: b }, o) : {}, te = Y(E) ? this._toVariables({ light: E }, o) : {}, j = Y(T) ? this._toVariables({ dark: T }, o) : {}, [ne, M] = [ee.declarations ?? "", ee.tokens], [re, ie] = [D.declarations ?? "", D.tokens || []], [N, P] = [O.declarations ?? "", O.tokens || []], [F, I] = [k.declarations ?? "", k.tokens || []], [ae, oe] = [A.declarations ?? "", A.tokens || []], [se, ce] = [te.declarations ?? "", te.tokens || []], [le, ue] = [j.declarations ?? "", j.tokens || []];
3072
3090
  s = this.transformCSS(e, ne, "light", "variable", o, r, i), c = M, l = `${this.transformCSS(e, `${re}${N}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${F}`, "dark", "variable", o, r, i)}`, u = [...new Set([
3073
3091
  ...ie,
3074
3092
  ...P,
@@ -3102,9 +3120,9 @@ var Q = {
3102
3120
  "colorScheme",
3103
3121
  "extend",
3104
3122
  "css"
3105
- ]), h = f || {}, { colorScheme: g } = h, _ = Wi(h, ["colorScheme"]), v = d || {}, { dark: y } = v, b = Wi(v, ["dark"]), x = g || {}, { dark: S } = x, C = Wi(x, ["dark"]), w = Y(m) ? this._toVariables({ [r]: Z(Z({}, m), _) }, n) : {}, T = Y(b) ? this._toVariables({ [r]: Z(Z({}, b), C) }, n) : {}, E = Y(y) ? this._toVariables({ [r]: Z(Z({}, y), S) }, n) : {}, [D, ee] = [w.declarations ?? "", w.tokens || []], [O, k] = [T.declarations ?? "", T.tokens || []], [A, te] = [E.declarations ?? "", E.tokens || []];
3106
- s = `${this.transformCSS(r, `${D}${O}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, A, "dark", "variable", n, i, a, o)}`, c = [...new Set([
3107
- ...ee,
3123
+ ]), h = f || {}, { colorScheme: g } = h, _ = Wi(h, ["colorScheme"]), v = d || {}, { dark: y } = v, b = Wi(v, ["dark"]), x = g || {}, { dark: S } = x, C = Wi(x, ["dark"]), w = Y(m) ? this._toVariables({ [r]: Z(Z({}, m), _) }, n) : {}, T = Y(b) ? this._toVariables({ [r]: Z(Z({}, b), C) }, n) : {}, E = Y(y) ? this._toVariables({ [r]: Z(Z({}, y), S) }, n) : {}, [ee, D] = [w.declarations ?? "", w.tokens || []], [O, k] = [T.declarations ?? "", T.tokens || []], [A, te] = [E.declarations ?? "", E.tokens || []];
3124
+ s = `${this.transformCSS(r, `${ee}${O}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, A, "dark", "variable", n, i, a, o)}`, c = [...new Set([
3125
+ ...D,
3108
3126
  ...k,
3109
3127
  ...te
3110
3128
  ])], l = Si(p, { dt: aa });
@@ -3465,7 +3483,7 @@ function ga(e) {
3465
3483
  }
3466
3484
  var _a = 0;
3467
3485
  function va(e) {
3468
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = j(!1), r = j(e), i = j(null), a = Pi() ? 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, f = t.name, p = f === void 0 ? `style_${++_a}` : f, m = t.id, h = m === void 0 ? void 0 : m, g = t.media, _ = g === void 0 ? void 0 : g, v = t.nonce, y = v === void 0 ? void 0 : v, b = t.first, x = b === void 0 ? !1 : b, S = t.onMounted, C = S === void 0 ? void 0 : S, w = t.onUpdated, T = w === void 0 ? void 0 : w, E = t.onLoad, D = E === void 0 ? void 0 : E, ee = t.props, O = ee === void 0 ? {} : ee, k = function() {}, A = function(t) {
3486
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = j(!1), r = j(e), i = j(null), a = Pi() ? 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, f = t.name, p = f === void 0 ? `style_${++_a}` : f, m = t.id, h = m === void 0 ? void 0 : m, g = t.media, _ = g === void 0 ? void 0 : g, v = t.nonce, y = v === void 0 ? void 0 : v, b = t.first, x = b === void 0 ? !1 : b, S = t.onMounted, C = S === void 0 ? void 0 : S, w = t.onUpdated, T = w === void 0 ? void 0 : w, E = t.onLoad, ee = E === void 0 ? void 0 : E, D = t.props, O = D === void 0 ? {} : D, k = function() {}, A = function(t) {
3469
3487
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3470
3488
  if (s) {
3471
3489
  var o = fa(fa({}, O), a), c = o.name || p, l = o.id || h, u = o.nonce || y;
@@ -3475,7 +3493,7 @@ function va(e) {
3475
3493
  media: _,
3476
3494
  nonce: u
3477
3495
  }), x ? s.head.prepend(i.value) : s.head.appendChild(i.value), Fi(i.value, "data-primevue-style-id", c), Ni(i.value, o), i.value.onload = function(e) {
3478
- return D?.(e, { name: c });
3496
+ return ee?.(e, { name: c });
3479
3497
  }, C?.(c)), !n.value && (k = L(r, function(e) {
3480
3498
  i.value.textContent = e, T?.(c);
3481
3499
  }, { immediate: !0 }), n.value = !0);