@redneckz/wildless-cms-uni-blocks 0.14.751 → 0.14.752
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 +15 -5
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/ui-kit/DraftDialog/utils.d.ts +11 -1
- package/dist/ui-kit/DraftDialog/parseDraftTask.js +2 -2
- package/dist/ui-kit/DraftDialog/parseDraftTask.js.map +1 -1
- package/dist/ui-kit/DraftDialog/utils.d.ts +11 -1
- package/dist/ui-kit/DraftDialog/utils.js +13 -3
- package/dist/ui-kit/DraftDialog/utils.js.map +1 -1
- package/lib/ui-kit/DraftDialog/parseDraftTask.js +3 -3
- package/lib/ui-kit/DraftDialog/parseDraftTask.js.map +1 -1
- package/lib/ui-kit/DraftDialog/utils.d.ts +14 -4
- package/lib/ui-kit/DraftDialog/utils.js +12 -2
- package/lib/ui-kit/DraftDialog/utils.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +15 -5
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/ui-kit/DraftDialog/utils.d.ts +11 -1
- package/mobile/dist/ui-kit/DraftDialog/parseDraftTask.js +2 -2
- package/mobile/dist/ui-kit/DraftDialog/parseDraftTask.js.map +1 -1
- package/mobile/dist/ui-kit/DraftDialog/utils.d.ts +11 -1
- package/mobile/dist/ui-kit/DraftDialog/utils.js +13 -3
- package/mobile/dist/ui-kit/DraftDialog/utils.js.map +1 -1
- package/mobile/lib/ui-kit/DraftDialog/parseDraftTask.js +3 -3
- package/mobile/lib/ui-kit/DraftDialog/parseDraftTask.js.map +1 -1
- package/mobile/lib/ui-kit/DraftDialog/utils.d.ts +11 -1
- package/mobile/lib/ui-kit/DraftDialog/utils.js +12 -2
- package/mobile/lib/ui-kit/DraftDialog/utils.js.map +1 -1
- package/mobile/src/ui-kit/DraftDialog/parseDraftTask.ts +4 -2
- package/mobile/src/ui-kit/DraftDialog/utils.ts +18 -3
- package/package.json +1 -1
- package/src/ui-kit/DraftDialog/parseDraftTask.ts +4 -2
- package/src/ui-kit/DraftDialog/utils.ts +18 -3
package/bundle/bundle.umd.js
CHANGED
|
@@ -4874,6 +4874,16 @@
|
|
|
4874
4874
|
};
|
|
4875
4875
|
const countIncomeAverage = (wages, retirementIncome) => Number(wages) + Number(retirementIncome);
|
|
4876
4876
|
|
|
4877
|
+
const EMPLOYMENT_TYPE = {
|
|
4878
|
+
WORK: 'Работаю',
|
|
4879
|
+
RETIREE: 'Пенсионер',
|
|
4880
|
+
};
|
|
4881
|
+
const INCOME_CERTIFICATE = {
|
|
4882
|
+
BANK_STATEMENT: 'Получаю зарплату на счет/карту в РСХБ',
|
|
4883
|
+
BANK_STATEMENT_PENS: 'Получаю пенсию на счет/карту в РСХБ',
|
|
4884
|
+
PFR_CERTIFICATE: 'Получаю зарплату на счет/карту в другом банке',
|
|
4885
|
+
OTHER: 'Другое',
|
|
4886
|
+
};
|
|
4877
4887
|
const creditCodesToProgrammIdMap = {
|
|
4878
4888
|
credit_cash: '10',
|
|
4879
4889
|
credit_cash_single_doc: '28',
|
|
@@ -4943,11 +4953,11 @@
|
|
|
4943
4953
|
}
|
|
4944
4954
|
: null;
|
|
4945
4955
|
};
|
|
4946
|
-
const getSelectValue = (option) => {
|
|
4956
|
+
const getSelectValue = (option, map) => {
|
|
4947
4957
|
return option?.key
|
|
4948
4958
|
? {
|
|
4949
4959
|
key: option.key,
|
|
4950
|
-
text: option.value,
|
|
4960
|
+
text: map ? map[option.key] : option.value,
|
|
4951
4961
|
}
|
|
4952
4962
|
: undefined;
|
|
4953
4963
|
};
|
|
@@ -4976,7 +4986,7 @@
|
|
|
4976
4986
|
participantDateRegistration,
|
|
4977
4987
|
housing: getSelectValue(housing),
|
|
4978
4988
|
beginDate,
|
|
4979
|
-
employment: getSelectValue(employment),
|
|
4989
|
+
employment: getSelectValue(employment, EMPLOYMENT_TYPE),
|
|
4980
4990
|
organizationName,
|
|
4981
4991
|
inn,
|
|
4982
4992
|
employerActivities: getSelectValue(employerActivities),
|
|
@@ -4994,7 +5004,7 @@
|
|
|
4994
5004
|
familyMembers: familyMembers?.toString(),
|
|
4995
5005
|
dependents: dependents?.toString(),
|
|
4996
5006
|
conscription: getSelectValue(conscription),
|
|
4997
|
-
confirmationIncome: getSelectValue(incomeCertificateCd),
|
|
5007
|
+
confirmationIncome: getSelectValue(incomeCertificateCd, INCOME_CERTIFICATE),
|
|
4998
5008
|
snils,
|
|
4999
5009
|
armyIdFlg,
|
|
5000
5010
|
bankruptcyFlg,
|
|
@@ -10469,7 +10479,7 @@
|
|
|
10469
10479
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
10470
10480
|
});
|
|
10471
10481
|
|
|
10472
|
-
const packageVersion = "0.14.
|
|
10482
|
+
const packageVersion = "0.14.751";
|
|
10473
10483
|
|
|
10474
10484
|
exports.Blocks = Blocks;
|
|
10475
10485
|
exports.ContentPage = ContentPage;
|