@redneckz/wildless-cms-uni-blocks 0.14.1047 → 0.14.1049
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/bundle/bundle.umd.js +20 -6
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/retail/api/getCardTypes.js +15 -4
- package/dist/retail/api/getCardTypes.js.map +1 -1
- package/dist/retail/api/getPaymentSystems.js +6 -1
- package/dist/retail/api/getPaymentSystems.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
- package/lib/retail/api/getCardTypes.js +15 -4
- package/lib/retail/api/getCardTypes.js.map +1 -1
- package/lib/retail/api/getPaymentSystems.js +6 -1
- package/lib/retail/api/getPaymentSystems.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +20 -6
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/retail/api/getCardTypes.js +15 -4
- package/mobile/dist/retail/api/getCardTypes.js.map +1 -1
- package/mobile/dist/retail/api/getPaymentSystems.js +6 -1
- package/mobile/dist/retail/api/getPaymentSystems.js.map +1 -1
- package/mobile/lib/retail/api/getCardTypes.js +15 -4
- package/mobile/lib/retail/api/getCardTypes.js.map +1 -1
- package/mobile/lib/retail/api/getPaymentSystems.js +6 -1
- package/mobile/lib/retail/api/getPaymentSystems.js.map +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationForm.example.json +7 -0
- package/mobile/src/retail/api/getCardTypes.ts +18 -4
- package/mobile/src/retail/api/getPaymentSystems.ts +10 -7
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationForm.example.json +7 -0
- package/src/retail/api/getCardTypes.ts +18 -4
- package/src/retail/api/getPaymentSystems.ts +10 -7
package/bundle/bundle.umd.js
CHANGED
|
@@ -5488,10 +5488,20 @@
|
|
|
5488
5488
|
const InfoCard = JSX(({ __html, icon = 'InfoCircleIcon', iconVersion = 'black', image }) => (jsxs("div", { className: "flex flex-row items-center w-full min-h-14 bg-main-gray rounded-lg gap-m p-m", children: [jsx("div", { className: "rounded-full bg-white p-xs", children: image ? (jsx(Img, { image: image, className: "block w-max" })) : (jsx(Icon, { name: icon, width: "24", height: "24", iconVersion: iconVersion })) }), jsx("div", { className: "", children: jsx(RichText, { __html: __html }) })] })));
|
|
5489
5489
|
|
|
5490
5490
|
const getCardTypes = async (paymentSystemTypeCd, creditProgramId) => {
|
|
5491
|
-
const
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5491
|
+
const isNewMicroservice = checkNewMicroservice();
|
|
5492
|
+
const endpoint = isNewMicroservice
|
|
5493
|
+
? '/external/public-data/dictionaryFiltered'
|
|
5494
|
+
: '/dictionaryFiltered';
|
|
5495
|
+
const requestBody = isNewMicroservice
|
|
5496
|
+
? {
|
|
5497
|
+
paymentSystemTypeCd,
|
|
5498
|
+
dictionaryType: 'CARD_TYPE',
|
|
5499
|
+
}
|
|
5500
|
+
: {
|
|
5501
|
+
type: 'CARD_TYPE',
|
|
5502
|
+
presets: { paymentSystemTypeCd, creditProgramId },
|
|
5503
|
+
};
|
|
5504
|
+
const data = await fetchRetailJSON(endpoint, 'POST', requestBody);
|
|
5495
5505
|
return Array.isArray(data) ? data : [];
|
|
5496
5506
|
};
|
|
5497
5507
|
|
|
@@ -6567,7 +6577,11 @@
|
|
|
6567
6577
|
});
|
|
6568
6578
|
|
|
6569
6579
|
const getPaymentSystems = async (creditProgramId) => {
|
|
6570
|
-
const
|
|
6580
|
+
const isNewMicroservice = checkNewMicroservice();
|
|
6581
|
+
const endpoint = isNewMicroservice
|
|
6582
|
+
? '/external/user-data/getPaymentSystem'
|
|
6583
|
+
: '/public-data/creditProgramConditions';
|
|
6584
|
+
const data = await fetchRetailJSON(endpoint, 'POST', {
|
|
6571
6585
|
creditProgramId,
|
|
6572
6586
|
});
|
|
6573
6587
|
return formatData(data?.paymentSystems || []);
|
|
@@ -14767,7 +14781,7 @@
|
|
|
14767
14781
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
14768
14782
|
});
|
|
14769
14783
|
|
|
14770
|
-
const packageVersion = "0.14.
|
|
14784
|
+
const packageVersion = "0.14.1048";
|
|
14771
14785
|
|
|
14772
14786
|
exports.Blocks = Blocks;
|
|
14773
14787
|
exports.ContentPage = ContentPage;
|