@designcrowd/fe-shared-lib 1.2.11-ml-currency-3 → 1.2.11-ml-407-2
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/Dockerfile +1 -1
- package/dist/css/tailwind-brandCrowd.css +37 -3
- package/dist/css/tailwind-brandPage.css +33 -3
- package/dist/css/tailwind-crazyDomains.css +37 -3
- package/dist/css/tailwind-designCom.css +37 -3
- package/dist/css/tailwind-designCrowd.css +37 -3
- package/package.json +2 -2
- package/src/atoms/components/Price/Price.fixtures.js +2 -62
- package/src/atoms/components/Price/Price.stories.js +5 -58
- package/src/atoms/components/Price/Price.vue +2 -21
- package/src/experiences/components/AuthFlow/SignIn.vue +10 -1
- package/src/experiences/components/AuthFlow/SignUp.vue +5 -0
- package/src/useSharedLibTranslate.js +2 -37
package/Dockerfile
CHANGED
|
@@ -29,7 +29,7 @@ COPY .npmignore ./
|
|
|
29
29
|
RUN npm run bundle-translation
|
|
30
30
|
|
|
31
31
|
RUN mkdir artifacts
|
|
32
|
-
RUN npm publish
|
|
32
|
+
RUN npm publish || (touch artifacts/npm_publish_failed && exit 1)
|
|
33
33
|
RUN cp package.json artifacts/
|
|
34
34
|
|
|
35
35
|
ENTRYPOINT ["/bin/echo", "Nothing to do."]
|
|
@@ -643,6 +643,10 @@ video {
|
|
|
643
643
|
margin-top: 0px;
|
|
644
644
|
margin-bottom: 0px;
|
|
645
645
|
}
|
|
646
|
+
.tw-my-1 {
|
|
647
|
+
margin-top: 0.25rem;
|
|
648
|
+
margin-bottom: 0.25rem;
|
|
649
|
+
}
|
|
646
650
|
.tw-my-10 {
|
|
647
651
|
margin-top: 2.5rem;
|
|
648
652
|
margin-bottom: 2.5rem;
|
|
@@ -719,6 +723,9 @@ video {
|
|
|
719
723
|
.tw-ml-auto {
|
|
720
724
|
margin-left: auto;
|
|
721
725
|
}
|
|
726
|
+
.tw-mr-1 {
|
|
727
|
+
margin-right: 0.25rem;
|
|
728
|
+
}
|
|
722
729
|
.tw-mr-2 {
|
|
723
730
|
margin-right: 0.5rem;
|
|
724
731
|
}
|
|
@@ -827,6 +834,10 @@ video {
|
|
|
827
834
|
.tw-h-auto {
|
|
828
835
|
height: auto;
|
|
829
836
|
}
|
|
837
|
+
.tw-h-fit {
|
|
838
|
+
height: -moz-fit-content;
|
|
839
|
+
height: fit-content;
|
|
840
|
+
}
|
|
830
841
|
.tw-h-full {
|
|
831
842
|
height: 100%;
|
|
832
843
|
}
|
|
@@ -842,9 +853,6 @@ video {
|
|
|
842
853
|
.tw-max-h-screen {
|
|
843
854
|
max-height: 100vh;
|
|
844
855
|
}
|
|
845
|
-
.tw-w-1\/3 {
|
|
846
|
-
width: 33.333333%;
|
|
847
|
-
}
|
|
848
856
|
.tw-w-10 {
|
|
849
857
|
width: 2.5rem;
|
|
850
858
|
}
|
|
@@ -1013,6 +1021,9 @@ video {
|
|
|
1013
1021
|
.tw-animate-spin {
|
|
1014
1022
|
animation: tw-spin 1s linear infinite;
|
|
1015
1023
|
}
|
|
1024
|
+
.\!tw-cursor-not-allowed {
|
|
1025
|
+
cursor: not-allowed !important;
|
|
1026
|
+
}
|
|
1016
1027
|
.tw-cursor-not-allowed {
|
|
1017
1028
|
cursor: not-allowed;
|
|
1018
1029
|
}
|
|
@@ -1446,6 +1457,17 @@ video {
|
|
|
1446
1457
|
.tw-bg-opacity-80 {
|
|
1447
1458
|
--tw-bg-opacity: 0.8;
|
|
1448
1459
|
}
|
|
1460
|
+
.tw-bg-gradient-to-t {
|
|
1461
|
+
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1462
|
+
}
|
|
1463
|
+
.tw-from-\[\#d946ef\] {
|
|
1464
|
+
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1465
|
+
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1466
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1467
|
+
}
|
|
1468
|
+
.tw-to-\[\#8b5cf6\] {
|
|
1469
|
+
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1470
|
+
}
|
|
1449
1471
|
.tw-bg-no-repeat {
|
|
1450
1472
|
background-repeat: no-repeat;
|
|
1451
1473
|
}
|
|
@@ -2023,6 +2045,10 @@ video {
|
|
|
2023
2045
|
--tw-bg-opacity: 1;
|
|
2024
2046
|
background-color: rgb(0 121 172 / var(--tw-bg-opacity));
|
|
2025
2047
|
}
|
|
2048
|
+
.hover\:tw-bg-primary-100:hover {
|
|
2049
|
+
--tw-bg-opacity: 1;
|
|
2050
|
+
background-color: rgb(252 209 217 / var(--tw-bg-opacity));
|
|
2051
|
+
}
|
|
2026
2052
|
.hover\:tw-bg-primary-400:hover {
|
|
2027
2053
|
--tw-bg-opacity: 1;
|
|
2028
2054
|
background-color: rgb(245 73 101 / var(--tw-bg-opacity));
|
|
@@ -2087,6 +2113,10 @@ video {
|
|
|
2087
2113
|
--tw-shadow-color: #0097D7 !important;
|
|
2088
2114
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2089
2115
|
}
|
|
2116
|
+
.hover\:tw-brightness-\[0\.85\]:hover {
|
|
2117
|
+
--tw-brightness: brightness(0.85);
|
|
2118
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2119
|
+
}
|
|
2090
2120
|
.focus\:tw-border-error-600:focus {
|
|
2091
2121
|
--tw-border-opacity: 1;
|
|
2092
2122
|
border-color: rgb(194 22 50 / var(--tw-border-opacity));
|
|
@@ -2229,6 +2259,10 @@ video {
|
|
|
2229
2259
|
margin-left: 1rem;
|
|
2230
2260
|
}
|
|
2231
2261
|
|
|
2262
|
+
.md\:tw-mr-2 {
|
|
2263
|
+
margin-right: 0.5rem;
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2232
2266
|
.md\:tw-mt-0 {
|
|
2233
2267
|
margin-top: 0px;
|
|
2234
2268
|
}
|
|
@@ -643,6 +643,10 @@ video {
|
|
|
643
643
|
margin-top: 0px;
|
|
644
644
|
margin-bottom: 0px;
|
|
645
645
|
}
|
|
646
|
+
.tw-my-1 {
|
|
647
|
+
margin-top: 0.25rem;
|
|
648
|
+
margin-bottom: 0.25rem;
|
|
649
|
+
}
|
|
646
650
|
.tw-my-10 {
|
|
647
651
|
margin-top: 2.5rem;
|
|
648
652
|
margin-bottom: 2.5rem;
|
|
@@ -719,6 +723,9 @@ video {
|
|
|
719
723
|
.tw-ml-auto {
|
|
720
724
|
margin-left: auto;
|
|
721
725
|
}
|
|
726
|
+
.tw-mr-1 {
|
|
727
|
+
margin-right: 0.25rem;
|
|
728
|
+
}
|
|
722
729
|
.tw-mr-2 {
|
|
723
730
|
margin-right: 0.5rem;
|
|
724
731
|
}
|
|
@@ -827,6 +834,10 @@ video {
|
|
|
827
834
|
.tw-h-auto {
|
|
828
835
|
height: auto;
|
|
829
836
|
}
|
|
837
|
+
.tw-h-fit {
|
|
838
|
+
height: -moz-fit-content;
|
|
839
|
+
height: fit-content;
|
|
840
|
+
}
|
|
830
841
|
.tw-h-full {
|
|
831
842
|
height: 100%;
|
|
832
843
|
}
|
|
@@ -842,9 +853,6 @@ video {
|
|
|
842
853
|
.tw-max-h-screen {
|
|
843
854
|
max-height: 100vh;
|
|
844
855
|
}
|
|
845
|
-
.tw-w-1\/3 {
|
|
846
|
-
width: 33.333333%;
|
|
847
|
-
}
|
|
848
856
|
.tw-w-10 {
|
|
849
857
|
width: 2.5rem;
|
|
850
858
|
}
|
|
@@ -1013,6 +1021,9 @@ video {
|
|
|
1013
1021
|
.tw-animate-spin {
|
|
1014
1022
|
animation: tw-spin 1s linear infinite;
|
|
1015
1023
|
}
|
|
1024
|
+
.\!tw-cursor-not-allowed {
|
|
1025
|
+
cursor: not-allowed !important;
|
|
1026
|
+
}
|
|
1016
1027
|
.tw-cursor-not-allowed {
|
|
1017
1028
|
cursor: not-allowed;
|
|
1018
1029
|
}
|
|
@@ -1294,6 +1305,17 @@ video {
|
|
|
1294
1305
|
.tw-bg-opacity-80 {
|
|
1295
1306
|
--tw-bg-opacity: 0.8;
|
|
1296
1307
|
}
|
|
1308
|
+
.tw-bg-gradient-to-t {
|
|
1309
|
+
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1310
|
+
}
|
|
1311
|
+
.tw-from-\[\#d946ef\] {
|
|
1312
|
+
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1313
|
+
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1314
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1315
|
+
}
|
|
1316
|
+
.tw-to-\[\#8b5cf6\] {
|
|
1317
|
+
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1318
|
+
}
|
|
1297
1319
|
.tw-bg-no-repeat {
|
|
1298
1320
|
background-repeat: no-repeat;
|
|
1299
1321
|
}
|
|
@@ -1791,6 +1813,10 @@ video {
|
|
|
1791
1813
|
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
|
1792
1814
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1793
1815
|
}
|
|
1816
|
+
.hover\:tw-brightness-\[0\.85\]:hover {
|
|
1817
|
+
--tw-brightness: brightness(0.85);
|
|
1818
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
1819
|
+
}
|
|
1794
1820
|
.focus\:tw-border-grayscale-600:focus {
|
|
1795
1821
|
--tw-border-opacity: 1;
|
|
1796
1822
|
border-color: rgb(94 94 94 / var(--tw-border-opacity));
|
|
@@ -1917,6 +1943,10 @@ video {
|
|
|
1917
1943
|
margin-left: 1rem;
|
|
1918
1944
|
}
|
|
1919
1945
|
|
|
1946
|
+
.md\:tw-mr-2 {
|
|
1947
|
+
margin-right: 0.5rem;
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1920
1950
|
.md\:tw-mt-0 {
|
|
1921
1951
|
margin-top: 0px;
|
|
1922
1952
|
}
|
|
@@ -643,6 +643,10 @@ video {
|
|
|
643
643
|
margin-top: 0px;
|
|
644
644
|
margin-bottom: 0px;
|
|
645
645
|
}
|
|
646
|
+
.tw-my-1 {
|
|
647
|
+
margin-top: 0.25rem;
|
|
648
|
+
margin-bottom: 0.25rem;
|
|
649
|
+
}
|
|
646
650
|
.tw-my-10 {
|
|
647
651
|
margin-top: 2.5rem;
|
|
648
652
|
margin-bottom: 2.5rem;
|
|
@@ -719,6 +723,9 @@ video {
|
|
|
719
723
|
.tw-ml-auto {
|
|
720
724
|
margin-left: auto;
|
|
721
725
|
}
|
|
726
|
+
.tw-mr-1 {
|
|
727
|
+
margin-right: 0.25rem;
|
|
728
|
+
}
|
|
722
729
|
.tw-mr-2 {
|
|
723
730
|
margin-right: 0.5rem;
|
|
724
731
|
}
|
|
@@ -827,6 +834,10 @@ video {
|
|
|
827
834
|
.tw-h-auto {
|
|
828
835
|
height: auto;
|
|
829
836
|
}
|
|
837
|
+
.tw-h-fit {
|
|
838
|
+
height: -moz-fit-content;
|
|
839
|
+
height: fit-content;
|
|
840
|
+
}
|
|
830
841
|
.tw-h-full {
|
|
831
842
|
height: 100%;
|
|
832
843
|
}
|
|
@@ -842,9 +853,6 @@ video {
|
|
|
842
853
|
.tw-max-h-screen {
|
|
843
854
|
max-height: 100vh;
|
|
844
855
|
}
|
|
845
|
-
.tw-w-1\/3 {
|
|
846
|
-
width: 33.333333%;
|
|
847
|
-
}
|
|
848
856
|
.tw-w-10 {
|
|
849
857
|
width: 2.5rem;
|
|
850
858
|
}
|
|
@@ -1013,6 +1021,9 @@ video {
|
|
|
1013
1021
|
.tw-animate-spin {
|
|
1014
1022
|
animation: tw-spin 1s linear infinite;
|
|
1015
1023
|
}
|
|
1024
|
+
.\!tw-cursor-not-allowed {
|
|
1025
|
+
cursor: not-allowed !important;
|
|
1026
|
+
}
|
|
1016
1027
|
.tw-cursor-not-allowed {
|
|
1017
1028
|
cursor: not-allowed;
|
|
1018
1029
|
}
|
|
@@ -1446,6 +1457,17 @@ video {
|
|
|
1446
1457
|
.tw-bg-opacity-80 {
|
|
1447
1458
|
--tw-bg-opacity: 0.8;
|
|
1448
1459
|
}
|
|
1460
|
+
.tw-bg-gradient-to-t {
|
|
1461
|
+
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1462
|
+
}
|
|
1463
|
+
.tw-from-\[\#d946ef\] {
|
|
1464
|
+
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1465
|
+
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1466
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1467
|
+
}
|
|
1468
|
+
.tw-to-\[\#8b5cf6\] {
|
|
1469
|
+
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1470
|
+
}
|
|
1449
1471
|
.tw-bg-no-repeat {
|
|
1450
1472
|
background-repeat: no-repeat;
|
|
1451
1473
|
}
|
|
@@ -2023,6 +2045,10 @@ video {
|
|
|
2023
2045
|
--tw-bg-opacity: 1;
|
|
2024
2046
|
background-color: rgb(0 129 191 / var(--tw-bg-opacity));
|
|
2025
2047
|
}
|
|
2048
|
+
.hover\:tw-bg-primary-100:hover {
|
|
2049
|
+
--tw-bg-opacity: 1;
|
|
2050
|
+
background-color: rgb(226 238 213 / var(--tw-bg-opacity));
|
|
2051
|
+
}
|
|
2026
2052
|
.hover\:tw-bg-primary-400:hover {
|
|
2027
2053
|
--tw-bg-opacity: 1;
|
|
2028
2054
|
background-color: rgb(140 189 89 / var(--tw-bg-opacity));
|
|
@@ -2087,6 +2113,10 @@ video {
|
|
|
2087
2113
|
--tw-shadow-color: #00A1EF !important;
|
|
2088
2114
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2089
2115
|
}
|
|
2116
|
+
.hover\:tw-brightness-\[0\.85\]:hover {
|
|
2117
|
+
--tw-brightness: brightness(0.85);
|
|
2118
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2119
|
+
}
|
|
2090
2120
|
.focus\:tw-border-error-600:focus {
|
|
2091
2121
|
--tw-border-opacity: 1;
|
|
2092
2122
|
border-color: rgb(186 24 79 / var(--tw-border-opacity));
|
|
@@ -2229,6 +2259,10 @@ video {
|
|
|
2229
2259
|
margin-left: 1rem;
|
|
2230
2260
|
}
|
|
2231
2261
|
|
|
2262
|
+
.md\:tw-mr-2 {
|
|
2263
|
+
margin-right: 0.5rem;
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2232
2266
|
.md\:tw-mt-0 {
|
|
2233
2267
|
margin-top: 0px;
|
|
2234
2268
|
}
|
|
@@ -643,6 +643,10 @@ video {
|
|
|
643
643
|
margin-top: 0px;
|
|
644
644
|
margin-bottom: 0px;
|
|
645
645
|
}
|
|
646
|
+
.tw-my-1 {
|
|
647
|
+
margin-top: 0.25rem;
|
|
648
|
+
margin-bottom: 0.25rem;
|
|
649
|
+
}
|
|
646
650
|
.tw-my-10 {
|
|
647
651
|
margin-top: 2.5rem;
|
|
648
652
|
margin-bottom: 2.5rem;
|
|
@@ -719,6 +723,9 @@ video {
|
|
|
719
723
|
.tw-ml-auto {
|
|
720
724
|
margin-left: auto;
|
|
721
725
|
}
|
|
726
|
+
.tw-mr-1 {
|
|
727
|
+
margin-right: 0.25rem;
|
|
728
|
+
}
|
|
722
729
|
.tw-mr-2 {
|
|
723
730
|
margin-right: 0.5rem;
|
|
724
731
|
}
|
|
@@ -827,6 +834,10 @@ video {
|
|
|
827
834
|
.tw-h-auto {
|
|
828
835
|
height: auto;
|
|
829
836
|
}
|
|
837
|
+
.tw-h-fit {
|
|
838
|
+
height: -moz-fit-content;
|
|
839
|
+
height: fit-content;
|
|
840
|
+
}
|
|
830
841
|
.tw-h-full {
|
|
831
842
|
height: 100%;
|
|
832
843
|
}
|
|
@@ -842,9 +853,6 @@ video {
|
|
|
842
853
|
.tw-max-h-screen {
|
|
843
854
|
max-height: 100vh;
|
|
844
855
|
}
|
|
845
|
-
.tw-w-1\/3 {
|
|
846
|
-
width: 33.333333%;
|
|
847
|
-
}
|
|
848
856
|
.tw-w-10 {
|
|
849
857
|
width: 2.5rem;
|
|
850
858
|
}
|
|
@@ -1013,6 +1021,9 @@ video {
|
|
|
1013
1021
|
.tw-animate-spin {
|
|
1014
1022
|
animation: tw-spin 1s linear infinite;
|
|
1015
1023
|
}
|
|
1024
|
+
.\!tw-cursor-not-allowed {
|
|
1025
|
+
cursor: not-allowed !important;
|
|
1026
|
+
}
|
|
1016
1027
|
.tw-cursor-not-allowed {
|
|
1017
1028
|
cursor: not-allowed;
|
|
1018
1029
|
}
|
|
@@ -1446,6 +1457,17 @@ video {
|
|
|
1446
1457
|
.tw-bg-opacity-80 {
|
|
1447
1458
|
--tw-bg-opacity: 0.8;
|
|
1448
1459
|
}
|
|
1460
|
+
.tw-bg-gradient-to-t {
|
|
1461
|
+
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1462
|
+
}
|
|
1463
|
+
.tw-from-\[\#d946ef\] {
|
|
1464
|
+
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1465
|
+
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1466
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1467
|
+
}
|
|
1468
|
+
.tw-to-\[\#8b5cf6\] {
|
|
1469
|
+
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1470
|
+
}
|
|
1449
1471
|
.tw-bg-no-repeat {
|
|
1450
1472
|
background-repeat: no-repeat;
|
|
1451
1473
|
}
|
|
@@ -2023,6 +2045,10 @@ video {
|
|
|
2023
2045
|
--tw-bg-opacity: 1;
|
|
2024
2046
|
background-color: rgb(50 71 197 / var(--tw-bg-opacity));
|
|
2025
2047
|
}
|
|
2048
|
+
.hover\:tw-bg-primary-100:hover {
|
|
2049
|
+
--tw-bg-opacity: 1;
|
|
2050
|
+
background-color: rgb(236 238 254 / var(--tw-bg-opacity));
|
|
2051
|
+
}
|
|
2026
2052
|
.hover\:tw-bg-primary-400:hover {
|
|
2027
2053
|
--tw-bg-opacity: 1;
|
|
2028
2054
|
background-color: rgb(121 139 249 / var(--tw-bg-opacity));
|
|
@@ -2087,6 +2113,10 @@ video {
|
|
|
2087
2113
|
--tw-shadow-color: #3f59f6 !important;
|
|
2088
2114
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2089
2115
|
}
|
|
2116
|
+
.hover\:tw-brightness-\[0\.85\]:hover {
|
|
2117
|
+
--tw-brightness: brightness(0.85);
|
|
2118
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2119
|
+
}
|
|
2090
2120
|
.focus\:tw-border-error-600:focus {
|
|
2091
2121
|
--tw-border-opacity: 1;
|
|
2092
2122
|
border-color: rgb(182 58 42 / var(--tw-border-opacity));
|
|
@@ -2229,6 +2259,10 @@ video {
|
|
|
2229
2259
|
margin-left: 1rem;
|
|
2230
2260
|
}
|
|
2231
2261
|
|
|
2262
|
+
.md\:tw-mr-2 {
|
|
2263
|
+
margin-right: 0.5rem;
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2232
2266
|
.md\:tw-mt-0 {
|
|
2233
2267
|
margin-top: 0px;
|
|
2234
2268
|
}
|
|
@@ -643,6 +643,10 @@ video {
|
|
|
643
643
|
margin-top: 0px;
|
|
644
644
|
margin-bottom: 0px;
|
|
645
645
|
}
|
|
646
|
+
.tw-my-1 {
|
|
647
|
+
margin-top: 0.25rem;
|
|
648
|
+
margin-bottom: 0.25rem;
|
|
649
|
+
}
|
|
646
650
|
.tw-my-10 {
|
|
647
651
|
margin-top: 2.5rem;
|
|
648
652
|
margin-bottom: 2.5rem;
|
|
@@ -719,6 +723,9 @@ video {
|
|
|
719
723
|
.tw-ml-auto {
|
|
720
724
|
margin-left: auto;
|
|
721
725
|
}
|
|
726
|
+
.tw-mr-1 {
|
|
727
|
+
margin-right: 0.25rem;
|
|
728
|
+
}
|
|
722
729
|
.tw-mr-2 {
|
|
723
730
|
margin-right: 0.5rem;
|
|
724
731
|
}
|
|
@@ -827,6 +834,10 @@ video {
|
|
|
827
834
|
.tw-h-auto {
|
|
828
835
|
height: auto;
|
|
829
836
|
}
|
|
837
|
+
.tw-h-fit {
|
|
838
|
+
height: -moz-fit-content;
|
|
839
|
+
height: fit-content;
|
|
840
|
+
}
|
|
830
841
|
.tw-h-full {
|
|
831
842
|
height: 100%;
|
|
832
843
|
}
|
|
@@ -842,9 +853,6 @@ video {
|
|
|
842
853
|
.tw-max-h-screen {
|
|
843
854
|
max-height: 100vh;
|
|
844
855
|
}
|
|
845
|
-
.tw-w-1\/3 {
|
|
846
|
-
width: 33.333333%;
|
|
847
|
-
}
|
|
848
856
|
.tw-w-10 {
|
|
849
857
|
width: 2.5rem;
|
|
850
858
|
}
|
|
@@ -1013,6 +1021,9 @@ video {
|
|
|
1013
1021
|
.tw-animate-spin {
|
|
1014
1022
|
animation: tw-spin 1s linear infinite;
|
|
1015
1023
|
}
|
|
1024
|
+
.\!tw-cursor-not-allowed {
|
|
1025
|
+
cursor: not-allowed !important;
|
|
1026
|
+
}
|
|
1016
1027
|
.tw-cursor-not-allowed {
|
|
1017
1028
|
cursor: not-allowed;
|
|
1018
1029
|
}
|
|
@@ -1446,6 +1457,17 @@ video {
|
|
|
1446
1457
|
.tw-bg-opacity-80 {
|
|
1447
1458
|
--tw-bg-opacity: 0.8;
|
|
1448
1459
|
}
|
|
1460
|
+
.tw-bg-gradient-to-t {
|
|
1461
|
+
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1462
|
+
}
|
|
1463
|
+
.tw-from-\[\#d946ef\] {
|
|
1464
|
+
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1465
|
+
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1466
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1467
|
+
}
|
|
1468
|
+
.tw-to-\[\#8b5cf6\] {
|
|
1469
|
+
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1470
|
+
}
|
|
1449
1471
|
.tw-bg-no-repeat {
|
|
1450
1472
|
background-repeat: no-repeat;
|
|
1451
1473
|
}
|
|
@@ -2023,6 +2045,10 @@ video {
|
|
|
2023
2045
|
--tw-bg-opacity: 1;
|
|
2024
2046
|
background-color: rgb(14 121 188 / var(--tw-bg-opacity));
|
|
2025
2047
|
}
|
|
2048
|
+
.hover\:tw-bg-primary-100:hover {
|
|
2049
|
+
--tw-bg-opacity: 1;
|
|
2050
|
+
background-color: rgb(207 234 251 / var(--tw-bg-opacity));
|
|
2051
|
+
}
|
|
2026
2052
|
.hover\:tw-bg-primary-400:hover {
|
|
2027
2053
|
--tw-bg-opacity: 1;
|
|
2028
2054
|
background-color: rgb(65 172 239 / var(--tw-bg-opacity));
|
|
@@ -2087,6 +2113,10 @@ video {
|
|
|
2087
2113
|
--tw-shadow-color: #1197EB !important;
|
|
2088
2114
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2089
2115
|
}
|
|
2116
|
+
.hover\:tw-brightness-\[0\.85\]:hover {
|
|
2117
|
+
--tw-brightness: brightness(0.85);
|
|
2118
|
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2119
|
+
}
|
|
2090
2120
|
.focus\:tw-border-error-600:focus {
|
|
2091
2121
|
--tw-border-opacity: 1;
|
|
2092
2122
|
border-color: rgb(195 50 48 / var(--tw-border-opacity));
|
|
@@ -2229,6 +2259,10 @@ video {
|
|
|
2229
2259
|
margin-left: 1rem;
|
|
2230
2260
|
}
|
|
2231
2261
|
|
|
2262
|
+
.md\:tw-mr-2 {
|
|
2263
|
+
margin-right: 0.5rem;
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2232
2266
|
.md\:tw-mt-0 {
|
|
2233
2267
|
margin-top: 0px;
|
|
2234
2268
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@designcrowd/fe-shared-lib",
|
|
3
|
-
"version": "1.2.11-ml-
|
|
3
|
+
"version": "1.2.11-ml-407-2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "run-p storybook watch:translation",
|
|
6
6
|
"build": "npm run build:css --production",
|
|
@@ -113,4 +113,4 @@
|
|
|
113
113
|
"overrides": {
|
|
114
114
|
"storybook": "$storybook"
|
|
115
115
|
}
|
|
116
|
-
}
|
|
116
|
+
}
|
|
@@ -14,72 +14,12 @@ export const audCurrency = {
|
|
|
14
14
|
abbreviation: 'AU',
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
export const gbpCurrency = {
|
|
18
|
-
id: 3,
|
|
19
|
-
name: 'British Pound',
|
|
20
|
-
iso4127Code: 'GBP',
|
|
21
|
-
symbol: '£',
|
|
22
|
-
abbreviation: 'UK',
|
|
23
|
-
};
|
|
24
|
-
|
|
25
17
|
export const euroCurrency = {
|
|
26
|
-
id:
|
|
18
|
+
id: 999,
|
|
27
19
|
name: 'Euro',
|
|
28
20
|
iso4127Code: 'EUR',
|
|
29
21
|
symbol: '€',
|
|
30
22
|
abbreviation: 'EU',
|
|
31
23
|
};
|
|
32
24
|
|
|
33
|
-
export const
|
|
34
|
-
id: 5,
|
|
35
|
-
name: 'Indian Rupee',
|
|
36
|
-
iso4127Code: 'INR',
|
|
37
|
-
symbol: '₹',
|
|
38
|
-
abbreviation: 'IN',
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
export const phpCurrency = {
|
|
42
|
-
id: 6,
|
|
43
|
-
name: 'Philippine Peso',
|
|
44
|
-
iso4127Code: 'PHP',
|
|
45
|
-
symbol: '₱',
|
|
46
|
-
abbreviation: 'PH',
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
export const brlCurrency = {
|
|
50
|
-
id: 7,
|
|
51
|
-
name: 'Brazilian Real',
|
|
52
|
-
iso4127Code: 'BRL',
|
|
53
|
-
symbol: 'R$',
|
|
54
|
-
abbreviation: 'R',
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
export const mxnCurrency = {
|
|
58
|
-
id: 8,
|
|
59
|
-
name: 'Mexican Peso',
|
|
60
|
-
iso4127Code: 'MXN',
|
|
61
|
-
symbol: 'MX$',
|
|
62
|
-
abbreviation: 'MX',
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
export const zarCurrency = {
|
|
66
|
-
id: 9,
|
|
67
|
-
name: 'South African Rand',
|
|
68
|
-
iso4127Code: 'ZAR',
|
|
69
|
-
symbol: 'R',
|
|
70
|
-
abbreviation: 'R',
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
export const currencies = [
|
|
74
|
-
usdCurrency,
|
|
75
|
-
audCurrency,
|
|
76
|
-
gbpCurrency,
|
|
77
|
-
euroCurrency,
|
|
78
|
-
inrCurrency,
|
|
79
|
-
phpCurrency,
|
|
80
|
-
brlCurrency,
|
|
81
|
-
mxnCurrency,
|
|
82
|
-
zarCurrency,
|
|
83
|
-
];
|
|
84
|
-
|
|
85
|
-
export const locales = [ 'en_US', 'fr_FR', 'es_ES', 'pt_PT', 'de-DE']
|
|
25
|
+
export const currencies = [usdCurrency, audCurrency, euroCurrency];
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import Price from './Price.vue';
|
|
2
|
-
import { currencies
|
|
3
|
-
import {setSharedLibLocaleAsync} from "../../../useSharedLibTranslate";
|
|
4
|
-
|
|
5
|
-
await setSharedLibLocaleAsync();
|
|
2
|
+
import { currencies } from './Price.fixtures';
|
|
6
3
|
|
|
7
4
|
// noinspection JSUnusedGlobalSymbols
|
|
8
5
|
export default {
|
|
@@ -10,7 +7,6 @@ export default {
|
|
|
10
7
|
component: Price,
|
|
11
8
|
args: {
|
|
12
9
|
currencyName: currencies[0].name,
|
|
13
|
-
locale: locales[0]
|
|
14
10
|
},
|
|
15
11
|
argTypes: {
|
|
16
12
|
amount: {
|
|
@@ -20,10 +16,6 @@ export default {
|
|
|
20
16
|
control: { type: 'select' },
|
|
21
17
|
options: currencies.map((x) => x.name),
|
|
22
18
|
},
|
|
23
|
-
locale: {
|
|
24
|
-
control: { type: 'select' },
|
|
25
|
-
options: locales,
|
|
26
|
-
},
|
|
27
19
|
},
|
|
28
20
|
};
|
|
29
21
|
|
|
@@ -39,16 +31,12 @@ export const Sample = {
|
|
|
39
31
|
selectedCurrency() {
|
|
40
32
|
return currencies.find((x) => x.name === this.args.currencyName);
|
|
41
33
|
},
|
|
42
|
-
selectedLocale() {
|
|
43
|
-
return locales.find((x) => x === this.args.locale);
|
|
44
|
-
},
|
|
45
34
|
},
|
|
46
35
|
template: `
|
|
47
36
|
<span>
|
|
48
37
|
<price
|
|
49
38
|
v-bind="args"
|
|
50
39
|
:currency="selectedCurrency"
|
|
51
|
-
:locale="selectedLocale"
|
|
52
40
|
/>
|
|
53
41
|
</span>
|
|
54
42
|
`,
|
|
@@ -71,9 +59,6 @@ export const WithFraction = {
|
|
|
71
59
|
selectedCurrency() {
|
|
72
60
|
return currencies.find((x) => x.name === this.args.currencyName);
|
|
73
61
|
},
|
|
74
|
-
selectedLocale() {
|
|
75
|
-
return locales.find((x) => x === this.args.locale);
|
|
76
|
-
},
|
|
77
62
|
},
|
|
78
63
|
template: `
|
|
79
64
|
<span>
|
|
@@ -81,7 +66,7 @@ export const WithFraction = {
|
|
|
81
66
|
v-bind="args"
|
|
82
67
|
:currency="selectedCurrency"
|
|
83
68
|
fraction="2"
|
|
84
|
-
:
|
|
69
|
+
:show-abbreviation="true"
|
|
85
70
|
/>
|
|
86
71
|
</span>
|
|
87
72
|
`,
|
|
@@ -104,9 +89,6 @@ export const AlwaysShowFractionOn = {
|
|
|
104
89
|
selectedCurrency() {
|
|
105
90
|
return currencies.find((x) => x.name === this.args.currencyName);
|
|
106
91
|
},
|
|
107
|
-
selectedLocale() {
|
|
108
|
-
return locales.find((x) => x === this.args.locale);
|
|
109
|
-
},
|
|
110
92
|
},
|
|
111
93
|
template: `
|
|
112
94
|
<span>
|
|
@@ -115,7 +97,7 @@ export const AlwaysShowFractionOn = {
|
|
|
115
97
|
:always-show-fraction="true"
|
|
116
98
|
:currency="selectedCurrency"
|
|
117
99
|
fraction="2"
|
|
118
|
-
:
|
|
100
|
+
:show-abbreviation="true"
|
|
119
101
|
/>
|
|
120
102
|
</span>
|
|
121
103
|
`,
|
|
@@ -146,7 +128,7 @@ export const AlwaysShowFractionOff = {
|
|
|
146
128
|
:always-show-fraction="false"
|
|
147
129
|
:currency="selectedCurrency"
|
|
148
130
|
fraction="2"
|
|
149
|
-
:
|
|
131
|
+
:show-abbreviation="true"
|
|
150
132
|
/>
|
|
151
133
|
</span>
|
|
152
134
|
`,
|
|
@@ -169,9 +151,6 @@ export const WithSuffix = {
|
|
|
169
151
|
selectedCurrency() {
|
|
170
152
|
return currencies.find((x) => x.name === this.args.currencyName);
|
|
171
153
|
},
|
|
172
|
-
selectedLocale() {
|
|
173
|
-
return locales.find((x) => x === this.args.locale);
|
|
174
|
-
},
|
|
175
154
|
},
|
|
176
155
|
template: `
|
|
177
156
|
<span>
|
|
@@ -180,8 +159,8 @@ export const WithSuffix = {
|
|
|
180
159
|
:always-show-fraction="true"
|
|
181
160
|
:currency="selectedCurrency"
|
|
182
161
|
fraction="2"
|
|
162
|
+
:show-abbreviation="true"
|
|
183
163
|
:suffix="suffix"
|
|
184
|
-
:locale="selectedLocale"
|
|
185
164
|
/>
|
|
186
165
|
</span>
|
|
187
166
|
`,
|
|
@@ -192,35 +171,3 @@ export const WithSuffix = {
|
|
|
192
171
|
suffix: '/yr',
|
|
193
172
|
},
|
|
194
173
|
};
|
|
195
|
-
|
|
196
|
-
export const WithLocale = {
|
|
197
|
-
render: (args, { argTypes }) => {
|
|
198
|
-
return {
|
|
199
|
-
components: { Price },
|
|
200
|
-
props: Object.keys(argTypes),
|
|
201
|
-
setup() {
|
|
202
|
-
return { args };
|
|
203
|
-
},
|
|
204
|
-
computed: {
|
|
205
|
-
selectedCurrency() {
|
|
206
|
-
return currencies.find((x) => x.name === this.args.currencyName);
|
|
207
|
-
},
|
|
208
|
-
selectedLocale() {
|
|
209
|
-
return locales.find((x) => x === this.args.locale);
|
|
210
|
-
},
|
|
211
|
-
},
|
|
212
|
-
template: `
|
|
213
|
-
<span>
|
|
214
|
-
<price
|
|
215
|
-
v-bind="args"
|
|
216
|
-
:currency="selectedCurrency"
|
|
217
|
-
:locale="selectedLocale"
|
|
218
|
-
/>
|
|
219
|
-
</span>
|
|
220
|
-
`,
|
|
221
|
-
};
|
|
222
|
-
},
|
|
223
|
-
args: {
|
|
224
|
-
amount: 22.0,
|
|
225
|
-
},
|
|
226
|
-
};
|
|
@@ -5,9 +5,6 @@
|
|
|
5
5
|
</span>
|
|
6
6
|
</template>
|
|
7
7
|
<script>
|
|
8
|
-
|
|
9
|
-
import {formatCurrency} from "../../../useSharedLibTranslate";
|
|
10
|
-
|
|
11
8
|
export default {
|
|
12
9
|
props: {
|
|
13
10
|
amount: {
|
|
@@ -25,11 +22,6 @@ export default {
|
|
|
25
22
|
required: false,
|
|
26
23
|
default: null,
|
|
27
24
|
},
|
|
28
|
-
locale: {
|
|
29
|
-
type: String,
|
|
30
|
-
required: false,
|
|
31
|
-
default: null,
|
|
32
|
-
},
|
|
33
25
|
fraction: {
|
|
34
26
|
type: [Number, String],
|
|
35
27
|
required: false,
|
|
@@ -66,17 +58,6 @@ export default {
|
|
|
66
58
|
return 'Free';
|
|
67
59
|
}
|
|
68
60
|
|
|
69
|
-
if (this.locale != null)
|
|
70
|
-
{
|
|
71
|
-
return formatCurrency(
|
|
72
|
-
this.amount,
|
|
73
|
-
this.locale,
|
|
74
|
-
this.currency,
|
|
75
|
-
this.fraction,
|
|
76
|
-
this.showAbbreviatiom
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
61
|
const parsedAmount = Number.parseFloat(this.amount);
|
|
81
62
|
|
|
82
63
|
if (Number.isNaN(parsedAmount)) {
|
|
@@ -92,10 +73,10 @@ export default {
|
|
|
92
73
|
return parsedAmount.toFixed(this.fraction);
|
|
93
74
|
},
|
|
94
75
|
currencyAbbreviation() {
|
|
95
|
-
return this.showAbbreviation && this.amount
|
|
76
|
+
return this.showAbbreviation && this.amount > 0 ? this.currency?.abbreviation?.trim() : '';
|
|
96
77
|
},
|
|
97
78
|
currencySymbol() {
|
|
98
|
-
if (!this.amount || this.amount === 0
|
|
79
|
+
if (!this.amount || this.amount === 0) {
|
|
99
80
|
return '';
|
|
100
81
|
}
|
|
101
82
|
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
</p>
|
|
58
58
|
<div class="tw-flex tw-flex-col">
|
|
59
59
|
<div>
|
|
60
|
-
<form id="signin" action="
|
|
60
|
+
<form id="signin" :action="getSignInAction" method="post" @submit="validate">
|
|
61
61
|
<input name="__RequestVerificationToken" type="hidden" :value="antiForgeryToken" />
|
|
62
62
|
<label for="userName" class="tw-sr-only"> {{ emailLabel }} </label>
|
|
63
63
|
<input
|
|
@@ -170,6 +170,7 @@ import themeMixin from '../../mixins/themeMixin';
|
|
|
170
170
|
import { SIGN_IN } from '../../constants/partner-dictionary-constants';
|
|
171
171
|
import isValidEmail from '../../helpers/email-validator';
|
|
172
172
|
import SocialSignIn from './SocialSignIn.vue';
|
|
173
|
+
import { getCurrentLocale } from '../../../useSharedLibTranslate';
|
|
173
174
|
|
|
174
175
|
export default {
|
|
175
176
|
components: {
|
|
@@ -334,6 +335,9 @@ export default {
|
|
|
334
335
|
isLoading() {
|
|
335
336
|
return this.emailLoading || this.facebookLoading || this.googleLoading;
|
|
336
337
|
},
|
|
338
|
+
currentLocale() {
|
|
339
|
+
return getCurrentLocale();
|
|
340
|
+
},
|
|
337
341
|
submissionButtonLabelLowercase() {
|
|
338
342
|
return this.submissionButtonLabel.toLowerCase();
|
|
339
343
|
},
|
|
@@ -369,6 +373,11 @@ export default {
|
|
|
369
373
|
}
|
|
370
374
|
return this.signUpText;
|
|
371
375
|
},
|
|
376
|
+
getSignInAction() {
|
|
377
|
+
const params = new URLSearchParams();
|
|
378
|
+
params.set('locale', this.currentLocale);
|
|
379
|
+
return `/identity/account/signin?${params.toString()}`;
|
|
380
|
+
},
|
|
372
381
|
},
|
|
373
382
|
watch: {
|
|
374
383
|
capturePassword() {
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
</h2>
|
|
35
35
|
<form id="signup" action="/identity/account/signup" method="post" @submit="validate">
|
|
36
36
|
<input name="__RequestVerificationToken" type="hidden" :value="antiForgeryToken" />
|
|
37
|
+
<input name="requestLocale" type="hidden" :value="currentLocale" />
|
|
37
38
|
<label for="userName" class="tw-sr-only"> {{ emailLabel }} </label>
|
|
38
39
|
<input
|
|
39
40
|
v-model="aUserName"
|
|
@@ -116,6 +117,7 @@ import SocialSignIn from './SocialSignIn.vue';
|
|
|
116
117
|
import SubmissionButton from './SubmissionButton.vue';
|
|
117
118
|
import AuthLegal from './AuthLegal.vue';
|
|
118
119
|
import themeMixin from '../../mixins/themeMixin';
|
|
120
|
+
import { getCurrentLocale } from '../../../useSharedLibTranslate';
|
|
119
121
|
|
|
120
122
|
export default {
|
|
121
123
|
components: {
|
|
@@ -229,6 +231,9 @@ export default {
|
|
|
229
231
|
}
|
|
230
232
|
return url?.toString();
|
|
231
233
|
},
|
|
234
|
+
currentLocale() {
|
|
235
|
+
return getCurrentLocale();
|
|
236
|
+
},
|
|
232
237
|
},
|
|
233
238
|
methods: {
|
|
234
239
|
validate(e) {
|
|
@@ -27,6 +27,8 @@ const setSharedLibLocaleAsync = async (locale = 'en-US') => {
|
|
|
27
27
|
await i18next.addResourceBundle(localeToUse, 'fe-shared-lib', {
|
|
28
28
|
...languageFile,
|
|
29
29
|
});
|
|
30
|
+
|
|
31
|
+
await i18next.changeLanguage(localeToUse);
|
|
30
32
|
};
|
|
31
33
|
|
|
32
34
|
const tr = (key, valuesToInterpolate = {}) => {
|
|
@@ -59,42 +61,6 @@ const getCurrentLocale = () => {
|
|
|
59
61
|
return i18next.language || 'en-US';
|
|
60
62
|
};
|
|
61
63
|
|
|
62
|
-
const formatCurrency = (amount, locale, currency, fraction = 0, showAbbreviation = false) => {
|
|
63
|
-
let localeAmount = i18next.t('{{val, currency}}', {
|
|
64
|
-
ns: 'fe-shared-lib',
|
|
65
|
-
val: amount,
|
|
66
|
-
currency: currency.iso4127Code,
|
|
67
|
-
locale: locale,
|
|
68
|
-
maximumFractionDigits: fraction,
|
|
69
|
-
useGrouping: false,
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
// i18next always uses iso code for ZAR, prefer symbol over iso code
|
|
73
|
-
if (localeAmount.includes(currency.iso4127Code)) {
|
|
74
|
-
return localeAmount.replace(currency.iso4127Code, currency.symbol);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// show abbreviation locale logic
|
|
78
|
-
// note: showAbbreviaton is only passed as true for symbol = "$"
|
|
79
|
-
if (currency.symbol != '$') {
|
|
80
|
-
return localeAmount;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
// AUD edge case for en_US
|
|
84
|
-
if (currency.iso4127Code == 'AUD') {
|
|
85
|
-
localeAmount = localeAmount.replace('A$', currency.symbol);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
if (showAbbreviation && !localeAmount.includes(currency.abbreviation)) {
|
|
89
|
-
return `${currency?.abbreviation}${localeAmount}`;
|
|
90
|
-
|
|
91
|
-
} else if (!showAbbreviation && localeAmount.includes(currency.abbreviation)) {
|
|
92
|
-
return localeAmount.replace(currency.abbreviation, '');
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
return localeAmount;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
64
|
export {
|
|
99
65
|
setSharedLibLocaleAsync,
|
|
100
66
|
getCurrentLocale,
|
|
@@ -106,6 +72,5 @@ export {
|
|
|
106
72
|
sellDomainNameModalApplicationTr,
|
|
107
73
|
sellDomainNameListModalTr,
|
|
108
74
|
sellDomainNameListTr,
|
|
109
|
-
formatCurrency,
|
|
110
75
|
};
|
|
111
76
|
|