@turquoisehealth/pit-viper 2.104.1 → 2.104.2-dev.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.
Files changed (128) hide show
  1. package/_site/assets/css/pit-viper-v2-scoped.css +19 -0
  2. package/_site/assets/css/pit-viper-v2.css +21 -0
  3. package/_site/assets/css/pit-viper.css +21 -0
  4. package/package.json +38 -11
  5. package/pv-components/dist/stats/vue/base/stats.html +4949 -0
  6. package/pv-components/dist/stats/vue/visualizations/stats.html +4949 -0
  7. package/pv-components/dist/stats/web/pv-accordion-stats.html +4949 -0
  8. package/pv-components/dist/stats/web/pv-action-bar-stats.html +4949 -0
  9. package/pv-components/dist/stats/web/pv-avatar-group-stats.html +4949 -0
  10. package/pv-components/dist/stats/web/pv-avatar-stats.html +4949 -0
  11. package/pv-components/dist/stats/web/pv-banner-stats.html +4949 -0
  12. package/pv-components/dist/stats/web/pv-breadcrumbs-stats.html +4949 -0
  13. package/pv-components/dist/stats/web/pv-button-stats.html +4949 -0
  14. package/pv-components/dist/stats/web/pv-card-stats.html +4949 -0
  15. package/pv-components/dist/stats/web/pv-checkbox-stats.html +4949 -0
  16. package/pv-components/dist/stats/web/pv-company-label-stats.html +4949 -0
  17. package/pv-components/dist/stats/web/pv-company-logo-stats.html +4949 -0
  18. package/pv-components/dist/stats/web/pv-company-tag-stats.html +4949 -0
  19. package/pv-components/dist/stats/web/pv-counter-badge-stats.html +4949 -0
  20. package/pv-components/dist/stats/web/pv-date-picker-stats.html +4949 -0
  21. package/pv-components/dist/stats/web/pv-date-time-stats.html +4949 -0
  22. package/pv-components/dist/stats/web/pv-drawer-stats.html +4949 -0
  23. package/pv-components/dist/stats/web/pv-dropdown-stats.html +4949 -0
  24. package/pv-components/dist/stats/web/pv-expandable-content-stats.html +4949 -0
  25. package/pv-components/dist/stats/web/pv-ghost-input-stats.html +4949 -0
  26. package/pv-components/dist/stats/web/pv-icon-stats.html +4949 -0
  27. package/pv-components/dist/stats/web/pv-input-stats.html +4949 -0
  28. package/pv-components/dist/stats/web/pv-insight-card-stats.html +4949 -0
  29. package/pv-components/dist/stats/web/pv-modal-stats.html +4949 -0
  30. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +4949 -0
  31. package/pv-components/dist/stats/web/pv-pagination-stats.html +4949 -0
  32. package/pv-components/dist/stats/web/pv-pill-stats.html +4949 -0
  33. package/pv-components/dist/stats/web/pv-popover-menu-stats.html +4949 -0
  34. package/pv-components/dist/stats/web/pv-popover-stats.html +4949 -0
  35. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +4949 -0
  36. package/pv-components/dist/stats/web/pv-rating-stats.html +4949 -0
  37. package/pv-components/dist/stats/web/pv-release-badge-stats.html +4949 -0
  38. package/pv-components/dist/stats/web/pv-search-input-stats.html +4949 -0
  39. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +4949 -0
  40. package/pv-components/dist/stats/web/pv-select-button-stats.html +4949 -0
  41. package/pv-components/dist/stats/web/pv-selectable-card-stats.html +4949 -0
  42. package/pv-components/dist/stats/web/pv-side-panel-stats.html +4949 -0
  43. package/pv-components/dist/stats/web/pv-skeleton-stats.html +4949 -0
  44. package/pv-components/dist/stats/web/pv-spinner-stats.html +4949 -0
  45. package/pv-components/dist/stats/web/pv-sprite-stats.html +4949 -0
  46. package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +4949 -0
  47. package/pv-components/dist/stats/web/pv-switch-stats.html +4949 -0
  48. package/pv-components/dist/stats/web/pv-tab-list-stats.html +4949 -0
  49. package/pv-components/dist/stats/web/pv-tabs-stats.html +4949 -0
  50. package/pv-components/dist/stats/web/pv-tag-stats.html +4949 -0
  51. package/pv-components/dist/stats/web/pv-text-area-stats.html +4949 -0
  52. package/pv-components/dist/stats/web/pv-toast-stats.html +4949 -0
  53. package/pv-components/dist/stats/web/pv-toggle-button-stats.html +4949 -0
  54. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +4949 -0
  55. package/pv-components/dist/stats/web/pv-tooltip-stats.html +4949 -0
  56. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +4949 -0
  57. package/pv-components/dist/stats/web/pv-widget-stats.html +4949 -0
  58. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -4
  59. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +1 -1
  60. package/pv-components/dist/vue/base/components/base/PvTooltipV2/PvTooltipV2.vue.d.ts +1 -0
  61. package/pv-components/dist/vue/base/components/base/PvTooltipV2/types.d.ts +2 -1
  62. package/pv-components/dist/vue/base/pv-components-base.mjs +3429 -5665
  63. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +3428 -5941
  64. package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +186 -0
  65. package/pv-components/dist/web/components/pv-action-bar/pv-action-bar.js +66 -0
  66. package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +96 -0
  67. package/pv-components/dist/web/components/pv-avatar-group/pv-avatar-group.js +102 -0
  68. package/pv-components/dist/web/components/pv-banner/pv-banner.js +155 -0
  69. package/pv-components/dist/web/components/pv-breadcrumbs/pv-breadcrumbs.js +92 -0
  70. package/pv-components/dist/web/components/pv-button/pv-button.js +173 -0
  71. package/pv-components/dist/web/components/pv-card/pv-card.js +80 -0
  72. package/pv-components/dist/web/components/pv-checkbox/pv-checkbox.js +77 -0
  73. package/pv-components/dist/web/components/pv-company-label/pv-company-label.js +153 -0
  74. package/pv-components/dist/web/components/pv-company-logo/pv-company-logo.js +124 -0
  75. package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +204 -0
  76. package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +89 -0
  77. package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +7481 -0
  78. package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +577 -0
  79. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +486 -0
  80. package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +1724 -0
  81. package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +235 -0
  82. package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +251 -0
  83. package/pv-components/dist/web/components/pv-icon/pv-icon.js +81 -0
  84. package/pv-components/dist/web/components/pv-input/pv-input.js +123 -0
  85. package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +293 -0
  86. package/pv-components/dist/web/components/pv-modal/pv-modal.js +118 -0
  87. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +2752 -0
  88. package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +286 -0
  89. package/pv-components/dist/web/components/pv-pill/pv-pill.js +160 -0
  90. package/pv-components/dist/web/components/pv-popover/pv-popover.js +1417 -0
  91. package/pv-components/dist/web/components/pv-popover-menu/pv-popover-menu.js +1439 -0
  92. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +1421 -0
  93. package/pv-components/dist/web/components/pv-rating/pv-rating.js +78 -0
  94. package/pv-components/dist/web/components/pv-release-badge/pv-release-badge.js +74 -0
  95. package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +170 -0
  96. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +145 -0
  97. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +2563 -0
  98. package/pv-components/dist/web/components/pv-selectable-card/pv-selectable-card.js +85 -0
  99. package/pv-components/dist/web/components/pv-side-panel/pv-side-panel.js +80 -0
  100. package/pv-components/dist/web/components/pv-skeleton/pv-skeleton.js +1525 -0
  101. package/pv-components/dist/web/components/pv-spinner/pv-spinner.js +83 -0
  102. package/pv-components/dist/web/components/pv-sprite/pv-sprite.js +82 -0
  103. package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +126 -0
  104. package/pv-components/dist/web/components/pv-switch/pv-switch.js +94 -0
  105. package/pv-components/dist/web/components/pv-tab-list/pv-tab-list.js +100 -0
  106. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +178 -0
  107. package/pv-components/dist/web/components/pv-tag/pv-tag.js +141 -0
  108. package/pv-components/dist/web/components/pv-text-area/pv-text-area.js +120 -0
  109. package/pv-components/dist/web/components/pv-toast/pv-toast.js +223 -0
  110. package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +139 -0
  111. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +2887 -0
  112. package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +90 -0
  113. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +1489 -0
  114. package/pv-components/dist/web/components/pv-widget/pv-widget.js +91 -0
  115. package/pv-components/dist/web/pv-components.iife.js +21 -21
  116. package/pv-components/dist/web/vue.runtime.esm-browser.prod.js +7 -0
  117. package/pv-components/dist/vue/base/pv-components-base.js +0 -1546
  118. package/pv-components/dist/vue/base/pv-components-base.umd.js +0 -1546
  119. package/pv-components/dist/vue/charts/pv-components-charts.d.ts +0 -491
  120. package/pv-components/dist/vue/charts/pv-components-charts.js +0 -259
  121. package/pv-components/dist/vue/charts/pv-components-charts.mjs +0 -121834
  122. package/pv-components/dist/vue/charts/pv-components-charts.umd.js +0 -259
  123. package/pv-components/dist/vue/tables/pv-components-tables.d.ts +0 -299
  124. package/pv-components/dist/vue/tables/pv-components-tables.js +0 -223
  125. package/pv-components/dist/vue/tables/pv-components-tables.mjs +0 -47028
  126. package/pv-components/dist/vue/tables/pv-components-tables.umd.js +0 -223
  127. package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +0 -176
  128. package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +0 -176
@@ -0,0 +1,85 @@
1
+ import { defineComponent as l, computed as s, createElementBlock as c, openBlock as i, normalizeClass as u, createElementVNode as d, renderSlot as m, defineCustomElement as p } from "vue";
2
+ const h = ["for"], f = ["checked", "type", "value", "id"], v = /* @__PURE__ */ l({
3
+ __name: "PvSelectableCard",
4
+ props: {
5
+ variant: { default: "default", type: String },
6
+ value: { type: String },
7
+ id: { type: String },
8
+ deselect: { type: Boolean },
9
+ selected: { type: Boolean }
10
+ },
11
+ setup(e) {
12
+ const t = s(() => e.id ? e.id : `${Math.random()}`);
13
+ return (n, o) => (i(), c("label", {
14
+ "data-testid": "pv-selectable-card",
15
+ class: u([
16
+ "pv-label-selectable-small",
17
+ {
18
+ "pv-label-selectable-highlight": e.variant === "highlight"
19
+ }
20
+ ]),
21
+ for: t.value
22
+ }, [
23
+ d("input", {
24
+ checked: e.selected,
25
+ class: "pv-hide",
26
+ name: "type",
27
+ type: e.deselect ? "checkbox" : "radio",
28
+ value: e.value,
29
+ id: t.value
30
+ }, null, 8, f),
31
+ m(n.$slots, "default")
32
+ ], 10, h));
33
+ }
34
+ }), y = /* @__PURE__ */ new Set(["PvIcon", "PvPopoverMenu", "PvPopover"]);
35
+ function b(e) {
36
+ return !y.has(e);
37
+ }
38
+ function a(e, t) {
39
+ const n = document.querySelector('link[href*="' + t + '"]');
40
+ if (!e.shadowRoot)
41
+ return !1;
42
+ if (n && e.shadowRoot) {
43
+ const o = n.href;
44
+ if (e.shadowRoot.querySelector(`link[href="${o}"]`))
45
+ return;
46
+ const r = document.createElement("link");
47
+ return r.rel = "stylesheet", r.href = o, e.shadowRoot.prepend(r), !0;
48
+ }
49
+ return !1;
50
+ }
51
+ function C(e) {
52
+ if (!a(e, "pit-viper-v2")) {
53
+ if (a(e, "pit-viper")) {
54
+ a(e, "pit-viper-v2-scoped");
55
+ return;
56
+ }
57
+ console.warn(
58
+ "No global styles found for Pit Viper components. Make sure to include pit-viper.css or pit-viper-v2.css in your project."
59
+ );
60
+ }
61
+ }
62
+ const S = (e) => ({ shadowRoot: b(e) });
63
+ function E(e) {
64
+ const t = e.__name || e.name;
65
+ if (!t)
66
+ throw new Error("Component must have a __name or name property");
67
+ const n = p(e, S(t));
68
+ class o extends n {
69
+ connectedCallback() {
70
+ super.connectedCallback?.(), C(this);
71
+ }
72
+ }
73
+ return o;
74
+ }
75
+ function g(e) {
76
+ return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
77
+ }
78
+ function w(e) {
79
+ const t = e.__name || e.name;
80
+ if (!t)
81
+ throw new Error("Component must have a __name or name property");
82
+ const n = g(t), o = E(e);
83
+ customElements.get(n) || customElements.define(n, o);
84
+ }
85
+ w(v);
@@ -0,0 +1,80 @@
1
+ import { defineComponent as d, createElementBlock as l, openBlock as c, createElementVNode as s, renderSlot as a, defineCustomElement as u } from "vue";
2
+ const h = { class: "pv-layout-two-sidebar" }, p = ["data-hidden"], m = { "data-layout": "main-section" }, f = ["data-hidden"], v = /* @__PURE__ */ d({
3
+ __name: "PvSidePanel",
4
+ props: {
5
+ showLeftSidebar: { type: Boolean },
6
+ showRightSidebar: { type: Boolean }
7
+ },
8
+ setup(e) {
9
+ return (t, o) => (c(), l("div", h, [
10
+ s("div", {
11
+ "data-hidden": e.showLeftSidebar === !1 ? !0 : void 0,
12
+ "data-testid": "pv-side-panel-left",
13
+ "data-layout": "left-sidebar"
14
+ }, [
15
+ a(t.$slots, "left-sidebar")
16
+ ], 8, p),
17
+ s("div", m, [
18
+ a(t.$slots, "main")
19
+ ]),
20
+ s("div", {
21
+ "data-hidden": e.showRightSidebar === !1 ? !0 : void 0,
22
+ "data-testid": "pv-side-panel-right",
23
+ "data-layout": "right-sidebar"
24
+ }, [
25
+ a(t.$slots, "right-sidebar")
26
+ ], 8, f)
27
+ ]));
28
+ }
29
+ }), _ = /* @__PURE__ */ new Set(["PvIcon", "PvPopoverMenu", "PvPopover"]);
30
+ function w(e) {
31
+ return !_.has(e);
32
+ }
33
+ function i(e, t) {
34
+ const o = document.querySelector('link[href*="' + t + '"]');
35
+ if (!e.shadowRoot)
36
+ return !1;
37
+ if (o && e.shadowRoot) {
38
+ const n = o.href;
39
+ if (e.shadowRoot.querySelector(`link[href="${n}"]`))
40
+ return;
41
+ const r = document.createElement("link");
42
+ return r.rel = "stylesheet", r.href = n, e.shadowRoot.prepend(r), !0;
43
+ }
44
+ return !1;
45
+ }
46
+ function b(e) {
47
+ if (!i(e, "pit-viper-v2")) {
48
+ if (i(e, "pit-viper")) {
49
+ i(e, "pit-viper-v2-scoped");
50
+ return;
51
+ }
52
+ console.warn(
53
+ "No global styles found for Pit Viper components. Make sure to include pit-viper.css or pit-viper-v2.css in your project."
54
+ );
55
+ }
56
+ }
57
+ const y = (e) => ({ shadowRoot: w(e) });
58
+ function S(e) {
59
+ const t = e.__name || e.name;
60
+ if (!t)
61
+ throw new Error("Component must have a __name or name property");
62
+ const o = u(e, y(t));
63
+ class n extends o {
64
+ connectedCallback() {
65
+ super.connectedCallback?.(), b(this);
66
+ }
67
+ }
68
+ return n;
69
+ }
70
+ function E(e) {
71
+ return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
72
+ }
73
+ function C(e) {
74
+ const t = e.__name || e.name;
75
+ if (!t)
76
+ throw new Error("Component must have a __name or name property");
77
+ const o = E(t), n = S(e);
78
+ customElements.get(o) || customElements.define(o, n);
79
+ }
80
+ C(v);