@turquoisehealth/pit-viper 2.224.1-dev.1 → 2.224.1-dev.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.
Files changed (45) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +1 -1
  2. package/_site/assets/css/pit-viper-consumer.css +1 -1
  3. package/_site/assets/css/pit-viper-v2-scoped.css +1 -1
  4. package/_site/assets/css/pit-viper-v2.css +1 -1
  5. package/package.json +1 -1
  6. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  7. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-search-input-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  16. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/types.d.ts +5 -0
  17. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  18. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/types.d.ts +2 -0
  19. package/pv-components/dist/vue/ai/components/base/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
  20. package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +5 -0
  21. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  22. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +2 -0
  23. package/pv-components/dist/vue/base/components/base/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
  24. package/pv-components/dist/vue/base/pv-components-base.mjs +699 -682
  25. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  26. package/pv-components/dist/vue/base/types.d.ts +2 -0
  27. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +5 -0
  28. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  29. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +2 -0
  30. package/pv-components/dist/vue/visualizations/components/base/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
  31. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +5 -1
  32. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +1 -0
  33. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2457 -2435
  34. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  35. package/pv-components/dist/vue/visualizations/types.d.ts +2 -0
  36. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +554 -549
  37. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +809 -793
  38. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +632 -623
  39. package/pv-components/dist/web/components/pv-menu/pv-menu.js +21 -15
  40. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1712 -1697
  41. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +21 -15
  42. package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +17 -8
  43. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +82 -68
  44. package/pv-components/dist/web/pv-components.iife.js +14 -14
  45. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1728,19 +1728,19 @@ var jr = {
1728
1728
  config: { type: Object }
1729
1729
  },
1730
1730
  setup(e) {
1731
- let n = e, c = M(null), l = M(null), u = r(() => n.subText || null), d = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), f = (e, t, n) => {
1732
- let r = d(n), i = RegExp(`(${r})`, "gi");
1731
+ let n = e, c = M(null), l = M(null), u = r(() => n.menuOptionConfig?.size === "lg" ? "sm" : "lg"), d = r(() => n.menuOptionConfig?.size === "xl" ? 20 : void 0), f = r(() => n.subText || null), p = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), m = (e, t, n) => {
1732
+ let r = p(n), i = RegExp(`(${r})`, "gi");
1733
1733
  e.innerHTML = t.replace(i, "<span data-test-id=\"pv-matched-text\" style=\"font-weight: bold;\">$1</span>");
1734
- }, p = () => {
1734
+ }, h = () => {
1735
1735
  if (n.queryText) {
1736
- let e = new RegExp(d(n.queryText), "gi").test(n.text);
1737
- c.value && f(c.value, n.text, n.queryText), l.value && u.value && (e ? l.value.textContent = u.value : f(l.value, u.value, n.queryText));
1738
- } else c.value && (c.value.textContent = n.text), l.value && u.value && (l.value.textContent = u.value);
1736
+ let e = new RegExp(p(n.queryText), "gi").test(n.text);
1737
+ c.value && m(c.value, n.text, n.queryText), l.value && f.value && (e ? l.value.textContent = f.value : m(l.value, f.value, n.queryText));
1738
+ } else c.value && (c.value.textContent = n.text), l.value && f.value && (l.value.textContent = f.value);
1739
1739
  };
1740
1740
  return D(() => {
1741
- p();
1741
+ h();
1742
1742
  }), F(() => n.queryText, () => {
1743
- p();
1743
+ h();
1744
1744
  }), (n, r) => (A(), o(t, null, [
1745
1745
  e.avatar ? (A(), i(Ir, {
1746
1746
  key: 0,
@@ -1748,18 +1748,24 @@ var jr = {
1748
1748
  image: e.avatar.image,
1749
1749
  variant: e.avatar.variant,
1750
1750
  shape: e.avatar.shape,
1751
- size: "lg"
1751
+ size: u.value
1752
1752
  }, null, 8, [
1753
1753
  "initials",
1754
1754
  "image",
1755
1755
  "variant",
1756
- "shape"
1756
+ "shape",
1757
+ "size"
1757
1758
  ])) : a("v-if", !0),
1758
1759
  e.icon ? (A(), i(Dr, {
1759
1760
  key: 1,
1760
1761
  class: S({ "pv-text-subdued": !e.disabled }),
1761
- name: e.icon
1762
- }, null, 8, ["class", "name"])) : a("v-if", !0),
1762
+ name: e.icon,
1763
+ size: d.value
1764
+ }, null, 8, [
1765
+ "class",
1766
+ "name",
1767
+ "size"
1768
+ ])) : a("v-if", !0),
1763
1769
  e.companyName ? (A(), i(Nr, {
1764
1770
  key: 2,
1765
1771
  name: e.companyName,
@@ -1775,7 +1781,7 @@ var jr = {
1775
1781
  key: 0,
1776
1782
  class: S({ "pv-text-subdued": !e.disabled }),
1777
1783
  style: { "padding-left": "4px" }
1778
- }, N(e.subduedText), 3)) : a("v-if", !0)], 8, zr), u.value ? (A(), o("span", {
1784
+ }, N(e.subduedText), 3)) : a("v-if", !0)], 8, zr), f.value ? (A(), o("span", {
1779
1785
  key: 0,
1780
1786
  ref_key: "subText",
1781
1787
  ref: l,
@@ -1785,8 +1791,8 @@ var jr = {
1785
1791
  "pv-truncate",
1786
1792
  { "pv-text-subdued": !e.disabled }
1787
1793
  ]),
1788
- title: e.hoverTitle ?? u.value
1789
- }, N(u.value), 11, Br)) : a("v-if", !0)]),
1794
+ title: e.hoverTitle ?? f.value
1795
+ }, N(f.value), 11, Br)) : a("v-if", !0)]),
1790
1796
  e.secondaryText && typeof e.secondaryText == "number" ? (A(), i(Lr, {
1791
1797
  key: 3,
1792
1798
  value: e.secondaryText,
@@ -60,18 +60,26 @@ var ne = { class: "pv-relative" }, re = ["disabled", "placeholder"], ie = {
60
60
  key: 0,
61
61
  "data-testid": "pv-search-input-shortcut",
62
62
  class: "pv-kbd"
63
- }, ae = "/", oe = /* @__PURE__ */ i({
63
+ }, ae = "/", oe = /* @__PURE__ */ ((e, t) => {
64
+ let n = e.__vccOpts || e;
65
+ for (let [e, r] of t) n[e] = r;
66
+ return n;
67
+ })(/* @__PURE__ */ i({
64
68
  __name: "PvSearchInput",
65
69
  props: /* @__PURE__ */ c({
66
- placeholder: {
67
- default: "Search",
68
- type: String
69
- },
70
70
  disabled: {
71
71
  type: Boolean,
72
72
  default: !1
73
73
  },
74
- displayShortcut: { type: Boolean }
74
+ displayShortcut: { type: Boolean },
75
+ placeholder: {
76
+ default: "Search",
77
+ type: String
78
+ },
79
+ size: {
80
+ default: "xl",
81
+ type: String
82
+ }
75
83
  }, {
76
84
  modelValue: {
77
85
  required: !1,
@@ -84,7 +92,8 @@ var ne = { class: "pv-relative" }, re = ["disabled", "placeholder"], ie = {
84
92
  let o = i, s = x("search-input"), c = b(i, "modelValue"), l = e(() => ({
85
93
  "pv-input-search": !0,
86
94
  "pv-full-width": !0,
87
- "pv-input-padded-end": !0
95
+ "pv-input-padded-end": !0,
96
+ "pv-input-small": o.size === "lg"
88
97
  }));
89
98
  return d(() => {
90
99
  o.displayShortcut && te(ae, (e) => {
@@ -101,7 +110,7 @@ var ne = { class: "pv-relative" }, re = ["disabled", "placeholder"], ie = {
101
110
  placeholder: i.placeholder
102
111
  }, null, 10, re), [[S, c.value]]), i.displayShortcut ? (p(), n("kbd", ie, _(ae))) : t("v-if", !0)]));
103
112
  }
104
- }), se = Object.defineProperty, ce = Object.getOwnPropertySymbols, le = Object.prototype.hasOwnProperty, ue = Object.prototype.propertyIsEnumerable, de = (e, t, n) => t in e ? se(e, t, {
113
+ }), [["styles", [".pv-input-search[data-v-9e0c84d9]{display:block}"]], ["__scopeId", "data-v-9e0c84d9"]]), se = Object.defineProperty, ce = Object.getOwnPropertySymbols, le = Object.prototype.hasOwnProperty, ue = Object.prototype.propertyIsEnumerable, de = (e, t, n) => t in e ? se(e, t, {
105
114
  enumerable: !0,
106
115
  configurable: !0,
107
116
  writable: !0,
@@ -313,15 +313,19 @@ var nt = { class: "pv-relative" }, rt = ["disabled", "placeholder"], it = {
313
313
  }, at = "/", ot = /* @__PURE__ */ d({
314
314
  __name: "PvSearchInput",
315
315
  props: /* @__PURE__ */ v({
316
- placeholder: {
317
- default: "Search",
318
- type: String
319
- },
320
316
  disabled: {
321
317
  type: Boolean,
322
318
  default: !1
323
319
  },
324
- displayShortcut: { type: Boolean }
320
+ displayShortcut: { type: Boolean },
321
+ placeholder: {
322
+ default: "Search",
323
+ type: String
324
+ },
325
+ size: {
326
+ default: "xl",
327
+ type: String
328
+ }
325
329
  }, {
326
330
  modelValue: {
327
331
  required: !1,
@@ -334,7 +338,8 @@ var nt = { class: "pv-relative" }, rt = ["disabled", "placeholder"], it = {
334
338
  let n = e, i = ue("search-input"), c = ce(e, "modelValue"), l = r(() => ({
335
339
  "pv-input-search": !0,
336
340
  "pv-full-width": !0,
337
- "pv-input-padded-end": !0
341
+ "pv-input-padded-end": !0,
342
+ "pv-input-small": n.size === "lg"
338
343
  }));
339
344
  return E(() => {
340
345
  n.displayShortcut && Qe(at, (e) => {
@@ -351,23 +356,27 @@ var nt = { class: "pv-relative" }, rt = ["disabled", "placeholder"], it = {
351
356
  placeholder: e.placeholder
352
357
  }, null, 10, rt), [[fe, c.value]]), e.displayShortcut ? (k(), o("kbd", it, N(at))) : a("v-if", !0)]));
353
358
  }
354
- });
359
+ }), st = ".pv-input-search[data-v-9e0c84d9]{display:block}", ct = (e, t) => {
360
+ let n = e.__vccOpts || e;
361
+ for (let [e, r] of t) n[e] = r;
362
+ return n;
363
+ }, lt = /* @__PURE__ */ ct(ot, [["styles", [st]], ["__scopeId", "data-v-9e0c84d9"]]);
355
364
  //#endregion
356
365
  //#region src/web-components/utils.ts
357
- function st() {
366
+ function ut() {
358
367
  let e = M(!1), t = p()?.root || {};
359
368
  return "isCE" in t && t.isCE === !0 && (e.value = !0), e;
360
369
  }
361
370
  //#endregion
362
371
  //#region src/components/base/baseProps.ts
363
- var ct = {
372
+ var dt = {
364
373
  xs: "12px",
365
374
  sm: "16px",
366
375
  md: "20px",
367
376
  lg: "24px",
368
377
  xl: "32px",
369
378
  "2x": "40px"
370
- }, lt = [
379
+ }, ft = [
371
380
  void 0,
372
381
  10,
373
382
  12,
@@ -375,24 +384,24 @@ var ct = {
375
384
  24,
376
385
  32,
377
386
  64
378
- ], ut = ["xlink:href"], dt = /* @__PURE__ */ d({
387
+ ], pt = ["xlink:href"], mt = /* @__PURE__ */ d({
379
388
  __name: "PvIcon",
380
389
  props: {
381
390
  name: { type: String },
382
391
  size: { type: null }
383
392
  },
384
393
  setup(e) {
385
- let t = e, n = st(), i = M(null), a = r(() => ({
394
+ let t = e, n = ut(), i = M(null), a = r(() => ({
386
395
  "pv-icon": !0,
387
- [`pv-icon-${t.size}`]: t.size != null && lt.includes(t.size)
396
+ [`pv-icon-${t.size}`]: t.size != null && ft.includes(t.size)
388
397
  })), c = r(() => n.value && i.value ? `${i.value}#${t.name}` : `#${t.name}`);
389
398
  return globalThis.__PV_GLOBAL_SPRITE_PATH__ && (i.value = globalThis.__PV_GLOBAL_SPRITE_PATH__), (e, t) => (k(), o("svg", {
390
399
  "data-testid": "pv-icon",
391
400
  "aria-hidden": "true",
392
401
  class: x(a.value)
393
- }, [s("use", { "xlink:href": c.value }, null, 8, ut)], 2));
402
+ }, [s("use", { "xlink:href": c.value }, null, 8, pt)], 2));
394
403
  }
395
- }), ft = /* @__PURE__ */ d({
404
+ }), ht = /* @__PURE__ */ ct(/* @__PURE__ */ d({
396
405
  __name: "PvCounterBadge",
397
406
  props: {
398
407
  maxValue: {
@@ -429,11 +438,7 @@ var ct = {
429
438
  "data-testid": "pv-counter-badge"
430
439
  }, N(n.value), 3));
431
440
  }
432
- }), pt = ".pv-badge-md[data-v-013a5d76]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-013a5d76]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}", mt = (e, t) => {
433
- let n = e.__vccOpts || e;
434
- for (let [e, r] of t) n[e] = r;
435
- return n;
436
- }, ht = /* @__PURE__ */ mt(ft, [["styles", [pt]], ["__scopeId", "data-v-013a5d76"]]), gt = {
441
+ }), [["styles", [".pv-badge-md[data-v-013a5d76]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-013a5d76]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}"]], ["__scopeId", "data-v-013a5d76"]]), gt = {
437
442
  class: "pv-flex",
438
443
  "data-testid": "pv-company-logo"
439
444
  }, _t = ["src"], vt = /* @__PURE__ */ d({
@@ -451,7 +456,7 @@ var ct = {
451
456
  srcPathOverride: { type: String }
452
457
  },
453
458
  setup(e) {
454
- let t = e, n = M(!0), i = r(() => ct[t.size] || "32px"), a = r(() => ({
459
+ let t = e, n = M(!0), i = r(() => dt[t.size] || "32px"), a = r(() => ({
455
460
  "pv-icon": n.value,
456
461
  [`pv-company-${t.size}`]: t.size && !n.value
457
462
  })), c = r(() => ({ width: i.value })), l = r(() => `${t.name.toLowerCase().replace(/[^a-z\s]/g, "").trim().replace(/\s+/g, "_")}.svg`), u = r(() => t.srcPathOverride ? t.srcPathOverride : `${t.basePath}/${l.value}`);
@@ -506,7 +511,7 @@ var ct = {
506
511
  "data-testid": "pv-avatar",
507
512
  "data-style": e.variant,
508
513
  "data-shape": e.shape
509
- }, [e.icon ? (k(), i(dt, {
514
+ }, [e.icon ? (k(), i(mt, {
510
515
  key: 0,
511
516
  name: e.icon,
512
517
  size: r[e.size]
@@ -533,7 +538,7 @@ function wt(e, t) {
533
538
  return n ? t === "default" || t === "" ? n.querySelector("slot:not([name])") : n.querySelector(`slot[name="${CSS.escape(t)}"]`) : null;
534
539
  }
535
540
  function Tt(e, t = {}) {
536
- let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = st(), l = i ?? le(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = M(d());
541
+ let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = ut(), l = i ?? le(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = M(d());
537
542
  T(() => {
538
543
  f.value = d();
539
544
  });
@@ -664,7 +669,7 @@ var Et = [
664
669
  "data-testid": "pv-select-prefix-label",
665
670
  class: "pv-border-right pv-text-quaternary",
666
671
  style: { "padding-right": "4px" }
667
- }, Ft = ["title"], It = /* @__PURE__ */ mt(/* @__PURE__ */ d({
672
+ }, Ft = ["title"], It = /* @__PURE__ */ ct(/* @__PURE__ */ d({
668
673
  __name: "PvSelectButtonTrigger",
669
674
  props: {
670
675
  avatar: { type: Object },
@@ -712,7 +717,7 @@ var Et = [
712
717
  n.inverse && kt.includes(n.variant) ? e.push(`pv-button-${n.variant}-inverse`) : e.push(`pv-button-${n.variant}`);
713
718
  let t = jt(n.size);
714
719
  return t && e.push(t), e;
715
- }), d = r(() => n.isLoading ? "Loading..." : n.selectedItems && n.selectedItems.length > 0 && n.counterStyle === "secondary" ? n.selectedItems[0].text : n.label), f = r(() => {
720
+ }), d = r(() => n.size === "xl" ? "lg" : "sm"), f = r(() => n.size === "xl" ? 20 : void 0), p = r(() => n.isLoading ? "Loading..." : n.selectedItems && n.selectedItems.length > 0 && n.counterStyle === "secondary" ? n.selectedItems[0].text : n.label), m = r(() => {
716
721
  if (n.selectedOption) return {
717
722
  ...n.selectedOption,
718
723
  menuOptionConfig: n.menuOptionConfig,
@@ -735,12 +740,13 @@ var Et = [
735
740
  variant: e.counterBadgeVariant,
736
741
  size: "sm"
737
742
  }, null, 8, ["value", "variant"])) : a("v-if", !0),
738
- !e.isLoading && e.renderer && f.value ? (k(), i(ie(e.renderer), S(y({ key: 2 }, f.value)), null, 16)) : (k(), o(t, { key: 3 }, [
739
- e.icon ? (k(), i(dt, {
743
+ !e.isLoading && e.renderer && m.value ? (k(), i(ie(e.renderer), S(y({ key: 2 }, m.value)), null, 16)) : (k(), o(t, { key: 3 }, [
744
+ e.icon ? (k(), i(mt, {
740
745
  key: 0,
741
746
  "data-testid": "pv-multi-select-button-icon",
742
- name: e.icon
743
- }, null, 8, ["name"])) : a("v-if", !0),
747
+ name: e.icon,
748
+ size: f.value
749
+ }, null, 8, ["name", "size"])) : a("v-if", !0),
744
750
  e.companyLogo ? (k(), i(vt, {
745
751
  key: 1,
746
752
  name: e.companyLogo,
@@ -754,18 +760,19 @@ var Et = [
754
760
  image: e.avatar.image,
755
761
  variant: e.avatar.variant,
756
762
  shape: e.avatar.shape,
757
- size: "sm"
763
+ size: d.value
758
764
  }, null, 8, [
759
765
  "initials",
760
766
  "image",
761
767
  "variant",
762
- "shape"
768
+ "shape",
769
+ "size"
763
770
  ])) : a("v-if", !0),
764
771
  e.isLoading || e.label ? (k(), o("span", {
765
772
  key: 3,
766
- class: "pv-truncate pv-select-button-trigger-label",
767
- title: d.value
768
- }, N(d.value), 9, Ft)) : a("v-if", !0)
773
+ class: "pv-text-body-md pv-text-regular pv-truncate pv-select-button-trigger-label",
774
+ title: p.value
775
+ }, N(p.value), 9, Ft)) : a("v-if", !0)
769
776
  ], 64)),
770
777
  e.counterPosition === "right" && e.counterValue && e.counterStyle === "primary" ? (k(), i(ht, {
771
778
  key: 4,
@@ -783,7 +790,7 @@ var Et = [
783
790
  size: "sm"
784
791
  }, null, 8, ["value"])) : a("v-if", !0)
785
792
  ]),
786
- e.showDropdown ? (k(), i(dt, {
793
+ e.showDropdown ? (k(), i(mt, {
787
794
  key: 0,
788
795
  name: e.open ? "chevron-up" : "chevron-down"
789
796
  }, null, 8, ["name"])) : a("v-if", !0),
@@ -793,7 +800,7 @@ var Et = [
793
800
  variant: "dark",
794
801
  "tooltip-position": "top-left"
795
802
  }, {
796
- label: he(() => [u(dt, {
803
+ label: he(() => [u(mt, {
797
804
  name: "close",
798
805
  onClick: r[0] ||= _e((e) => n.$emit("handle-clear"), ["stop"])
799
806
  })]),
@@ -802,11 +809,11 @@ var Et = [
802
809
  })) : a("v-if", !0)
803
810
  ], 10, Mt));
804
811
  }
805
- }), [["styles", [".pv-select-button-trigger-avatar[data-v-5b922a5f]{font-size:.5rem;font-weight:700}.pv-select-button-trigger-content[data-v-5b922a5f]{min-width:0}.pv-select-button-trigger-label[data-v-5b922a5f]{flex:auto;min-width:0}"]], ["__scopeId", "data-v-5b922a5f"]]), Lt = {}, Rt = { class: "pv-text-subdued pv-text-center pv-text-body-md pv-inset-square-12" };
812
+ }), [["styles", [".pv-select-button-trigger-content[data-v-0de70d6d]{min-width:0}.pv-select-button-trigger-label[data-v-0de70d6d]{flex:auto;min-width:0}"]], ["__scopeId", "data-v-0de70d6d"]]), Lt = {}, Rt = { class: "pv-text-subdued pv-text-center pv-text-body-md pv-inset-square-12" };
806
813
  function zt(e, t) {
807
814
  return k(), o("div", Rt, "No Results Found");
808
815
  }
809
- var Bt = /* @__PURE__ */ mt(Lt, [["render", zt]]), Vt = Math.min, Ht = Math.max, Ut = Math.round, Wt = Math.floor, Gt = (e) => ({
816
+ var Bt = /* @__PURE__ */ ct(Lt, [["render", zt]]), Vt = Math.min, Ht = Math.max, Ut = Math.round, Wt = Math.floor, Gt = (e) => ({
810
817
  x: e,
811
818
  y: e
812
819
  }), Kt = {
@@ -1680,7 +1687,7 @@ var zr = /* @__PURE__ */ new Set(), Br = (e, t) => !!t.root.value && !!e.root.va
1680
1687
  }
1681
1688
  for (let t of [...zr]) t !== e && !Br(t, e) && t.close() && zr.delete(t);
1682
1689
  zr.add(e);
1683
- }), Hr = ["popover"], Ur = "--pv-popover-v2-anchor", Wr = /* @__PURE__ */ mt(/* @__PURE__ */ d({
1690
+ }), Hr = ["popover"], Ur = "--pv-popover-v2-anchor", Wr = /* @__PURE__ */ ct(/* @__PURE__ */ d({
1684
1691
  __name: "PvPopoverV2",
1685
1692
  props: /* @__PURE__ */ v({
1686
1693
  disableAutoPlacement: {
@@ -2001,19 +2008,19 @@ var Jr = {
2001
2008
  config: { type: Object }
2002
2009
  },
2003
2010
  setup(e) {
2004
- let n = e, c = M(null), l = M(null), u = r(() => n.subText || null), d = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), f = (e, t, n) => {
2005
- let r = d(n), i = RegExp(`(${r})`, "gi");
2011
+ let n = e, c = M(null), l = M(null), u = r(() => n.menuOptionConfig?.size === "lg" ? "sm" : "lg"), d = r(() => n.menuOptionConfig?.size === "xl" ? 20 : void 0), f = r(() => n.subText || null), p = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), m = (e, t, n) => {
2012
+ let r = p(n), i = RegExp(`(${r})`, "gi");
2006
2013
  e.innerHTML = t.replace(i, "<span data-test-id=\"pv-matched-text\" style=\"font-weight: bold;\">$1</span>");
2007
- }, p = () => {
2014
+ }, h = () => {
2008
2015
  if (n.queryText) {
2009
- let e = new RegExp(d(n.queryText), "gi").test(n.text);
2010
- c.value && f(c.value, n.text, n.queryText), l.value && u.value && (e ? l.value.textContent = u.value : f(l.value, u.value, n.queryText));
2011
- } else c.value && (c.value.textContent = n.text), l.value && u.value && (l.value.textContent = u.value);
2016
+ let e = new RegExp(p(n.queryText), "gi").test(n.text);
2017
+ c.value && m(c.value, n.text, n.queryText), l.value && f.value && (e ? l.value.textContent = f.value : m(l.value, f.value, n.queryText));
2018
+ } else c.value && (c.value.textContent = n.text), l.value && f.value && (l.value.textContent = f.value);
2012
2019
  };
2013
2020
  return E(() => {
2014
- p();
2021
+ h();
2015
2022
  }), I(() => n.queryText, () => {
2016
- p();
2023
+ h();
2017
2024
  }), (n, r) => (k(), o(t, null, [
2018
2025
  e.avatar ? (k(), i(xt, {
2019
2026
  key: 0,
@@ -2021,18 +2028,24 @@ var Jr = {
2021
2028
  image: e.avatar.image,
2022
2029
  variant: e.avatar.variant,
2023
2030
  shape: e.avatar.shape,
2024
- size: "lg"
2031
+ size: u.value
2025
2032
  }, null, 8, [
2026
2033
  "initials",
2027
2034
  "image",
2028
2035
  "variant",
2029
- "shape"
2036
+ "shape",
2037
+ "size"
2030
2038
  ])) : a("v-if", !0),
2031
- e.icon ? (k(), i(dt, {
2039
+ e.icon ? (k(), i(mt, {
2032
2040
  key: 1,
2033
2041
  class: x({ "pv-text-subdued": !e.disabled }),
2034
- name: e.icon
2035
- }, null, 8, ["class", "name"])) : a("v-if", !0),
2042
+ name: e.icon,
2043
+ size: d.value
2044
+ }, null, 8, [
2045
+ "class",
2046
+ "name",
2047
+ "size"
2048
+ ])) : a("v-if", !0),
2036
2049
  e.companyName ? (k(), i(vt, {
2037
2050
  key: 2,
2038
2051
  name: e.companyName,
@@ -2048,7 +2061,7 @@ var Jr = {
2048
2061
  key: 0,
2049
2062
  class: x({ "pv-text-subdued": !e.disabled }),
2050
2063
  style: { "padding-left": "4px" }
2051
- }, N(e.subduedText), 3)) : a("v-if", !0)], 8, Yr), u.value ? (k(), o("span", {
2064
+ }, N(e.subduedText), 3)) : a("v-if", !0)], 8, Yr), f.value ? (k(), o("span", {
2052
2065
  key: 0,
2053
2066
  ref_key: "subText",
2054
2067
  ref: l,
@@ -2058,8 +2071,8 @@ var Jr = {
2058
2071
  "pv-truncate",
2059
2072
  { "pv-text-subdued": !e.disabled }
2060
2073
  ]),
2061
- title: e.hoverTitle ?? u.value
2062
- }, N(u.value), 11, Xr)) : a("v-if", !0)]),
2074
+ title: e.hoverTitle ?? f.value
2075
+ }, N(f.value), 11, Xr)) : a("v-if", !0)]),
2063
2076
  e.secondaryText && typeof e.secondaryText == "number" ? (k(), i(ht, {
2064
2077
  key: 3,
2065
2078
  value: e.secondaryText,
@@ -2071,7 +2084,7 @@ var Jr = {
2071
2084
  "disabled",
2072
2085
  "aria-label",
2073
2086
  "id"
2074
- ], ni = /* @__PURE__ */ mt(/* @__PURE__ */ d({
2087
+ ], ni = /* @__PURE__ */ ct(/* @__PURE__ */ d({
2075
2088
  __name: "PvSwitch",
2076
2089
  props: /* @__PURE__ */ v({
2077
2090
  size: {
@@ -2216,7 +2229,7 @@ var Jr = {
2216
2229
  "aria-label": e.tooltipText,
2217
2230
  disabled: e.disabled,
2218
2231
  onClick: _e(o, ["stop"])
2219
- }, [u(dt, {
2232
+ }, [u(mt, {
2220
2233
  name: e.icon,
2221
2234
  size: a[e.size]
2222
2235
  }, null, 8, ["name", "size"])], 10, ai)]),
@@ -2227,7 +2240,7 @@ var Jr = {
2227
2240
  key: "0"
2228
2241
  } : void 0]), 1032, ["position"]));
2229
2242
  }
2230
- }), si = ["aria-label"], ci = /* @__PURE__ */ mt(/* @__PURE__ */ d({
2243
+ }), si = ["aria-label"], ci = /* @__PURE__ */ ct(/* @__PURE__ */ d({
2231
2244
  __name: "PvMenuItemAction",
2232
2245
  props: {
2233
2246
  action: { type: Object },
@@ -2263,7 +2276,7 @@ var Jr = {
2263
2276
  role: "img",
2264
2277
  "aria-label": p.value,
2265
2278
  onClick: n[0] ||= _e(() => {}, ["stop"])
2266
- }, [u(dt, { name: d.value }, null, 8, ["name"])], 10, si)]),
2279
+ }, [u(mt, { name: d.value }, null, 8, ["name"])], 10, si)]),
2267
2280
  _: 2
2268
2281
  }, [p.value ? {
2269
2282
  name: "content",
@@ -2282,7 +2295,7 @@ var Jr = {
2282
2295
  ], bi = {
2283
2296
  key: 4,
2284
2297
  class: "pv-menu-item-action"
2285
- }, xi = ["aria-label", "aria-expanded"], Si = /* @__PURE__ */ mt(/* @__PURE__ */ d({
2298
+ }, xi = ["aria-label", "aria-expanded"], Si = /* @__PURE__ */ ct(/* @__PURE__ */ d({
2286
2299
  inheritAttrs: !1,
2287
2300
  __name: "PvMenuItemVariant",
2288
2301
  props: {
@@ -2401,7 +2414,7 @@ var Jr = {
2401
2414
  "queryText",
2402
2415
  "highlightSearchText"
2403
2416
  ])),
2404
- e.menuOptionConfig?.variant === "checkmark" && v.value ? (k(), i(dt, {
2417
+ e.menuOptionConfig?.variant === "checkmark" && v.value ? (k(), i(mt, {
2405
2418
  key: 2,
2406
2419
  name: "check",
2407
2420
  class: "pv-text-success"
@@ -2430,7 +2443,7 @@ var Jr = {
2430
2443
  "aria-label": n.text ? `Toggle children for ${n.text}` : "Toggle children",
2431
2444
  "aria-expanded": e.expanded,
2432
2445
  onClick: r[1] ||= _e((e) => te("toggle-expanded"), ["prevent", "stop"])
2433
- }, [u(dt, {
2446
+ }, [u(mt, {
2434
2447
  name: e.chevronIcon ?? "chevron-right",
2435
2448
  size: 12
2436
2449
  }, null, 8, ["name"])], 8, xi)) : a("v-if", !0)
@@ -2521,7 +2534,7 @@ var Jr = {
2521
2534
  value: e.leftCounterBadge,
2522
2535
  variant: "tertiary"
2523
2536
  }, null, 8, ["value"])) : a("v-if", !0),
2524
- e.leftIcon ? (k(), i(dt, {
2537
+ e.leftIcon ? (k(), i(mt, {
2525
2538
  key: 1,
2526
2539
  name: e.leftIcon,
2527
2540
  "data-testid": "pv-button-left-icon"
@@ -2532,7 +2545,7 @@ var Jr = {
2532
2545
  value: e.rightCounterBadge,
2533
2546
  variant: "tertiary"
2534
2547
  }, null, 8, ["value"])) : a("v-if", !0),
2535
- e.rightIcon ? (k(), i(dt, {
2548
+ e.rightIcon ? (k(), i(mt, {
2536
2549
  key: 4,
2537
2550
  name: e.rightIcon,
2538
2551
  "data-testid": "pv-button-right-icon"
@@ -3877,7 +3890,7 @@ function Wo(e, t, n, r = null) {
3877
3890
  }
3878
3891
  //#endregion
3879
3892
  //#region src/components/base/PvPopover/PvPopover.vue?vue&type=script&setup=true&lang.ts
3880
- var Go = ["data-align"], Ko = /* @__PURE__ */ mt(/* @__PURE__ */ d({
3893
+ var Go = ["data-align"], Ko = /* @__PURE__ */ ct(/* @__PURE__ */ d({
3881
3894
  __name: "PvPopover",
3882
3895
  props: {
3883
3896
  alignment: {
@@ -3926,7 +3939,7 @@ var Go = ["data-align"], Ko = /* @__PURE__ */ mt(/* @__PURE__ */ d({
3926
3939
  "data-option-id",
3927
3940
  "data-testid",
3928
3941
  "role"
3929
- ], Yo = ["role"], Xo = ["data-pv-menu-ancestors"], Zo = ["id", "aria-label"], Qo = ["data-active", "data-option-id"], $o = "__pv-menu-see-more__", es = /* @__PURE__ */ mt(/* @__PURE__ */ d({
3942
+ ], Yo = ["role"], Xo = ["data-pv-menu-ancestors"], Zo = ["id", "aria-label"], Qo = ["data-active", "data-option-id"], $o = "__pv-menu-see-more__", es = /* @__PURE__ */ ct(/* @__PURE__ */ d({
3930
3943
  inheritAttrs: !1,
3931
3944
  __name: "PvMenu",
3932
3945
  props: /* @__PURE__ */ v({
@@ -4362,7 +4375,8 @@ var Go = ["data-align"], Ko = /* @__PURE__ */ mt(/* @__PURE__ */ d({
4362
4375
  renderer: n.optionsRenderer,
4363
4376
  action: n.optionsAction,
4364
4377
  variant: n.optionsVariant,
4365
- counterBadgeVariant: n.counterBadgeVariant
4378
+ counterBadgeVariant: n.counterBadgeVariant,
4379
+ size: n.size
4366
4380
  })), d = t, [f] = /* @__PURE__ */ ze(n.defaultOpen), p = ce(e, "modelValue"), m = ce(e, "searchInput");
4367
4381
  I(f, (e) => {
4368
4382
  d(e ? "dropdown-open" : "dropdown-closed");
@@ -4453,7 +4467,7 @@ var Go = ["data-align"], Ko = /* @__PURE__ */ mt(/* @__PURE__ */ d({
4453
4467
  class: "pv-popover",
4454
4468
  "data-test-id": "pv-popover",
4455
4469
  style: C([e.popoverCssProperties, { position: "unset" }])
4456
- }, [e.disableSearchInput ? a("v-if", !0) : (k(), o("div", ts, [u(ot, {
4470
+ }, [e.disableSearchInput ? a("v-if", !0) : (k(), o("div", ts, [u(lt, {
4457
4471
  "model-value": m.value,
4458
4472
  "onUpdate:modelValue": n[0] ||= (e) => m.value = e,
4459
4473
  class: "pv-stack-4",