@turquoisehealth/pit-viper 2.188.0 → 2.189.1-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 (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-company-label-stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-company-logo-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-company-tag-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-header-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-query-builder-input-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-table-of-contents-stats.html +4950 -0
  13. package/pv-components/dist/vue/base/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +3 -0
  14. package/pv-components/dist/vue/base/components/base/PvHeader/PvHeader.vue.d.ts +2 -0
  15. package/pv-components/dist/vue/base/components/base/PvTableOfContents/PvTableOfContents.vue.d.ts +19 -0
  16. package/pv-components/dist/vue/base/components/base/PvTableOfContents/types.d.ts +6 -0
  17. package/pv-components/dist/vue/base/components/base/index.d.ts +2 -0
  18. package/pv-components/dist/vue/base/pv-components-base.mjs +183 -149
  19. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  20. package/pv-components/dist/vue/visualizations/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +3 -0
  21. package/pv-components/dist/vue/visualizations/components/base/PvHeader/PvHeader.vue.d.ts +2 -0
  22. package/pv-components/dist/vue/visualizations/components/base/PvTableOfContents/PvTableOfContents.vue.d.ts +19 -0
  23. package/pv-components/dist/vue/visualizations/components/base/PvTableOfContents/types.d.ts +6 -0
  24. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +2 -0
  25. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvTableOptionsPanel.vue.d.ts +75 -2
  26. package/pv-components/dist/vue/visualizations/components/visualizations/index.d.ts +1 -0
  27. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2304 -2243
  28. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  29. package/pv-components/dist/web/components/pv-company-label/pv-company-label.js +5 -1
  30. package/pv-components/dist/web/components/pv-company-logo/pv-company-logo.js +5 -1
  31. package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +5 -1
  32. package/pv-components/dist/web/components/pv-header/pv-header.js +367 -363
  33. package/pv-components/dist/web/components/pv-menu/pv-menu.js +5 -1
  34. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +5 -1
  35. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +5 -1
  36. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +5 -1
  37. package/pv-components/dist/web/components/pv-table-of-contents/pv-table-of-contents.js +6234 -0
  38. package/pv-components/dist/web/pv-components.iife.js +13 -13
  39. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -45,13 +45,17 @@ var x = {
45
45
  toCamelCase: {
46
46
  type: Boolean,
47
47
  default: !0
48
+ },
49
+ toSnakeCase: {
50
+ type: Boolean,
51
+ default: !1
48
52
  }
49
53
  },
50
54
  setup(r) {
51
55
  let i = r, a = m(!0), o = e(() => x[i.size] || "32px"), s = e(() => ({
52
56
  "pv-icon": a.value,
53
57
  [`pv-company-${i.size}`]: i.size && !a.value
54
- })), u = e(() => ({ width: o.value })), f = e(() => i.toCamelCase ? b(i.name) + ".svg" : i.name + ".svg"), p = e(() => i.srcPathOverride ? i.srcPathOverride : `${i.basePath}/${f.value}`);
58
+ })), u = e(() => ({ width: o.value })), f = e(() => i.toSnakeCase ? `${i.name.toLowerCase().replace(/[^a-z\s]/g, "").trim().replace(/\s+/g, "_")}.svg` : i.toCamelCase ? b(i.name) + ".svg" : i.name + ".svg"), p = e(() => i.srcPathOverride ? i.srcPathOverride : `${i.basePath}/${f.value}`);
55
59
  return g(p, () => {
56
60
  a.value = !0;
57
61
  }), (e, r) => (d(), t("div", S, [a.value ? (d(), t("div", {
@@ -45,13 +45,17 @@ var y = {
45
45
  toCamelCase: {
46
46
  type: Boolean,
47
47
  default: !0
48
+ },
49
+ toSnakeCase: {
50
+ type: Boolean,
51
+ default: !1
48
52
  }
49
53
  },
50
54
  setup(r) {
51
55
  let i = r, a = p(!0), o = e(() => y[i.size] || "32px"), l = e(() => ({
52
56
  "pv-icon": a.value,
53
57
  [`pv-company-${i.size}`]: i.size && !a.value
54
- })), d = e(() => ({ width: o.value })), f = e(() => i.toCamelCase ? v(i.name) + ".svg" : i.name + ".svg"), h = e(() => i.srcPathOverride ? i.srcPathOverride : `${i.basePath}/${f.value}`);
58
+ })), d = e(() => ({ width: o.value })), f = e(() => i.toSnakeCase ? `${i.name.toLowerCase().replace(/[^a-z\s]/g, "").trim().replace(/\s+/g, "_")}.svg` : i.toCamelCase ? v(i.name) + ".svg" : i.name + ".svg"), h = e(() => i.srcPathOverride ? i.srcPathOverride : `${i.basePath}/${f.value}`);
55
59
  return m(h, () => {
56
60
  a.value = !0;
57
61
  }), (e, r) => (u(), t("div", b, [a.value ? (u(), t("div", {
@@ -53,13 +53,17 @@ var w = {
53
53
  toCamelCase: {
54
54
  type: Boolean,
55
55
  default: !0
56
+ },
57
+ toSnakeCase: {
58
+ type: Boolean,
59
+ default: !1
56
60
  }
57
61
  },
58
62
  setup(t) {
59
63
  let n = t, a = g(!0), o = e(() => w[n.size] || "32px"), s = e(() => ({
60
64
  "pv-icon": a.value,
61
65
  [`pv-company-${n.size}`]: n.size && !a.value
62
- })), c = e(() => ({ width: o.value })), l = e(() => n.toCamelCase ? C(n.name) + ".svg" : n.name + ".svg"), f = e(() => n.srcPathOverride ? n.srcPathOverride : `${n.basePath}/${l.value}`);
66
+ })), c = e(() => ({ width: o.value })), l = e(() => n.toSnakeCase ? `${n.name.toLowerCase().replace(/[^a-z\s]/g, "").trim().replace(/\s+/g, "_")}.svg` : n.toCamelCase ? C(n.name) + ".svg" : n.name + ".svg"), f = e(() => n.srcPathOverride ? n.srcPathOverride : `${n.basePath}/${l.value}`);
63
67
  return v(f, () => {
64
68
  a.value = !0;
65
69
  }), (e, t) => (p(), r("div", E, [a.value ? (p(), r("div", {