@designcrowd/fe-shared-lib 1.2.25-MP-4369.1 → 1.2.25-gt-8827
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/.claude/settings.local.json +10 -0
- package/dist/css/tailwind-brandCrowd.css +3 -0
- package/dist/css/tailwind-brandPage.css +3 -0
- package/dist/css/tailwind-crazyDomains.css +3 -0
- package/dist/css/tailwind-designCom.css +3 -0
- package/dist/css/tailwind-designCrowd.css +3 -0
- package/package.json +1 -1
- package/src/experiences/components/UploadYourLogoDropzone/UploadYourLogoDropzone.vue +1 -0
- package/src/useSharedLibTranslate.js +5 -0
package/package.json
CHANGED
|
@@ -101,6 +101,7 @@ import { uploadYourLogoTr } from '../../../useSharedLibTranslate';
|
|
|
101
101
|
const ACCEPTED_MIME_TYPES = ['image/jpeg', 'image/png', 'image/svg+xml', 'application/postscript'];
|
|
102
102
|
|
|
103
103
|
const ACCEPTED_FILE_EXTENSIONS = ['jpg', 'jpeg', 'png', 'svg', 'eps'];
|
|
104
|
+
|
|
104
105
|
const UNSUPPORTED_FILE_ERROR_MSG = () => uploadYourLogoTr(`wrongUploadType`);
|
|
105
106
|
|
|
106
107
|
export default {
|
|
@@ -89,6 +89,11 @@ const formatCurrency = (amount, locale, currency, fraction = 0, showAbbreviation
|
|
|
89
89
|
if (localeAmount.includes(currency.iso4127Code)) {
|
|
90
90
|
localeAmount = localeAmount.replace(currency.iso4127Code, symbolTrimmed);
|
|
91
91
|
}
|
|
92
|
+
|
|
93
|
+
// For EUR currency, always use comma as decimal separator regardless of locale
|
|
94
|
+
if (currency.iso4127Code === 'EUR') {
|
|
95
|
+
localeAmount = localeAmount.replace('.', ',');
|
|
96
|
+
}
|
|
92
97
|
|
|
93
98
|
// show abbreviation locale logic
|
|
94
99
|
// note: showAbbreviation is only passed as true for symbol = "$"
|