@designcrowd/fe-shared-lib 1.3.5 → 1.3.6-currency-1
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/.storybook-static/assets/Auth-CV5AmoX8.css +1 -0
- package/.storybook-static/assets/Auth.stories-CX3sjxh5.js +490 -0
- package/.storybook-static/assets/AuthCrazyDomains.stories-Didj_VFa.js +73 -0
- package/.storybook-static/assets/Button-5UzSGUF6.css +1 -0
- package/.storybook-static/assets/Button-DtVlr_q3.js +1 -0
- package/.storybook-static/assets/ButtonGroup-Dfr7bNL2.css +1 -0
- package/.storybook-static/assets/ButtonGroup.stories-4EQk-ktb.js +503 -0
- package/.storybook-static/assets/ButtonPrimary-Bu6bXb_c.css +1 -0
- package/.storybook-static/assets/ButtonPrimary-DG9wNod9.js +1 -0
- package/.storybook-static/assets/Buttons.stories-B_KpeCzt.js +761 -0
- package/.storybook-static/assets/ButtonsCrazyDomains.stories-oZtahAmR.js +199 -0
- package/.storybook-static/assets/Checkbox.mixin-DkHpdvGa.js +1 -0
- package/.storybook-static/assets/Checkbox.stories-C67RL0ut.js +203 -0
- package/.storybook-static/assets/Checktile.stories-DN2wfzd6.js +88 -0
- package/.storybook-static/assets/CollapsiblePanel.stories-BkzrqfVG.js +39 -0
- package/.storybook-static/assets/ColorPicker.stories-85BQwpyF.js +73 -0
- package/.storybook-static/assets/CopyToClipboardText.stories-Csh5nVRs.js +32 -0
- package/.storybook-static/assets/Dropdown.stories-NNlxNopk.js +159 -0
- package/.storybook-static/assets/DropdownItem-CDX_V6Mi.js +1 -0
- package/.storybook-static/assets/DropdownItem-CLNmWtKh.css +1 -0
- package/.storybook-static/assets/FormControl.mixin-_gXRExB7.js +1 -0
- package/.storybook-static/assets/HashRouteModal.stories-Dy1_nLTJ.js +64 -0
- package/.storybook-static/assets/HelloBar-z54fob0q.js +1 -0
- package/.storybook-static/assets/HelloBar.stories-ClJ9_KRK.js +342 -0
- package/.storybook-static/assets/Icon-8mZGP41G.js +144 -0
- package/.storybook-static/assets/Icon.stories-BcXMvpuh.js +126 -0
- package/.storybook-static/assets/Icon.stories-D6ECVMta.js +751 -0
- package/.storybook-static/assets/Loader-D61Ki9P1.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-B1_8hw0H.js +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours-DEFhAyxR.css +1 -0
- package/.storybook-static/assets/LogoBusinessBrandColours.stories-CIWe9ndn.js +36 -0
- package/.storybook-static/assets/Masonry-C2MNiGg0.css +1 -0
- package/.storybook-static/assets/Masonry.stories-CDT8kZCv.js +71 -0
- package/.storybook-static/assets/Modal-BQrpXSGA.js +1 -0
- package/.storybook-static/assets/Modal-BvVMN71n.css +1 -0
- package/.storybook-static/assets/Modal.stories-BycF7YL6.js +345 -0
- package/.storybook-static/assets/Notice.stories-BufkrC1b.js +222 -0
- package/.storybook-static/assets/NumberStepper-Blffv09R.css +1 -0
- package/.storybook-static/assets/NumberStepper.stories-6_y_lEgC.js +64 -0
- package/.storybook-static/assets/PaymentConfigList-wI1eTv5x.css +1 -0
- package/.storybook-static/assets/PaymentConfigList.stories-BlzzKrzz.js +126 -0
- package/.storybook-static/assets/Picture-Cq76CaoK.js +1 -0
- package/.storybook-static/assets/Picture.stories-BDqRm9_g.js +119 -0
- package/.storybook-static/assets/Pill-BsMeJhV9.js +1 -0
- package/.storybook-static/assets/Pill.stories-DUvzbtnS.js +18 -0
- package/.storybook-static/assets/PillBar-os4mJV3M.css +1 -0
- package/.storybook-static/assets/PillBar.stories-BUMLXBij.js +41 -0
- package/.storybook-static/assets/Price-DKOwLeD0.js +1 -0
- package/.storybook-static/assets/Price.stories-DlqrNUWI.js +221 -0
- package/.storybook-static/assets/PublishBrandPageModal-CLU8-If3.css +1 -0
- package/.storybook-static/assets/PublishBrandPageModal.stories-Dqobvq-n.js +273 -0
- package/.storybook-static/assets/SearchBar.stories-_wPX3-Rl.js +12 -0
- package/.storybook-static/assets/Select-Dw-zvSUg.css +1 -0
- package/.storybook-static/assets/Select.stories-BWINGxdY.js +108 -0
- package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-ByK_ak0A.js +1 -0
- package/.storybook-static/assets/SellDomainNameListModal-CdfyEX1a.css +1 -0
- package/.storybook-static/assets/SellDomainNameListModal.stories-DrL8w2AY.js +71 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-1WuAKfzI.css +1 -0
- package/.storybook-static/assets/SellDomainNameListSearchResult-By0IpIM_.js +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults-BttjI4PH.js +1 -0
- package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-Dm1Q8Cza.js +37 -0
- package/.storybook-static/assets/SellDomainNameWidget.stories-CKoz3WnZ.js +36 -0
- package/.storybook-static/assets/SignIn-DNYeJu86.css +1 -0
- package/.storybook-static/assets/SignIn-Dt8OJr0J.js +1 -0
- package/.storybook-static/assets/Slider-Cog2FFdj.css +1 -0
- package/.storybook-static/assets/Slider.stories-08DN2SFB.js +141 -0
- package/.storybook-static/assets/StarRating-BtKh7pzm.css +1 -0
- package/.storybook-static/assets/StarRating.stories-BEIj9ufA.js +45 -0
- package/.storybook-static/assets/TabMenu.stories-D9f0pyZI.js +47 -0
- package/.storybook-static/assets/TextCopyField-B04vTGbG.js +1 -0
- package/.storybook-static/assets/TextCopyField.stories-KD0WUWzA.js +47 -0
- package/.storybook-static/assets/TextInput-JK1M0hv6.js +1 -0
- package/.storybook-static/assets/TextInput.stories-BO0eQqBY.js +233 -0
- package/.storybook-static/assets/Textarea.stories-Bcn4sCkV.js +207 -0
- package/.storybook-static/assets/Toggle.stories-CuTFLoNh.js +161 -0
- package/.storybook-static/assets/Tooltip-DcSbUh5f.js +1 -0
- package/.storybook-static/assets/Tooltip-DyXIgFQH.css +1 -0
- package/.storybook-static/assets/Tooltip.stories-B0I_PBGG.js +953 -0
- package/.storybook-static/assets/UploadYourLogoApplication-EyTEQx-x.css +9 -0
- package/.storybook-static/assets/UploadYourLogoApplication.stories-Dixp1ynI.js +194 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-DQqACf-e.css +1 -0
- package/.storybook-static/assets/UploadYourLogoDropzone-DouZtNvi.js +24 -0
- package/.storybook-static/assets/UploadYourLogoDropzone.stories-BHYeu4gz.js +55 -0
- package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-D1KR63O4.js +79 -0
- package/.storybook-static/assets/_commonjsHelpers-D6-XlEtG.js +1 -0
- package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
- package/.storybook-static/assets/api-lSJGRrF2.js +1 -0
- package/.storybook-static/assets/axe-nGVJxRof.js +30 -0
- package/.storybook-static/assets/brand-crowd-api.client-DiPM1Wo-.js +1 -0
- package/.storybook-static/assets/bundled-translations-BZ57czTo.js +1 -0
- package/.storybook-static/assets/bundled-translations.de-DE-DXggTXB2.js +1 -0
- package/.storybook-static/assets/bundled-translations.es-ES-DtMmvicd.js +1 -0
- package/.storybook-static/assets/bundled-translations.fr-FR-BrQqbieG.js +1 -0
- package/.storybook-static/assets/bundled-translations.pt-PT-CpiWEAtr.js +1 -0
- package/.storybook-static/assets/carousel-CMMZ5MZ-.css +1 -0
- package/.storybook-static/assets/carousel.stories-o3eu2Qyc.js +374 -0
- package/.storybook-static/assets/event-constants-CMO9VQVu.js +1 -0
- package/.storybook-static/assets/iframe-C86bI_2U.js +1126 -0
- package/.storybook-static/assets/index-Bw-gCGc_.js +6 -0
- package/.storybook-static/assets/index-DhkYCT1V.js +29 -0
- package/.storybook-static/assets/matchers-7Z3WT2CE-T3xScrR7.js +14 -0
- package/.storybook-static/assets/tracking-ATsLLehC.js +1 -0
- package/.storybook-static/css/tailwind-brandCrowd.css +2404 -0
- package/.storybook-static/css/tailwind-brandPage.css +2088 -0
- package/.storybook-static/css/tailwind-crazyDomains.css +2404 -0
- package/.storybook-static/css/tailwind-designCom.css +2404 -0
- package/.storybook-static/css/tailwind-designCrowd.css +2404 -0
- package/.storybook-static/favicon.svg +1 -0
- package/.storybook-static/iframe.html +694 -0
- package/.storybook-static/index.html +156 -0
- package/.storybook-static/index.json +1 -0
- package/.storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/project.json +1 -0
- package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +5 -0
- package/.storybook-static/sb-addons/links-2/manager-bundle.js +3 -0
- package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +188 -0
- package/.storybook-static/sb-addons/themes-3/manager-bundle.js +3 -0
- package/.storybook-static/sb-common-assets/favicon.svg +1 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/sb-manager/globals-module-info.js +797 -0
- package/.storybook-static/sb-manager/globals-runtime.js +72062 -0
- package/.storybook-static/sb-manager/globals.js +34 -0
- package/.storybook-static/sb-manager/runtime.js +13002 -0
- package/dist/css/tailwind-brandCrowd.css +3 -80
- package/dist/css/tailwind-brandPage.css +3 -76
- package/dist/css/tailwind-crazyDomains.css +3 -80
- package/dist/css/tailwind-designCom.css +3 -80
- package/dist/css/tailwind-designCrowd.css +3 -80
- package/package.json +1 -1
- package/src/atoms/components/Dropdown/DropdownItem.vue +1 -1
- package/src/experiences/clients/brand-crowd-api.client.js +4 -0
- package/src/experiences/clients/brand-page-api.client.js +15 -0
- package/src/experiences/components/PaymentConfigList/PaymentConfig.mixin.js +20 -0
- package/src/experiences/components/PaymentConfigList/PaymentConfigDropdown.vue +66 -34
- package/src/experiences/components/PaymentConfigList/PaymentConfigList.stories.js +45 -0
|
@@ -643,10 +643,6 @@ 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
|
-
}
|
|
650
646
|
.tw-my-10 {
|
|
651
647
|
margin-top: 2.5rem;
|
|
652
648
|
margin-bottom: 2.5rem;
|
|
@@ -655,10 +651,6 @@ video {
|
|
|
655
651
|
margin-top: 1rem;
|
|
656
652
|
margin-bottom: 1rem;
|
|
657
653
|
}
|
|
658
|
-
.tw-my-5 {
|
|
659
|
-
margin-top: 1.25rem;
|
|
660
|
-
margin-bottom: 1.25rem;
|
|
661
|
-
}
|
|
662
654
|
.tw-my-auto {
|
|
663
655
|
margin-top: auto;
|
|
664
656
|
margin-bottom: auto;
|
|
@@ -687,9 +679,6 @@ video {
|
|
|
687
679
|
.tw-mb-1 {
|
|
688
680
|
margin-bottom: 0.25rem;
|
|
689
681
|
}
|
|
690
|
-
.tw-mb-10 {
|
|
691
|
-
margin-bottom: 2.5rem;
|
|
692
|
-
}
|
|
693
682
|
.tw-mb-2 {
|
|
694
683
|
margin-bottom: 0.5rem;
|
|
695
684
|
}
|
|
@@ -717,12 +706,12 @@ video {
|
|
|
717
706
|
.tw-ml-4 {
|
|
718
707
|
margin-left: 1rem;
|
|
719
708
|
}
|
|
709
|
+
.tw-ml-6 {
|
|
710
|
+
margin-left: 1.5rem;
|
|
711
|
+
}
|
|
720
712
|
.tw-ml-auto {
|
|
721
713
|
margin-left: auto;
|
|
722
714
|
}
|
|
723
|
-
.tw-mr-1 {
|
|
724
|
-
margin-right: 0.25rem;
|
|
725
|
-
}
|
|
726
715
|
.tw-mr-2 {
|
|
727
716
|
margin-right: 0.5rem;
|
|
728
717
|
}
|
|
@@ -831,10 +820,6 @@ video {
|
|
|
831
820
|
.tw-h-auto {
|
|
832
821
|
height: auto;
|
|
833
822
|
}
|
|
834
|
-
.tw-h-fit {
|
|
835
|
-
height: -moz-fit-content;
|
|
836
|
-
height: fit-content;
|
|
837
|
-
}
|
|
838
823
|
.tw-h-full {
|
|
839
824
|
height: 100%;
|
|
840
825
|
}
|
|
@@ -1018,9 +1003,6 @@ video {
|
|
|
1018
1003
|
.tw-animate-spin {
|
|
1019
1004
|
animation: tw-spin 1s linear infinite;
|
|
1020
1005
|
}
|
|
1021
|
-
.\!tw-cursor-not-allowed {
|
|
1022
|
-
cursor: not-allowed !important;
|
|
1023
|
-
}
|
|
1024
1006
|
.tw-cursor-not-allowed {
|
|
1025
1007
|
cursor: not-allowed;
|
|
1026
1008
|
}
|
|
@@ -1202,9 +1184,6 @@ video {
|
|
|
1202
1184
|
.tw-border-b-0 {
|
|
1203
1185
|
border-bottom-width: 0px;
|
|
1204
1186
|
}
|
|
1205
|
-
.tw-border-b-2 {
|
|
1206
|
-
border-bottom-width: 2px;
|
|
1207
|
-
}
|
|
1208
1187
|
.tw-border-b-4 {
|
|
1209
1188
|
border-bottom-width: 4px;
|
|
1210
1189
|
}
|
|
@@ -1454,17 +1433,6 @@ video {
|
|
|
1454
1433
|
.tw-bg-opacity-80 {
|
|
1455
1434
|
--tw-bg-opacity: 0.8;
|
|
1456
1435
|
}
|
|
1457
|
-
.tw-bg-gradient-to-t {
|
|
1458
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1459
|
-
}
|
|
1460
|
-
.tw-from-\[\#d946ef\] {
|
|
1461
|
-
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1462
|
-
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1463
|
-
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1464
|
-
}
|
|
1465
|
-
.tw-to-\[\#8b5cf6\] {
|
|
1466
|
-
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1467
|
-
}
|
|
1468
1436
|
.tw-bg-no-repeat {
|
|
1469
1437
|
background-repeat: no-repeat;
|
|
1470
1438
|
}
|
|
@@ -1603,9 +1571,6 @@ video {
|
|
|
1603
1571
|
.tw-p-4 {
|
|
1604
1572
|
padding: 1rem;
|
|
1605
1573
|
}
|
|
1606
|
-
.tw-p-5 {
|
|
1607
|
-
padding: 1.25rem;
|
|
1608
|
-
}
|
|
1609
1574
|
.tw-p-6 {
|
|
1610
1575
|
padding: 1.5rem;
|
|
1611
1576
|
}
|
|
@@ -1741,9 +1706,6 @@ video {
|
|
|
1741
1706
|
.tw-pt-2 {
|
|
1742
1707
|
padding-top: 0.5rem;
|
|
1743
1708
|
}
|
|
1744
|
-
.tw-pt-4 {
|
|
1745
|
-
padding-top: 1rem;
|
|
1746
|
-
}
|
|
1747
1709
|
.tw-pt-6 {
|
|
1748
1710
|
padding-top: 1.5rem;
|
|
1749
1711
|
}
|
|
@@ -1753,9 +1715,6 @@ video {
|
|
|
1753
1715
|
.tw-text-center {
|
|
1754
1716
|
text-align: center;
|
|
1755
1717
|
}
|
|
1756
|
-
.tw-align-top {
|
|
1757
|
-
vertical-align: top;
|
|
1758
|
-
}
|
|
1759
1718
|
.tw-align-middle {
|
|
1760
1719
|
vertical-align: middle;
|
|
1761
1720
|
}
|
|
@@ -2048,10 +2007,6 @@ video {
|
|
|
2048
2007
|
--tw-bg-opacity: 1;
|
|
2049
2008
|
background-color: rgb(50 71 197 / var(--tw-bg-opacity));
|
|
2050
2009
|
}
|
|
2051
|
-
.hover\:tw-bg-primary-100:hover {
|
|
2052
|
-
--tw-bg-opacity: 1;
|
|
2053
|
-
background-color: rgb(236 238 254 / var(--tw-bg-opacity));
|
|
2054
|
-
}
|
|
2055
2010
|
.hover\:tw-bg-primary-400:hover {
|
|
2056
2011
|
--tw-bg-opacity: 1;
|
|
2057
2012
|
background-color: rgb(121 139 249 / var(--tw-bg-opacity));
|
|
@@ -2116,10 +2071,6 @@ video {
|
|
|
2116
2071
|
--tw-shadow-color: #3f59f6 !important;
|
|
2117
2072
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2118
2073
|
}
|
|
2119
|
-
.hover\:tw-brightness-\[0\.85\]:hover {
|
|
2120
|
-
--tw-brightness: brightness(0.85);
|
|
2121
|
-
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);
|
|
2122
|
-
}
|
|
2123
2074
|
.focus\:tw-border-error-600:focus {
|
|
2124
2075
|
--tw-border-opacity: 1;
|
|
2125
2076
|
border-color: rgb(182 58 42 / var(--tw-border-opacity));
|
|
@@ -2262,10 +2213,6 @@ video {
|
|
|
2262
2213
|
margin-left: 1rem;
|
|
2263
2214
|
}
|
|
2264
2215
|
|
|
2265
|
-
.md\:tw-mr-2 {
|
|
2266
|
-
margin-right: 0.5rem;
|
|
2267
|
-
}
|
|
2268
|
-
|
|
2269
2216
|
.md\:tw-mt-0 {
|
|
2270
2217
|
margin-top: 0px;
|
|
2271
2218
|
}
|
|
@@ -2282,10 +2229,6 @@ video {
|
|
|
2282
2229
|
display: grid;
|
|
2283
2230
|
}
|
|
2284
2231
|
|
|
2285
|
-
.md\:tw-hidden {
|
|
2286
|
-
display: none;
|
|
2287
|
-
}
|
|
2288
|
-
|
|
2289
2232
|
.md\:tw-h-10 {
|
|
2290
2233
|
height: 2.5rem;
|
|
2291
2234
|
}
|
|
@@ -2302,10 +2245,6 @@ video {
|
|
|
2302
2245
|
width: 2.5rem;
|
|
2303
2246
|
}
|
|
2304
2247
|
|
|
2305
|
-
.md\:tw-w-24 {
|
|
2306
|
-
width: 6rem;
|
|
2307
|
-
}
|
|
2308
|
-
|
|
2309
2248
|
.md\:tw-w-auto {
|
|
2310
2249
|
width: auto;
|
|
2311
2250
|
}
|
|
@@ -2314,14 +2253,6 @@ video {
|
|
|
2314
2253
|
width: 100%;
|
|
2315
2254
|
}
|
|
2316
2255
|
|
|
2317
|
-
.md\:tw-max-w-full {
|
|
2318
|
-
max-width: 100%;
|
|
2319
|
-
}
|
|
2320
|
-
|
|
2321
|
-
.md\:tw-grow {
|
|
2322
|
-
flex-grow: 1;
|
|
2323
|
-
}
|
|
2324
|
-
|
|
2325
2256
|
.md\:tw-grid-cols-2 {
|
|
2326
2257
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2327
2258
|
}
|
|
@@ -2350,10 +2281,6 @@ video {
|
|
|
2350
2281
|
justify-content: flex-start;
|
|
2351
2282
|
}
|
|
2352
2283
|
|
|
2353
|
-
.md\:tw-justify-end {
|
|
2354
|
-
justify-content: flex-end;
|
|
2355
|
-
}
|
|
2356
|
-
|
|
2357
2284
|
.md\:tw-justify-center {
|
|
2358
2285
|
justify-content: center;
|
|
2359
2286
|
}
|
|
@@ -2408,10 +2335,6 @@ video {
|
|
|
2408
2335
|
padding-bottom: 0.5rem;
|
|
2409
2336
|
}
|
|
2410
2337
|
|
|
2411
|
-
.md\:tw-pl-4 {
|
|
2412
|
-
padding-left: 1rem;
|
|
2413
|
-
}
|
|
2414
|
-
|
|
2415
2338
|
.md\:tw-pr-2 {
|
|
2416
2339
|
padding-right: 0.5rem;
|
|
2417
2340
|
}
|
|
@@ -643,10 +643,6 @@ 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
|
-
}
|
|
650
646
|
.tw-my-10 {
|
|
651
647
|
margin-top: 2.5rem;
|
|
652
648
|
margin-bottom: 2.5rem;
|
|
@@ -655,10 +651,6 @@ video {
|
|
|
655
651
|
margin-top: 1rem;
|
|
656
652
|
margin-bottom: 1rem;
|
|
657
653
|
}
|
|
658
|
-
.tw-my-5 {
|
|
659
|
-
margin-top: 1.25rem;
|
|
660
|
-
margin-bottom: 1.25rem;
|
|
661
|
-
}
|
|
662
654
|
.tw-my-auto {
|
|
663
655
|
margin-top: auto;
|
|
664
656
|
margin-bottom: auto;
|
|
@@ -687,9 +679,6 @@ video {
|
|
|
687
679
|
.tw-mb-1 {
|
|
688
680
|
margin-bottom: 0.25rem;
|
|
689
681
|
}
|
|
690
|
-
.tw-mb-10 {
|
|
691
|
-
margin-bottom: 2.5rem;
|
|
692
|
-
}
|
|
693
682
|
.tw-mb-2 {
|
|
694
683
|
margin-bottom: 0.5rem;
|
|
695
684
|
}
|
|
@@ -717,12 +706,12 @@ video {
|
|
|
717
706
|
.tw-ml-4 {
|
|
718
707
|
margin-left: 1rem;
|
|
719
708
|
}
|
|
709
|
+
.tw-ml-6 {
|
|
710
|
+
margin-left: 1.5rem;
|
|
711
|
+
}
|
|
720
712
|
.tw-ml-auto {
|
|
721
713
|
margin-left: auto;
|
|
722
714
|
}
|
|
723
|
-
.tw-mr-1 {
|
|
724
|
-
margin-right: 0.25rem;
|
|
725
|
-
}
|
|
726
715
|
.tw-mr-2 {
|
|
727
716
|
margin-right: 0.5rem;
|
|
728
717
|
}
|
|
@@ -831,10 +820,6 @@ video {
|
|
|
831
820
|
.tw-h-auto {
|
|
832
821
|
height: auto;
|
|
833
822
|
}
|
|
834
|
-
.tw-h-fit {
|
|
835
|
-
height: -moz-fit-content;
|
|
836
|
-
height: fit-content;
|
|
837
|
-
}
|
|
838
823
|
.tw-h-full {
|
|
839
824
|
height: 100%;
|
|
840
825
|
}
|
|
@@ -1018,9 +1003,6 @@ video {
|
|
|
1018
1003
|
.tw-animate-spin {
|
|
1019
1004
|
animation: tw-spin 1s linear infinite;
|
|
1020
1005
|
}
|
|
1021
|
-
.\!tw-cursor-not-allowed {
|
|
1022
|
-
cursor: not-allowed !important;
|
|
1023
|
-
}
|
|
1024
1006
|
.tw-cursor-not-allowed {
|
|
1025
1007
|
cursor: not-allowed;
|
|
1026
1008
|
}
|
|
@@ -1202,9 +1184,6 @@ video {
|
|
|
1202
1184
|
.tw-border-b-0 {
|
|
1203
1185
|
border-bottom-width: 0px;
|
|
1204
1186
|
}
|
|
1205
|
-
.tw-border-b-2 {
|
|
1206
|
-
border-bottom-width: 2px;
|
|
1207
|
-
}
|
|
1208
1187
|
.tw-border-b-4 {
|
|
1209
1188
|
border-bottom-width: 4px;
|
|
1210
1189
|
}
|
|
@@ -1454,17 +1433,6 @@ video {
|
|
|
1454
1433
|
.tw-bg-opacity-80 {
|
|
1455
1434
|
--tw-bg-opacity: 0.8;
|
|
1456
1435
|
}
|
|
1457
|
-
.tw-bg-gradient-to-t {
|
|
1458
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1459
|
-
}
|
|
1460
|
-
.tw-from-\[\#d946ef\] {
|
|
1461
|
-
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1462
|
-
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1463
|
-
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1464
|
-
}
|
|
1465
|
-
.tw-to-\[\#8b5cf6\] {
|
|
1466
|
-
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1467
|
-
}
|
|
1468
1436
|
.tw-bg-no-repeat {
|
|
1469
1437
|
background-repeat: no-repeat;
|
|
1470
1438
|
}
|
|
@@ -1603,9 +1571,6 @@ video {
|
|
|
1603
1571
|
.tw-p-4 {
|
|
1604
1572
|
padding: 1rem;
|
|
1605
1573
|
}
|
|
1606
|
-
.tw-p-5 {
|
|
1607
|
-
padding: 1.25rem;
|
|
1608
|
-
}
|
|
1609
1574
|
.tw-p-6 {
|
|
1610
1575
|
padding: 1.5rem;
|
|
1611
1576
|
}
|
|
@@ -1741,9 +1706,6 @@ video {
|
|
|
1741
1706
|
.tw-pt-2 {
|
|
1742
1707
|
padding-top: 0.5rem;
|
|
1743
1708
|
}
|
|
1744
|
-
.tw-pt-4 {
|
|
1745
|
-
padding-top: 1rem;
|
|
1746
|
-
}
|
|
1747
1709
|
.tw-pt-6 {
|
|
1748
1710
|
padding-top: 1.5rem;
|
|
1749
1711
|
}
|
|
@@ -1753,9 +1715,6 @@ video {
|
|
|
1753
1715
|
.tw-text-center {
|
|
1754
1716
|
text-align: center;
|
|
1755
1717
|
}
|
|
1756
|
-
.tw-align-top {
|
|
1757
|
-
vertical-align: top;
|
|
1758
|
-
}
|
|
1759
1718
|
.tw-align-middle {
|
|
1760
1719
|
vertical-align: middle;
|
|
1761
1720
|
}
|
|
@@ -2048,10 +2007,6 @@ video {
|
|
|
2048
2007
|
--tw-bg-opacity: 1;
|
|
2049
2008
|
background-color: rgb(14 121 188 / var(--tw-bg-opacity));
|
|
2050
2009
|
}
|
|
2051
|
-
.hover\:tw-bg-primary-100:hover {
|
|
2052
|
-
--tw-bg-opacity: 1;
|
|
2053
|
-
background-color: rgb(207 234 251 / var(--tw-bg-opacity));
|
|
2054
|
-
}
|
|
2055
2010
|
.hover\:tw-bg-primary-400:hover {
|
|
2056
2011
|
--tw-bg-opacity: 1;
|
|
2057
2012
|
background-color: rgb(65 172 239 / var(--tw-bg-opacity));
|
|
@@ -2116,10 +2071,6 @@ video {
|
|
|
2116
2071
|
--tw-shadow-color: #1197EB !important;
|
|
2117
2072
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2118
2073
|
}
|
|
2119
|
-
.hover\:tw-brightness-\[0\.85\]:hover {
|
|
2120
|
-
--tw-brightness: brightness(0.85);
|
|
2121
|
-
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);
|
|
2122
|
-
}
|
|
2123
2074
|
.focus\:tw-border-error-600:focus {
|
|
2124
2075
|
--tw-border-opacity: 1;
|
|
2125
2076
|
border-color: rgb(195 50 48 / var(--tw-border-opacity));
|
|
@@ -2262,10 +2213,6 @@ video {
|
|
|
2262
2213
|
margin-left: 1rem;
|
|
2263
2214
|
}
|
|
2264
2215
|
|
|
2265
|
-
.md\:tw-mr-2 {
|
|
2266
|
-
margin-right: 0.5rem;
|
|
2267
|
-
}
|
|
2268
|
-
|
|
2269
2216
|
.md\:tw-mt-0 {
|
|
2270
2217
|
margin-top: 0px;
|
|
2271
2218
|
}
|
|
@@ -2282,10 +2229,6 @@ video {
|
|
|
2282
2229
|
display: grid;
|
|
2283
2230
|
}
|
|
2284
2231
|
|
|
2285
|
-
.md\:tw-hidden {
|
|
2286
|
-
display: none;
|
|
2287
|
-
}
|
|
2288
|
-
|
|
2289
2232
|
.md\:tw-h-10 {
|
|
2290
2233
|
height: 2.5rem;
|
|
2291
2234
|
}
|
|
@@ -2302,10 +2245,6 @@ video {
|
|
|
2302
2245
|
width: 2.5rem;
|
|
2303
2246
|
}
|
|
2304
2247
|
|
|
2305
|
-
.md\:tw-w-24 {
|
|
2306
|
-
width: 6rem;
|
|
2307
|
-
}
|
|
2308
|
-
|
|
2309
2248
|
.md\:tw-w-auto {
|
|
2310
2249
|
width: auto;
|
|
2311
2250
|
}
|
|
@@ -2314,14 +2253,6 @@ video {
|
|
|
2314
2253
|
width: 100%;
|
|
2315
2254
|
}
|
|
2316
2255
|
|
|
2317
|
-
.md\:tw-max-w-full {
|
|
2318
|
-
max-width: 100%;
|
|
2319
|
-
}
|
|
2320
|
-
|
|
2321
|
-
.md\:tw-grow {
|
|
2322
|
-
flex-grow: 1;
|
|
2323
|
-
}
|
|
2324
|
-
|
|
2325
2256
|
.md\:tw-grid-cols-2 {
|
|
2326
2257
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2327
2258
|
}
|
|
@@ -2350,10 +2281,6 @@ video {
|
|
|
2350
2281
|
justify-content: flex-start;
|
|
2351
2282
|
}
|
|
2352
2283
|
|
|
2353
|
-
.md\:tw-justify-end {
|
|
2354
|
-
justify-content: flex-end;
|
|
2355
|
-
}
|
|
2356
|
-
|
|
2357
2284
|
.md\:tw-justify-center {
|
|
2358
2285
|
justify-content: center;
|
|
2359
2286
|
}
|
|
@@ -2408,10 +2335,6 @@ video {
|
|
|
2408
2335
|
padding-bottom: 0.5rem;
|
|
2409
2336
|
}
|
|
2410
2337
|
|
|
2411
|
-
.md\:tw-pl-4 {
|
|
2412
|
-
padding-left: 1rem;
|
|
2413
|
-
}
|
|
2414
|
-
|
|
2415
2338
|
.md\:tw-pr-2 {
|
|
2416
2339
|
padding-right: 0.5rem;
|
|
2417
2340
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import API from '../constants/api';
|
|
3
|
+
import { getCurrentLocale } from '../../useSharedLibTranslate';
|
|
3
4
|
|
|
4
5
|
let internalAxios;
|
|
5
6
|
|
|
@@ -45,6 +46,9 @@ const createUserLogo = async (payload) => {
|
|
|
45
46
|
method: 'post',
|
|
46
47
|
url: API.BYO_LOGO_API_URL + API.BYO_LOGO_API_LINK_TEMPLATE_ENDPOINT,
|
|
47
48
|
data: { logoTemplateToken: response.data.token },
|
|
49
|
+
headers: {
|
|
50
|
+
'Accept-Language': getCurrentLocale(),
|
|
51
|
+
},
|
|
48
52
|
});
|
|
49
53
|
|
|
50
54
|
return { success: true, response: linkResponse };
|
|
@@ -24,6 +24,20 @@ const getPaymentConfigsByBrandPageToken = async (brandPageToken) => {
|
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
+
const getPaymentConfigCurrencyListByBrandPageTokenAsync = async () => {
|
|
28
|
+
try {
|
|
29
|
+
const response = await getAxios().get(`/maker/api/brand-pages/payment-configs/currency-list`);
|
|
30
|
+
|
|
31
|
+
if (response.status === 200) {
|
|
32
|
+
return response.data;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return null;
|
|
36
|
+
} catch (err) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
|
|
27
41
|
const deletePaymentConfigByBrandPageTokenAndConfigId = async (brandPageToken, paymentConfigId) => {
|
|
28
42
|
try {
|
|
29
43
|
const response = await getAxios().delete(`/maker/api/brand-pages/${brandPageToken}/payment-configs`, {
|
|
@@ -44,4 +58,5 @@ export default {
|
|
|
44
58
|
setBrandPageApiClientAxios,
|
|
45
59
|
getPaymentConfigsByBrandPageToken,
|
|
46
60
|
deletePaymentConfigByBrandPageTokenAndConfigId,
|
|
61
|
+
getPaymentConfigCurrencyListByBrandPageTokenAsync,
|
|
47
62
|
};
|
|
@@ -32,9 +32,15 @@ export default {
|
|
|
32
32
|
data: () => ({
|
|
33
33
|
isLoading: true,
|
|
34
34
|
paymentConfigs: [],
|
|
35
|
+
currencies: [],
|
|
35
36
|
selectedPaymentConfig: {},
|
|
36
37
|
isStripeOptionActionVisible: false,
|
|
37
38
|
}),
|
|
39
|
+
computed: {
|
|
40
|
+
selectedCurrency() {
|
|
41
|
+
return this.currencies.find((currency) => currency.iso4127Code === this.selectedPaymentConfig?.defaultCurrency);
|
|
42
|
+
},
|
|
43
|
+
},
|
|
38
44
|
methods: {
|
|
39
45
|
getPaymentConfigStatusDisplayText(paymentConfigStatus) {
|
|
40
46
|
switch (paymentConfigStatus) {
|
|
@@ -94,5 +100,19 @@ export default {
|
|
|
94
100
|
this.isLoading = false;
|
|
95
101
|
}
|
|
96
102
|
},
|
|
103
|
+
|
|
104
|
+
async getCurrentListAsync() {
|
|
105
|
+
try {
|
|
106
|
+
const result = await brandPageApiClient.getPaymentConfigCurrencyListByBrandPageTokenAsync();
|
|
107
|
+
|
|
108
|
+
if (result) {
|
|
109
|
+
this.currencies = result?.currencies || [];
|
|
110
|
+
}
|
|
111
|
+
} catch (err) {
|
|
112
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
113
|
+
console.error(`Error fetching currency list: ${err}`);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
97
117
|
},
|
|
98
118
|
};
|
|
@@ -10,46 +10,69 @@
|
|
|
10
10
|
variant="outline"
|
|
11
11
|
@on-click="onAddPaymentProviderButtonClick"
|
|
12
12
|
></Button>
|
|
13
|
-
<
|
|
14
|
-
<
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
<div v-if="!isLoading && !isAddPaymentProviderButtonVisible">
|
|
14
|
+
<Dropdown ref="dropdown">
|
|
15
|
+
<template #title>
|
|
16
|
+
<div
|
|
17
|
+
v-if="selectedPaymentConfig"
|
|
18
|
+
class="tw-flex tw-items-center tw-px-2 tw-py-2 drop-down-item tw-cursor-pointer"
|
|
19
|
+
>
|
|
20
|
+
<span class="tw-text-sm tw-grow tw-select-none tw-flex tw-flex-col">
|
|
21
|
+
<span>{{ selectedPaymentConfig.name }}</span>
|
|
22
|
+
<small class="stripe-acct">({{ selectedPaymentConfig.paymentProviderExternalId }})</small>
|
|
23
|
+
</span>
|
|
24
|
+
<Pill class="tw-text-white" :class="getPaymentConfigStatusDisplayClasses(selectedPaymentConfig.status)">
|
|
25
|
+
{{ getPaymentConfigStatusDisplayText(selectedPaymentConfig.status) }}
|
|
26
|
+
</Pill>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<DropdownItem
|
|
31
|
+
v-for="paymentConfig in paymentConfigs"
|
|
32
|
+
:key="`payment-config-${paymentConfig.id}`"
|
|
33
|
+
@click="onPaymentConfigClick(paymentConfig)"
|
|
18
34
|
>
|
|
19
35
|
<span class="tw-text-sm tw-grow tw-select-none tw-flex tw-flex-col">
|
|
20
|
-
<span>{{
|
|
21
|
-
<small class="stripe-acct">({{
|
|
36
|
+
<span>{{ paymentConfig.name }}</span>
|
|
37
|
+
<small class="stripe-acct">({{ paymentConfig.paymentProviderExternalId }})</small>
|
|
22
38
|
</span>
|
|
23
|
-
<Pill class="tw-text-white" :class="getPaymentConfigStatusDisplayClasses(
|
|
24
|
-
{{ getPaymentConfigStatusDisplayText(
|
|
39
|
+
<Pill class="tw-text-white" :class="getPaymentConfigStatusDisplayClasses(paymentConfig.status)">
|
|
40
|
+
{{ getPaymentConfigStatusDisplayText(paymentConfig.status) }}
|
|
25
41
|
</Pill>
|
|
26
|
-
</
|
|
27
|
-
</template>
|
|
42
|
+
</DropdownItem>
|
|
28
43
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
<DropdownItem v-if="showAddPaymentProvider" class="tw-border-t-2" @click="onAddPaymentProviderButtonClick">
|
|
45
|
+
<Button
|
|
46
|
+
:full-width="true"
|
|
47
|
+
:label="sharedPaymentConfigTr('addPaymentProvider')"
|
|
48
|
+
size="small"
|
|
49
|
+
variant="outline"
|
|
50
|
+
@on-click="onAddPaymentProviderButtonClick"
|
|
51
|
+
/>
|
|
52
|
+
</DropdownItem>
|
|
53
|
+
</Dropdown>
|
|
54
|
+
<h4 class="tw-mt-3 tw-mb-2 tw-text-sm tw-font-bold">Currency</h4>
|
|
55
|
+
<Dropdown ref="dropdownCurrency">
|
|
56
|
+
<template #title>
|
|
57
|
+
<div v-if="selectedCurrency" class="tw-flex tw-items-center tw-px-2 tw-py-2 drop-down-item tw-cursor-pointer">
|
|
58
|
+
<span class="tw-text-sm tw-grow tw-select-none tw-flex tw-flex-col">
|
|
59
|
+
<span>{{ selectedCurrency.iso4127Code }} ({{ selectedCurrency.symbol }})</span>
|
|
60
|
+
</span>
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
42
63
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
64
|
+
<DropdownItem
|
|
65
|
+
v-for="currency in currencies"
|
|
66
|
+
:key="`currency-${currency.id}`"
|
|
67
|
+
@click="onCurrencyClick(currency)"
|
|
68
|
+
>
|
|
69
|
+
<span class="tw-text-sm tw-grow tw-select-none tw-flex tw-flex-col">
|
|
70
|
+
<span>{{ currency.iso4127Code }} ({{ currency.symbol }})</span>
|
|
71
|
+
</span>
|
|
72
|
+
<Icon v-if="selectedCurrency?.id === currency.id" name="check-thin" />
|
|
73
|
+
</DropdownItem>
|
|
74
|
+
</Dropdown>
|
|
75
|
+
</div>
|
|
53
76
|
</div>
|
|
54
77
|
</template>
|
|
55
78
|
<script>
|
|
@@ -58,6 +81,7 @@ import Dropdown from '../../../../src/atoms/components/Dropdown/Dropdown.vue';
|
|
|
58
81
|
import DropdownItem from '../../../../src/atoms/components/Dropdown/DropdownItem.vue';
|
|
59
82
|
import Loader from '../../../../src/atoms/components/Loader/Loader.vue';
|
|
60
83
|
import Pill from '../../../../src/atoms/components/Pill/Pill.vue';
|
|
84
|
+
import Icon from '../../../../src/atoms/components/Icon/Icon.vue';
|
|
61
85
|
|
|
62
86
|
import PaymentConfigMixin, { paymentConfigStatuses } from './PaymentConfig.mixin';
|
|
63
87
|
import { sharedPaymentConfigTr } from '../../../useSharedLibTranslate';
|
|
@@ -69,6 +93,7 @@ export default {
|
|
|
69
93
|
DropdownItem,
|
|
70
94
|
Loader,
|
|
71
95
|
Pill,
|
|
96
|
+
Icon,
|
|
72
97
|
},
|
|
73
98
|
mixins: [PaymentConfigMixin],
|
|
74
99
|
props: {
|
|
@@ -89,6 +114,8 @@ export default {
|
|
|
89
114
|
},
|
|
90
115
|
},
|
|
91
116
|
async mounted() {
|
|
117
|
+
this.getCurrentListAsync();
|
|
118
|
+
|
|
92
119
|
if (this.brandPageToken) {
|
|
93
120
|
await this.updatePaymentConfigs();
|
|
94
121
|
if (!this.selectedPaymentConfig && this.paymentConfigs.length === 0) {
|
|
@@ -125,6 +152,11 @@ export default {
|
|
|
125
152
|
this.selectedPaymentConfig = paymentConfig;
|
|
126
153
|
this.$emit('on-payment-config-selected', this.selectedPaymentConfig);
|
|
127
154
|
},
|
|
155
|
+
|
|
156
|
+
onCurrencyClick(currency) {
|
|
157
|
+
this.$refs.dropdownCurrency.hideMenu();
|
|
158
|
+
this.$emit('on-currency-selected', currency);
|
|
159
|
+
},
|
|
128
160
|
},
|
|
129
161
|
};
|
|
130
162
|
</script>
|