@redneckz/wildless-cms-uni-blocks 0.14.423 → 0.14.425
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/bin/migration-scripts/0.14.419.js +8 -1
- package/bundle/bundle.umd.js +3 -3
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/CalculatorCredit/isDefaultParams.d.ts +1 -1
- package/dist/components/CalculatorCredit/isDefaultParams.d.ts +1 -1
- package/dist/components/CalculatorCredit/isDefaultParams.js +1 -1
- package/dist/components/CalculatorCredit/isDefaultParams.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/CalculatorCredit/isDefaultParams.d.ts +1 -1
- package/lib/components/CalculatorCredit/isDefaultParams.js +1 -1
- package/lib/components/CalculatorCredit/isDefaultParams.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +3 -3
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/CalculatorCredit/isDefaultParams.d.ts +1 -1
- package/mobile/dist/components/CalculatorCredit/isDefaultParams.d.ts +1 -1
- package/mobile/dist/components/CalculatorCredit/isDefaultParams.js +1 -1
- package/mobile/dist/components/CalculatorCredit/isDefaultParams.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/CalculatorCredit/isDefaultParams.d.ts +1 -1
- package/mobile/lib/components/CalculatorCredit/isDefaultParams.js +1 -1
- package/mobile/lib/components/CalculatorCredit/isDefaultParams.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/src/components/CalculatorCredit/isDefaultParams.tsx +2 -2
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -1
- package/package.json +2 -2
- package/src/components/CalculatorCredit/isDefaultParams.tsx +2 -2
- package/src/components/LinkDocs/LinkDocs.tsx +1 -1
- package/src/icons/IconName.ts +5 -377
|
@@ -6,7 +6,7 @@ export default traversePageBlocks(adjustLinkDocs);
|
|
|
6
6
|
|
|
7
7
|
function adjustLinkDocs(block) {
|
|
8
8
|
const content = block?.content;
|
|
9
|
-
if (!content || block.type !== 'LinkDocs' || content?.documents) {
|
|
9
|
+
if (!content || block.type !== 'LinkDocs' || !content?.documents) {
|
|
10
10
|
return;
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -16,7 +16,14 @@ function adjustLinkDocs(block) {
|
|
|
16
16
|
content.documents = content.documents.map((_) => {
|
|
17
17
|
if (_?.docType === 'Modal') {
|
|
18
18
|
_.docType = 'Link';
|
|
19
|
+
|
|
20
|
+
if (_?.attachment?.src) {
|
|
21
|
+
_.href = _?.attachment?.src;
|
|
22
|
+
deleteProp(_, 'attachment');
|
|
23
|
+
}
|
|
19
24
|
}
|
|
25
|
+
|
|
26
|
+
return _;
|
|
20
27
|
});
|
|
21
28
|
}
|
|
22
29
|
}
|
package/bundle/bundle.umd.js
CHANGED
|
@@ -2889,7 +2889,7 @@
|
|
|
2889
2889
|
};
|
|
2890
2890
|
};
|
|
2891
2891
|
|
|
2892
|
-
const isDefaultParams = (defaultParams) => Object.values(defaultParams
|
|
2892
|
+
const isDefaultParams = (defaultParams = {}) => Boolean(Object.values(defaultParams).filter((_) => _).length);
|
|
2893
2893
|
|
|
2894
2894
|
const CREDIT_DEFAULT_SUM = 200000;
|
|
2895
2895
|
const MAP$1 = {
|
|
@@ -4805,7 +4805,7 @@
|
|
|
4805
4805
|
if (docType === '') {
|
|
4806
4806
|
return null;
|
|
4807
4807
|
}
|
|
4808
|
-
else if ('reportSource' in docBlockDef) {
|
|
4808
|
+
else if ('reportSource' in docBlockDef && docBlockDef?.reportSource?.__html) {
|
|
4809
4809
|
return renderModalItem(docBlockDef, i);
|
|
4810
4810
|
}
|
|
4811
4811
|
else {
|
|
@@ -6417,7 +6417,7 @@
|
|
|
6417
6417
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
6418
6418
|
});
|
|
6419
6419
|
|
|
6420
|
-
const packageVersion = "0.14.
|
|
6420
|
+
const packageVersion = "0.14.424";
|
|
6421
6421
|
|
|
6422
6422
|
exports.Blocks = Blocks;
|
|
6423
6423
|
exports.ContentPage = ContentPage;
|