@codebards/ik-embeddable-form 0.0.2792144458-qa → 0.0.2792346196-qa
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/dist/embed.js +3 -3
- package/dist/embed.js.map +1 -1
- package/package.json +1 -1
package/dist/embed.js
CHANGED
|
@@ -1713,11 +1713,11 @@ var IKEmbeddableFormBundle = function(exports) {
|
|
|
1713
1713
|
privacyPolicyUrl: getPrivacyPolicyUrl()
|
|
1714
1714
|
};
|
|
1715
1715
|
}
|
|
1716
|
-
function shouldShowLeftPanel(config, openConfig,
|
|
1716
|
+
function shouldShowLeftPanel(config, openConfig, currentStepId) {
|
|
1717
1717
|
var _a;
|
|
1718
1718
|
if (openConfig == null ? void 0 : openConfig.hideLeftPanel) return false;
|
|
1719
1719
|
if ((_a = resolveLayoutConfig(config)) == null ? void 0 : _a.hideLeftPanel) return false;
|
|
1720
|
-
const currentStep =
|
|
1720
|
+
const currentStep = config.steps.find((s2) => s2.id === currentStepId);
|
|
1721
1721
|
if (currentStep == null ? void 0 : currentStep.hideLeftPanel) return false;
|
|
1722
1722
|
return !!getLeftPanel(config);
|
|
1723
1723
|
}
|
|
@@ -16904,7 +16904,7 @@ var IKEmbeddableFormBundle = function(exports) {
|
|
|
16904
16904
|
}) {
|
|
16905
16905
|
const leftPanel = getLeftPanel(config);
|
|
16906
16906
|
const rightPanel = getRightPanel(config);
|
|
16907
|
-
const showLeftPanel = shouldShowLeftPanel(config, openConfig,
|
|
16907
|
+
const showLeftPanel = shouldShowLeftPanel(config, openConfig, currentStepId);
|
|
16908
16908
|
const showProgress = shouldShowStepper(config, openConfig, progressSteps, currentStepId);
|
|
16909
16909
|
const formIntro = getFormIntro(config, openConfig);
|
|
16910
16910
|
const showFormIntro = shouldShowFormIntro(config, openConfig, progressSteps, currentStepId);
|