@turquoisehealth/pit-viper 2.224.1-dev.1 → 2.224.1-dev.3

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 (83) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +80 -2
  2. package/_site/assets/css/pit-viper-consumer.css +80 -2
  3. package/_site/assets/css/pit-viper-v2-scoped.css +69 -2
  4. package/_site/assets/css/pit-viper-v2.css +119 -2
  5. package/_site/assets/css/pit-viper.css +79 -1
  6. package/package.json +1 -1
  7. package/pv-components/dist/stats/vue/ai/stats.html +1 -1
  8. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  9. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-reasoning-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-search-input-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  24. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  25. package/pv-components/dist/stats/web/pv-step-list-stats.html +4950 -0
  26. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  27. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  28. package/pv-components/dist/vue/ai/components/ai/PvReasoning/PvReasoning.vue.d.ts +11 -3
  29. package/pv-components/dist/vue/ai/components/ai/PvReasoning/types.d.ts +3 -0
  30. package/pv-components/dist/vue/ai/components/ai/PvStepList/PvStepList.vue.d.ts +7 -0
  31. package/pv-components/dist/vue/ai/components/ai/PvStepList/types.d.ts +42 -0
  32. package/pv-components/dist/vue/ai/components/ai/index.d.ts +2 -0
  33. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/types.d.ts +5 -0
  34. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  35. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/types.d.ts +2 -0
  36. package/pv-components/dist/vue/ai/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +4 -0
  37. package/pv-components/dist/vue/ai/components/base/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
  38. package/pv-components/dist/vue/ai/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +3 -1
  39. package/pv-components/dist/vue/ai/components/base/PvSidebarV2/types.d.ts +2 -0
  40. package/pv-components/dist/vue/ai/pv-components-ai.mjs +490 -327
  41. package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
  42. package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +5 -0
  43. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  44. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +2 -0
  45. package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +4 -0
  46. package/pv-components/dist/vue/base/components/base/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
  47. package/pv-components/dist/vue/base/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +3 -1
  48. package/pv-components/dist/vue/base/components/base/PvSidebarV2/types.d.ts +2 -0
  49. package/pv-components/dist/vue/base/pv-components-base.mjs +1617 -1492
  50. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  51. package/pv-components/dist/vue/base/types.d.ts +2 -0
  52. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +5 -0
  53. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  54. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +2 -0
  55. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +4 -0
  56. package/pv-components/dist/vue/visualizations/components/base/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
  57. package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +3 -1
  58. package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/types.d.ts +2 -0
  59. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +5 -1
  60. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +1 -0
  61. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2465 -2438
  62. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  63. package/pv-components/dist/vue/visualizations/types.d.ts +2 -0
  64. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +8 -4
  65. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +554 -549
  66. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +817 -797
  67. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +640 -627
  68. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +197 -193
  69. package/pv-components/dist/web/components/pv-menu/pv-menu.js +29 -19
  70. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1717 -1698
  71. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +8 -4
  72. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +37 -23
  73. package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +640 -466
  74. package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +17 -8
  75. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +230 -226
  76. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +90 -72
  77. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +1431 -1322
  78. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +213 -209
  79. package/pv-components/dist/web/components/pv-step-list/pv-step-list.js +6309 -0
  80. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +8 -4
  81. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +8 -4
  82. package/pv-components/dist/web/pv-components.iife.js +39 -39
  83. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -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: {
@@ -1871,9 +1878,9 @@ var zr = /* @__PURE__ */ new Set(), Br = (e, t) => !!t.root.value && !!e.root.va
1871
1878
  !e && !t && !n && (A.value = !1);
1872
1879
  });
1873
1880
  let ye = ({ target: e }) => {
1874
- T.value = e instanceof HTMLElement && e.matches(":focus-visible");
1881
+ T.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1875
1882
  }, be = ({ target: e }) => {
1876
- D.value = e instanceof HTMLElement && e.matches(":focus-visible");
1883
+ D.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1877
1884
  }, xe = () => {
1878
1885
  D.value = !1;
1879
1886
  }, Se = () => {
@@ -1911,7 +1918,11 @@ var zr = /* @__PURE__ */ new Set(), Br = (e, t) => !!t.root.value && !!e.root.va
1911
1918
  }), O(() => {
1912
1919
  de(), fe();
1913
1920
  }), I(() => t.disabled, (e) => {
1914
- e && (T.value &&= !1, D.value &&= !1, me(!1));
1921
+ if (!e) {
1922
+ ve.value && me(!0);
1923
+ return;
1924
+ }
1925
+ T.value &&= !1, D.value &&= !1, me(!1);
1915
1926
  }), (r, l) => (k(), o("div", {
1916
1927
  ref_key: "root",
1917
1928
  ref: _,
@@ -1947,7 +1958,7 @@ var zr = /* @__PURE__ */ new Set(), Br = (e, t) => !!t.root.value && !!e.root.va
1947
1958
  onFocusout: xe
1948
1959
  }, [ne(r.$slots, "content")], 36), [[pe, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1949
1960
  }
1950
- }), [["styles", [".pv-floating-native[data-v-c13d6b59]{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-c13d6b59]>.pv-popover,.pv-floating-native>slot[name=content][data-v-c13d6b59]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-c13d6b59"]]);
1961
+ }), [["styles", [".pv-floating-native[data-v-e1e654f2]{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-e1e654f2]>.pv-popover,.pv-floating-native>slot[name=content][data-v-e1e654f2]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-e1e654f2"]]);
1951
1962
  //#endregion
1952
1963
  //#region src/components/base/PvMenu/cascadeUtils.ts
1953
1964
  function Gr(e) {
@@ -2001,19 +2012,19 @@ var Jr = {
2001
2012
  config: { type: Object }
2002
2013
  },
2003
2014
  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");
2015
+ 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) => {
2016
+ let r = p(n), i = RegExp(`(${r})`, "gi");
2006
2017
  e.innerHTML = t.replace(i, "<span data-test-id=\"pv-matched-text\" style=\"font-weight: bold;\">$1</span>");
2007
- }, p = () => {
2018
+ }, h = () => {
2008
2019
  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);
2020
+ let e = new RegExp(p(n.queryText), "gi").test(n.text);
2021
+ 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));
2022
+ } else c.value && (c.value.textContent = n.text), l.value && f.value && (l.value.textContent = f.value);
2012
2023
  };
2013
2024
  return E(() => {
2014
- p();
2025
+ h();
2015
2026
  }), I(() => n.queryText, () => {
2016
- p();
2027
+ h();
2017
2028
  }), (n, r) => (k(), o(t, null, [
2018
2029
  e.avatar ? (k(), i(xt, {
2019
2030
  key: 0,
@@ -2021,18 +2032,24 @@ var Jr = {
2021
2032
  image: e.avatar.image,
2022
2033
  variant: e.avatar.variant,
2023
2034
  shape: e.avatar.shape,
2024
- size: "lg"
2035
+ size: u.value
2025
2036
  }, null, 8, [
2026
2037
  "initials",
2027
2038
  "image",
2028
2039
  "variant",
2029
- "shape"
2040
+ "shape",
2041
+ "size"
2030
2042
  ])) : a("v-if", !0),
2031
- e.icon ? (k(), i(dt, {
2043
+ e.icon ? (k(), i(mt, {
2032
2044
  key: 1,
2033
2045
  class: x({ "pv-text-subdued": !e.disabled }),
2034
- name: e.icon
2035
- }, null, 8, ["class", "name"])) : a("v-if", !0),
2046
+ name: e.icon,
2047
+ size: d.value
2048
+ }, null, 8, [
2049
+ "class",
2050
+ "name",
2051
+ "size"
2052
+ ])) : a("v-if", !0),
2036
2053
  e.companyName ? (k(), i(vt, {
2037
2054
  key: 2,
2038
2055
  name: e.companyName,
@@ -2048,7 +2065,7 @@ var Jr = {
2048
2065
  key: 0,
2049
2066
  class: x({ "pv-text-subdued": !e.disabled }),
2050
2067
  style: { "padding-left": "4px" }
2051
- }, N(e.subduedText), 3)) : a("v-if", !0)], 8, Yr), u.value ? (k(), o("span", {
2068
+ }, N(e.subduedText), 3)) : a("v-if", !0)], 8, Yr), f.value ? (k(), o("span", {
2052
2069
  key: 0,
2053
2070
  ref_key: "subText",
2054
2071
  ref: l,
@@ -2058,8 +2075,8 @@ var Jr = {
2058
2075
  "pv-truncate",
2059
2076
  { "pv-text-subdued": !e.disabled }
2060
2077
  ]),
2061
- title: e.hoverTitle ?? u.value
2062
- }, N(u.value), 11, Xr)) : a("v-if", !0)]),
2078
+ title: e.hoverTitle ?? f.value
2079
+ }, N(f.value), 11, Xr)) : a("v-if", !0)]),
2063
2080
  e.secondaryText && typeof e.secondaryText == "number" ? (k(), i(ht, {
2064
2081
  key: 3,
2065
2082
  value: e.secondaryText,
@@ -2071,7 +2088,7 @@ var Jr = {
2071
2088
  "disabled",
2072
2089
  "aria-label",
2073
2090
  "id"
2074
- ], ni = /* @__PURE__ */ mt(/* @__PURE__ */ d({
2091
+ ], ni = /* @__PURE__ */ ct(/* @__PURE__ */ d({
2075
2092
  __name: "PvSwitch",
2076
2093
  props: /* @__PURE__ */ v({
2077
2094
  size: {
@@ -2216,7 +2233,7 @@ var Jr = {
2216
2233
  "aria-label": e.tooltipText,
2217
2234
  disabled: e.disabled,
2218
2235
  onClick: _e(o, ["stop"])
2219
- }, [u(dt, {
2236
+ }, [u(mt, {
2220
2237
  name: e.icon,
2221
2238
  size: a[e.size]
2222
2239
  }, null, 8, ["name", "size"])], 10, ai)]),
@@ -2227,7 +2244,7 @@ var Jr = {
2227
2244
  key: "0"
2228
2245
  } : void 0]), 1032, ["position"]));
2229
2246
  }
2230
- }), si = ["aria-label"], ci = /* @__PURE__ */ mt(/* @__PURE__ */ d({
2247
+ }), si = ["aria-label"], ci = /* @__PURE__ */ ct(/* @__PURE__ */ d({
2231
2248
  __name: "PvMenuItemAction",
2232
2249
  props: {
2233
2250
  action: { type: Object },
@@ -2263,7 +2280,7 @@ var Jr = {
2263
2280
  role: "img",
2264
2281
  "aria-label": p.value,
2265
2282
  onClick: n[0] ||= _e(() => {}, ["stop"])
2266
- }, [u(dt, { name: d.value }, null, 8, ["name"])], 10, si)]),
2283
+ }, [u(mt, { name: d.value }, null, 8, ["name"])], 10, si)]),
2267
2284
  _: 2
2268
2285
  }, [p.value ? {
2269
2286
  name: "content",
@@ -2282,7 +2299,7 @@ var Jr = {
2282
2299
  ], bi = {
2283
2300
  key: 4,
2284
2301
  class: "pv-menu-item-action"
2285
- }, xi = ["aria-label", "aria-expanded"], Si = /* @__PURE__ */ mt(/* @__PURE__ */ d({
2302
+ }, xi = ["aria-label", "aria-expanded"], Si = /* @__PURE__ */ ct(/* @__PURE__ */ d({
2286
2303
  inheritAttrs: !1,
2287
2304
  __name: "PvMenuItemVariant",
2288
2305
  props: {
@@ -2401,7 +2418,7 @@ var Jr = {
2401
2418
  "queryText",
2402
2419
  "highlightSearchText"
2403
2420
  ])),
2404
- e.menuOptionConfig?.variant === "checkmark" && v.value ? (k(), i(dt, {
2421
+ e.menuOptionConfig?.variant === "checkmark" && v.value ? (k(), i(mt, {
2405
2422
  key: 2,
2406
2423
  name: "check",
2407
2424
  class: "pv-text-success"
@@ -2430,7 +2447,7 @@ var Jr = {
2430
2447
  "aria-label": n.text ? `Toggle children for ${n.text}` : "Toggle children",
2431
2448
  "aria-expanded": e.expanded,
2432
2449
  onClick: r[1] ||= _e((e) => te("toggle-expanded"), ["prevent", "stop"])
2433
- }, [u(dt, {
2450
+ }, [u(mt, {
2434
2451
  name: e.chevronIcon ?? "chevron-right",
2435
2452
  size: 12
2436
2453
  }, null, 8, ["name"])], 8, xi)) : a("v-if", !0)
@@ -2521,7 +2538,7 @@ var Jr = {
2521
2538
  value: e.leftCounterBadge,
2522
2539
  variant: "tertiary"
2523
2540
  }, null, 8, ["value"])) : a("v-if", !0),
2524
- e.leftIcon ? (k(), i(dt, {
2541
+ e.leftIcon ? (k(), i(mt, {
2525
2542
  key: 1,
2526
2543
  name: e.leftIcon,
2527
2544
  "data-testid": "pv-button-left-icon"
@@ -2532,7 +2549,7 @@ var Jr = {
2532
2549
  value: e.rightCounterBadge,
2533
2550
  variant: "tertiary"
2534
2551
  }, null, 8, ["value"])) : a("v-if", !0),
2535
- e.rightIcon ? (k(), i(dt, {
2552
+ e.rightIcon ? (k(), i(mt, {
2536
2553
  key: 4,
2537
2554
  name: e.rightIcon,
2538
2555
  "data-testid": "pv-button-right-icon"
@@ -3877,7 +3894,7 @@ function Wo(e, t, n, r = null) {
3877
3894
  }
3878
3895
  //#endregion
3879
3896
  //#region src/components/base/PvPopover/PvPopover.vue?vue&type=script&setup=true&lang.ts
3880
- var Go = ["data-align"], Ko = /* @__PURE__ */ mt(/* @__PURE__ */ d({
3897
+ var Go = ["data-align"], Ko = /* @__PURE__ */ ct(/* @__PURE__ */ d({
3881
3898
  __name: "PvPopover",
3882
3899
  props: {
3883
3900
  alignment: {
@@ -3926,7 +3943,7 @@ var Go = ["data-align"], Ko = /* @__PURE__ */ mt(/* @__PURE__ */ d({
3926
3943
  "data-option-id",
3927
3944
  "data-testid",
3928
3945
  "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({
3946
+ ], 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
3947
  inheritAttrs: !1,
3931
3948
  __name: "PvMenu",
3932
3949
  props: /* @__PURE__ */ v({
@@ -4362,7 +4379,8 @@ var Go = ["data-align"], Ko = /* @__PURE__ */ mt(/* @__PURE__ */ d({
4362
4379
  renderer: n.optionsRenderer,
4363
4380
  action: n.optionsAction,
4364
4381
  variant: n.optionsVariant,
4365
- counterBadgeVariant: n.counterBadgeVariant
4382
+ counterBadgeVariant: n.counterBadgeVariant,
4383
+ size: n.size
4366
4384
  })), d = t, [f] = /* @__PURE__ */ ze(n.defaultOpen), p = ce(e, "modelValue"), m = ce(e, "searchInput");
4367
4385
  I(f, (e) => {
4368
4386
  d(e ? "dropdown-open" : "dropdown-closed");
@@ -4453,7 +4471,7 @@ var Go = ["data-align"], Ko = /* @__PURE__ */ mt(/* @__PURE__ */ d({
4453
4471
  class: "pv-popover",
4454
4472
  "data-test-id": "pv-popover",
4455
4473
  style: C([e.popoverCssProperties, { position: "unset" }])
4456
- }, [e.disableSearchInput ? a("v-if", !0) : (k(), o("div", ts, [u(ot, {
4474
+ }, [e.disableSearchInput ? a("v-if", !0) : (k(), o("div", ts, [u(lt, {
4457
4475
  "model-value": m.value,
4458
4476
  "onUpdate:modelValue": n[0] ||= (e) => m.value = e,
4459
4477
  class: "pv-stack-4",