@inboxsdk/core 2.1.63 → 2.1.64
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/inboxsdk.js +14 -6
- package/inboxsdk.js.map +1 -1
- package/package.json +1 -1
- package/pageWorld.js.map +1 -1
- package/src/platform-implementation-js/dom-driver/gmail/views/gmail-nav-item-view.d.ts +4 -0
- package/src/platform-implementation-js/dom-driver/gmail/views/gmail-nav-item-view.d.ts.map +1 -1
package/inboxsdk.js
CHANGED
|
@@ -371,7 +371,7 @@ function isNotNil(value) {
|
|
|
371
371
|
|
|
372
372
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- SDK_VERSION is injected by webpack
|
|
373
373
|
///@ts-ignore
|
|
374
|
-
const BUILD_VERSION = "2.1.
|
|
374
|
+
const BUILD_VERSION = "2.1.64-1723002271756-f7ab3d0ba08c7c65";
|
|
375
375
|
if (false) {}
|
|
376
376
|
|
|
377
377
|
/***/ }),
|
|
@@ -2646,7 +2646,7 @@ options.insert = htmlElement => {
|
|
|
2646
2646
|
htmlElement.setAttribute('data-inboxsdk-version',
|
|
2647
2647
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
|
|
2648
2648
|
///@ts-ignore
|
|
2649
|
-
"2.1.
|
|
2649
|
+
"2.1.64-1723002271756-f7ab3d0ba08c7c65");
|
|
2650
2650
|
document.head.append(htmlElement);
|
|
2651
2651
|
};
|
|
2652
2652
|
options.domAPI = (styleDomAPI_default());
|
|
@@ -10197,7 +10197,7 @@ options.insert = htmlElement => {
|
|
|
10197
10197
|
htmlElement.setAttribute('data-inboxsdk-version',
|
|
10198
10198
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
|
|
10199
10199
|
///@ts-ignore
|
|
10200
|
-
"2.1.
|
|
10200
|
+
"2.1.64-1723002271756-f7ab3d0ba08c7c65");
|
|
10201
10201
|
document.head.append(htmlElement);
|
|
10202
10202
|
};
|
|
10203
10203
|
options.domAPI = (styleDomAPI_default());
|
|
@@ -14941,7 +14941,7 @@ options.insert = htmlElement => {
|
|
|
14941
14941
|
htmlElement.setAttribute('data-inboxsdk-version',
|
|
14942
14942
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
|
|
14943
14943
|
///@ts-ignore
|
|
14944
|
-
"2.1.
|
|
14944
|
+
"2.1.64-1723002271756-f7ab3d0ba08c7c65");
|
|
14945
14945
|
document.head.append(htmlElement);
|
|
14946
14946
|
};
|
|
14947
14947
|
options.domAPI = (styleDomAPI_default());
|
|
@@ -16862,7 +16862,15 @@ class NavItemView extends safe_event_emitter/* default */.A {
|
|
|
16862
16862
|
}
|
|
16863
16863
|
function _handleRouteViewChange(navItemViewDriver, _ref2) {
|
|
16864
16864
|
let [navItemDescriptor, routeViewDriver] = _ref2;
|
|
16865
|
-
|
|
16865
|
+
let isActive = false;
|
|
16866
|
+
if (navItemDescriptor) {
|
|
16867
|
+
const routesToCheck = [{
|
|
16868
|
+
routeID: navItemDescriptor.routeID,
|
|
16869
|
+
routeParams: navItemDescriptor.routeParams
|
|
16870
|
+
}, ...(navItemDescriptor.secondaryRoutes || [])];
|
|
16871
|
+
isActive = routesToCheck.some(route => routeViewDriver.getRouteID() === route.routeID && isEqual_default()(routeViewDriver.getParams(), route.routeParams || {}));
|
|
16872
|
+
}
|
|
16873
|
+
navItemViewDriver.setActive(isActive);
|
|
16866
16874
|
}
|
|
16867
16875
|
;// CONCATENATED MODULE: ./src/platform-implementation-js/views/native-nav-item-view.ts
|
|
16868
16876
|
|
|
@@ -19693,7 +19701,7 @@ mole_view_module_options.insert = htmlElement => {
|
|
|
19693
19701
|
htmlElement.setAttribute('data-inboxsdk-version',
|
|
19694
19702
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
|
|
19695
19703
|
///@ts-ignore
|
|
19696
|
-
"2.1.
|
|
19704
|
+
"2.1.64-1723002271756-f7ab3d0ba08c7c65");
|
|
19697
19705
|
document.head.append(htmlElement);
|
|
19698
19706
|
};
|
|
19699
19707
|
mole_view_module_options.domAPI = (styleDomAPI_default());
|