@teamix/pro 1.5.7-beta.0 → 1.5.7-beta.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/pro.js +25 -7
- package/dist/pro.min.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/utils/useRealHistory.js +8 -2
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/utils/useRealHistory.js +8 -2
- package/package.json +1 -1
package/dist/pro.js
CHANGED
@@ -74701,8 +74701,14 @@ var useRealHistory = function useRealHistory() {
|
|
74701
74701
|
history = window.HistoryLibrary.createBrowserHistory();
|
74702
74702
|
var oldPush = history.push;
|
74703
74703
|
history.push = function (p) {
|
74704
|
-
|
74705
|
-
|
74704
|
+
if (typeof p === 'string') {
|
74705
|
+
var _window$ICESTARK;
|
74706
|
+
oldPush(path.join(((_window$ICESTARK = window.ICESTARK) === null || _window$ICESTARK === void 0 ? void 0 : _window$ICESTARK.basename) || '/', p));
|
74707
|
+
} else {
|
74708
|
+
var _window$ICESTARK2;
|
74709
|
+
p.pathname = path.join(((_window$ICESTARK2 = window.ICESTARK) === null || _window$ICESTARK2 === void 0 ? void 0 : _window$ICESTARK2.basename) || '/', p.pathname);
|
74710
|
+
oldPush(p);
|
74711
|
+
}
|
74706
74712
|
};
|
74707
74713
|
setRealHistory(history);
|
74708
74714
|
}
|
@@ -84149,8 +84155,14 @@ var useRealHistory = function useRealHistory() {
|
|
84149
84155
|
history = window.HistoryLibrary.createBrowserHistory();
|
84150
84156
|
var oldPush = history.push;
|
84151
84157
|
history.push = function (p) {
|
84152
|
-
|
84153
|
-
|
84158
|
+
if (typeof p === 'string') {
|
84159
|
+
var _window$ICESTARK;
|
84160
|
+
oldPush(path.join(((_window$ICESTARK = window.ICESTARK) === null || _window$ICESTARK === void 0 ? void 0 : _window$ICESTARK.basename) || '/', p));
|
84161
|
+
} else {
|
84162
|
+
var _window$ICESTARK2;
|
84163
|
+
p.pathname = path.join(((_window$ICESTARK2 = window.ICESTARK) === null || _window$ICESTARK2 === void 0 ? void 0 : _window$ICESTARK2.basename) || '/', p.pathname);
|
84164
|
+
oldPush(p);
|
84165
|
+
}
|
84154
84166
|
};
|
84155
84167
|
setRealHistory(history);
|
84156
84168
|
}
|
@@ -92468,7 +92480,7 @@ if (!((_window = window) != null && _window.TEAMIXPRO_WITHOUT_ICON)) {
|
|
92468
92480
|
|
92469
92481
|
|
92470
92482
|
|
92471
|
-
var version = '1.5.7-beta.
|
92483
|
+
var version = '1.5.7-beta.1';
|
92472
92484
|
|
92473
92485
|
|
92474
92486
|
/***/ }),
|
@@ -101647,8 +101659,14 @@ var useRealHistory = function useRealHistory() {
|
|
101647
101659
|
history = window.HistoryLibrary.createBrowserHistory();
|
101648
101660
|
var oldPush = history.push;
|
101649
101661
|
history.push = function (p) {
|
101650
|
-
|
101651
|
-
|
101662
|
+
if (typeof p === 'string') {
|
101663
|
+
var _window$ICESTARK;
|
101664
|
+
oldPush(path.join(((_window$ICESTARK = window.ICESTARK) == null ? void 0 : _window$ICESTARK.basename) || '/', p));
|
101665
|
+
} else {
|
101666
|
+
var _window$ICESTARK2;
|
101667
|
+
p.pathname = path.join(((_window$ICESTARK2 = window.ICESTARK) == null ? void 0 : _window$ICESTARK2.basename) || '/', p.pathname);
|
101668
|
+
oldPush(p);
|
101669
|
+
}
|
101652
101670
|
};
|
101653
101671
|
setRealHistory(history);
|
101654
101672
|
}
|