@redneckz/wildless-cms-uni-blocks 0.14.643 → 0.14.645

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.
@@ -239,7 +239,11 @@
239
239
  .filter(Boolean)
240
240
  .join('/')
241
241
  .replace(/\/+/g, '/')
242
- .replace(/^(.+):\//, '$1://');
242
+ .replace(/^(.+):\//, '$1://')
243
+ .replace(/^file:/, 'file:/')
244
+ .replace(/\/(\?|&|#[^!])/g, '$1')
245
+ .replace(/\?/g, '&')
246
+ .replace('&', '?');
243
247
  const hasPrefix = (href, prefix) => {
244
248
  if (!href || !prefix) {
245
249
  return false;
@@ -6546,6 +6550,7 @@
6546
6550
 
6547
6551
  const WIZARD_STEPS = 5;
6548
6552
  const WIZARD_TITLES = [
6553
+ '',
6549
6554
  'Персональные данные',
6550
6555
  'Данные о трудоустройстве',
6551
6556
  'Данные о доходах и расходах',
@@ -6565,7 +6570,7 @@
6565
6570
  const inputs = (sections?.flatMap((_) => _?.inputs) || []);
6566
6571
  const isStartStep = step === 0;
6567
6572
  const [isFormFinished, setIsFormFinished] = useState(false);
6568
- return (jsx(BlockWrapper, { className: style('bg-transparent', className), defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: "container grid grid-cols-12", children: [isStartStep || isFormFinished ? null : (jsx(CreditFormProgress, { stepsTitles: WIZARD_TITLES, step: step, totalSteps: WIZARD_STEPS })), jsx("div", { className: "py-lg px-5xl mt-2xs bg-white col-span-12", children: jsx(CreditFormStep, { step: step, inputs: inputs, sections: sections, onNextStep: handleNextStep, onPrevStep: handlePrevStep, isFormFinished: isFormFinished, finishForm: setIsFormFinished, renderStep: isStartStep
6573
+ return (jsx(BlockWrapper, { className: style('bg-transparent', className), defaultPadding: "p-0", ...rest, children: jsxs("div", { className: "container grid grid-cols-12", children: [isStartStep || isFormFinished ? null : (jsx(CreditFormProgress, { stepsTitles: WIZARD_TITLES, step: step, totalSteps: WIZARD_STEPS })), jsx("div", { className: "py-lg px-5xl mt-2xs bg-white col-span-12", children: jsx(CreditFormStep, { step: step, inputs: inputs, sections: sections, onNextStep: handleNextStep, onPrevStep: handlePrevStep, isFormFinished: isFormFinished, finishForm: setIsFormFinished, renderStep: isStartStep
6569
6574
  ? ({ registerSubmit }) => (jsx(CalculatorCredit, { ...{
6570
6575
  title: 'Калькулятор кредита',
6571
6576
  footnote: 'Расчёт является предварительным. Точные условия будут предоставлены в отделении Банка.',
@@ -8835,7 +8840,7 @@
8835
8840
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
8836
8841
  });
8837
8842
 
8838
- const packageVersion = "0.14.642";
8843
+ const packageVersion = "0.14.644";
8839
8844
 
8840
8845
  exports.Blocks = Blocks;
8841
8846
  exports.ContentPage = ContentPage;