@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
|
@@ -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;
|
|
@@ -1612,20 +1612,16 @@ var Zn = { style: { width: "fit-content" } }, Qn = /* @__PURE__ */ d({
|
|
|
1612
1612
|
name: {},
|
|
1613
1613
|
size: { default: "md" },
|
|
1614
1614
|
srcPathOverride: {},
|
|
1615
|
-
toCamelCase: {
|
|
1616
|
-
type: Boolean,
|
|
1617
|
-
default: !0
|
|
1618
|
-
},
|
|
1619
1615
|
toSnakeCase: {
|
|
1620
1616
|
type: Boolean,
|
|
1621
|
-
default: !
|
|
1617
|
+
default: !0
|
|
1622
1618
|
}
|
|
1623
1619
|
},
|
|
1624
1620
|
setup(e) {
|
|
1625
1621
|
let t = e, n = D(!0), i = r(() => Me[t.size] || "32px"), a = r(() => ({
|
|
1626
1622
|
"pv-icon": n.value,
|
|
1627
1623
|
[`pv-company-${t.size}`]: t.size && !n.value
|
|
1628
|
-
})), c = r(() => ({ width: i.value })), l = r(() => t.toSnakeCase ? `${t.name.toLowerCase().replace(/[^a-z\s]/g, "").trim().replace(/\s+/g, "_")}.svg` :
|
|
1624
|
+
})), c = r(() => ({ width: i.value })), l = r(() => t.toSnakeCase ? `${t.name.toLowerCase().replace(/[^a-z\s]/g, "").trim().replace(/\s+/g, "_")}.svg` : le(t.name) + ".svg"), u = r(() => t.srcPathOverride ? t.srcPathOverride : `${t.basePath}/${l.value}`);
|
|
1629
1625
|
return H(u, () => {
|
|
1630
1626
|
n.value = !0;
|
|
1631
1627
|
}), (e, t) => (T(), o("div", or, [n.value ? (T(), o("div", {
|