@pendo/agent 2.317.0 → 2.317.1
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/dom.esm.js +1 -1
- package/dist/pendo.module.js +21 -12
- package/dist/pendo.module.min.js +5 -5
- package/dist/servers.json +7 -7
- package/package.json +1 -1
package/dist/dom.esm.js
CHANGED
|
@@ -7473,7 +7473,7 @@ function applyMatrix2dRect(matrix2d, rect) {
|
|
|
7473
7473
|
return transformedRect;
|
|
7474
7474
|
}
|
|
7475
7475
|
|
|
7476
|
-
var VERSION = '2.317.
|
|
7476
|
+
var VERSION = '2.317.1_';
|
|
7477
7477
|
|
|
7478
7478
|
var decodeURIComponent = _.isFunction(window.decodeURIComponent) ? window.decodeURIComponent : _.identity;
|
|
7479
7479
|
|
package/dist/pendo.module.js
CHANGED
|
@@ -3956,8 +3956,8 @@ let SERVER = '';
|
|
|
3956
3956
|
let ASSET_HOST = '';
|
|
3957
3957
|
let ASSET_PATH = '';
|
|
3958
3958
|
let DESIGNER_SERVER = '';
|
|
3959
|
-
let VERSION = '2.317.
|
|
3960
|
-
let PACKAGE_VERSION = '2.317.
|
|
3959
|
+
let VERSION = '2.317.1_';
|
|
3960
|
+
let PACKAGE_VERSION = '2.317.1';
|
|
3961
3961
|
let LOADER = 'xhr';
|
|
3962
3962
|
/* eslint-enable web-sdk-eslint-rules/no-gulp-env-references */
|
|
3963
3963
|
/**
|
|
@@ -20759,8 +20759,9 @@ function stepShowingProc(guide, step) {
|
|
|
20759
20759
|
step.hide();
|
|
20760
20760
|
return;
|
|
20761
20761
|
}
|
|
20762
|
-
|
|
20763
|
-
|
|
20762
|
+
const embedSelector = _.get(guide, 'attributes.embedConfig.selector');
|
|
20763
|
+
if (embedSelector && !dom(embedSelector).length) {
|
|
20764
|
+
step.hide();
|
|
20764
20765
|
return;
|
|
20765
20766
|
}
|
|
20766
20767
|
var elementIsStillValidTarget = isElementVisible(element);
|
|
@@ -25642,6 +25643,10 @@ var canStepBeRendered = function (step) {
|
|
|
25642
25643
|
if (targetElem && step.elementContainsRulesList && !doesElementMatchContainsRules(targetElem, step.elementContainsRulesList)) {
|
|
25643
25644
|
return statusWriter(false, 'contains_rules');
|
|
25644
25645
|
}
|
|
25646
|
+
const embedSelector = _.get(step, 'guide.attributes.embedConfig.selector');
|
|
25647
|
+
if (embedSelector && !dom(embedSelector).length) {
|
|
25648
|
+
return false;
|
|
25649
|
+
}
|
|
25645
25650
|
var isTooltip = step.type === 'tooltip' || BuildingBlockTooltips.isBuildingBlockGuideRelativeToElement(step);
|
|
25646
25651
|
var isVisible = isElementVisible(elm);
|
|
25647
25652
|
if (!isTooltip) {
|
|
@@ -31850,7 +31855,6 @@ function WalkthroughGuide() {
|
|
|
31850
31855
|
var nextStep = (guide.channel ? guide.nextStep() : guide.nextStep(lastGuideStepSeen)) || firstStep;
|
|
31851
31856
|
if (guide.forceShowFirstStep) {
|
|
31852
31857
|
nextStep = firstStep;
|
|
31853
|
-
guide.forceShowFirstStep = false;
|
|
31854
31858
|
}
|
|
31855
31859
|
return nextStep.show(reason === 'continue' && nextStep === firstStep && firstStep.seenReason === 'auto' ? 'auto' : reason);
|
|
31856
31860
|
};
|
|
@@ -38641,12 +38645,6 @@ const EmbeddedGuides = (function () {
|
|
|
38641
38645
|
guide.launchMethod = 'auto';
|
|
38642
38646
|
guide.channel = guide.id; // allow simultaneous display
|
|
38643
38647
|
guide.attributes.overrideAutoThrottling = true;
|
|
38644
|
-
const { selector } = getEmbedConfig(guide);
|
|
38645
|
-
if (selector) {
|
|
38646
|
-
_.each(guide.steps, function (step) {
|
|
38647
|
-
step.elementPathRule = selector;
|
|
38648
|
-
});
|
|
38649
|
-
}
|
|
38650
38648
|
embeddedGuides.push(guide);
|
|
38651
38649
|
}
|
|
38652
38650
|
});
|
|
@@ -40272,7 +40270,8 @@ class RestartOnReload {
|
|
|
40272
40270
|
const boundSetForceShowFirstStepFlags = _.bind(this.setForceShowFirstStepFlags, this);
|
|
40273
40271
|
this.subscriptions = [
|
|
40274
40272
|
attachEvent(Events, 'deliverablesLoaded', boundSetForceShowFirstStepFlags),
|
|
40275
|
-
attachEvent(Events, 'urlChanged', boundSetForceShowFirstStepFlags)
|
|
40273
|
+
attachEvent(Events, 'urlChanged', boundSetForceShowFirstStepFlags),
|
|
40274
|
+
attachEvent(Events, 'guideSeen', _.bind(this.clearForceShowFirstStepFlags, this))
|
|
40276
40275
|
];
|
|
40277
40276
|
}
|
|
40278
40277
|
teardown() {
|
|
@@ -40291,6 +40290,16 @@ class RestartOnReload {
|
|
|
40291
40290
|
}
|
|
40292
40291
|
});
|
|
40293
40292
|
}
|
|
40293
|
+
clearForceShowFirstStepFlags(evt) {
|
|
40294
|
+
const { _, findGuideById } = this.pendo;
|
|
40295
|
+
const guideId = _.get(evt, 'data.0.props.guide_id');
|
|
40296
|
+
if (!guideId)
|
|
40297
|
+
return;
|
|
40298
|
+
const guide = findGuideById(guideId);
|
|
40299
|
+
if (guide && guide.forceShowFirstStep) {
|
|
40300
|
+
guide.forceShowFirstStep = false;
|
|
40301
|
+
}
|
|
40302
|
+
}
|
|
40294
40303
|
}
|
|
40295
40304
|
var RestartOnReload$1 = new RestartOnReload();
|
|
40296
40305
|
|