@turquoisehealth/pit-viper 2.191.0 → 2.192.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.
- package/_src/assets/sprite-v2.svg +1 -1
- package/_src/assets/sprite.svg +1 -1
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-company-label-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-company-logo-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-company-tag-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/vue/base/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +1 -4
- package/pv-components/dist/vue/base/pv-components-base.mjs +2 -6
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +1 -4
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2 -6
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-company-label/pv-company-label.js +2 -6
- package/pv-components/dist/web/components/pv-company-logo/pv-company-logo.js +2 -6
- package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +2 -6
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +2 -6
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +2 -6
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +2 -6
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +2 -6
- package/pv-components/dist/web/pv-components.iife.js +2 -2
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
package/pv-components/dist/vue/visualizations/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts
CHANGED
|
@@ -9,15 +9,12 @@ type PvCompanyLogoProps = {
|
|
|
9
9
|
size?: PvCompanyLogoSize;
|
|
10
10
|
/** When provided, overrides the computed image URL entirely (ignores `name` and `basePath`). */
|
|
11
11
|
srcPathOverride?: string;
|
|
12
|
-
/**
|
|
13
|
-
toCamelCase?: boolean;
|
|
14
|
-
/** When true, converts `name` to snake_case (lowercase, non-letter/non-space chars stripped, spaces → `_`) before building the image URL. Takes precedence over `toCamelCase`. */
|
|
12
|
+
/** @deprecated Will be removed in a future release; `name` should always be converted to snake_case. */
|
|
15
13
|
toSnakeCase?: boolean;
|
|
16
14
|
};
|
|
17
15
|
declare const _default: DefineComponent<PvCompanyLogoProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvCompanyLogoProps> & Readonly<{}>, {
|
|
18
16
|
size: PvCompanyLogoSize;
|
|
19
17
|
basePath: string;
|
|
20
|
-
toCamelCase: boolean;
|
|
21
18
|
toSnakeCase: boolean;
|
|
22
19
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
20
|
export default _default;
|
|
@@ -1769,20 +1769,16 @@ var gi = { style: { width: "fit-content" } }, _i = /* @__PURE__ */ d({
|
|
|
1769
1769
|
name: {},
|
|
1770
1770
|
size: { default: "md" },
|
|
1771
1771
|
srcPathOverride: {},
|
|
1772
|
-
toCamelCase: {
|
|
1773
|
-
type: Boolean,
|
|
1774
|
-
default: !0
|
|
1775
|
-
},
|
|
1776
1772
|
toSnakeCase: {
|
|
1777
1773
|
type: Boolean,
|
|
1778
|
-
default: !
|
|
1774
|
+
default: !0
|
|
1779
1775
|
}
|
|
1780
1776
|
},
|
|
1781
1777
|
setup(e) {
|
|
1782
1778
|
let t = e, n = O(!0), i = r(() => an[t.size] || "32px"), a = r(() => ({
|
|
1783
1779
|
"pv-icon": n.value,
|
|
1784
1780
|
[`pv-company-${t.size}`]: t.size && !n.value
|
|
1785
|
-
})), c = r(() => ({ width: i.value })), l = r(() => t.toSnakeCase ? `${t.name.toLowerCase().replace(/[^a-z\s]/g, "").trim().replace(/\s+/g, "_")}.svg` :
|
|
1781
|
+
})), c = r(() => ({ width: i.value })), l = r(() => t.toSnakeCase ? `${t.name.toLowerCase().replace(/[^a-z\s]/g, "").trim().replace(/\s+/g, "_")}.svg` : Ye(t.name) + ".svg"), u = r(() => t.srcPathOverride ? t.srcPathOverride : `${t.basePath}/${l.value}`);
|
|
1786
1782
|
return H(u, () => {
|
|
1787
1783
|
n.value = !0;
|
|
1788
1784
|
}), (e, t) => (E(), o("div", xi, [n.value ? (E(), o("div", {
|