@mjhls/mjh-framework 1.0.186 → 1.0.187
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/README.md +1 -1
- package/dist/index.es.js +82 -75
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +81 -74
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10485,18 +10485,18 @@ var DeckContent = function (_React$Component) {
|
|
|
10485
10485
|
|
|
10486
10486
|
if (currentPage !== pageNumber) {
|
|
10487
10487
|
lib_3.refresh();
|
|
10488
|
-
if (pageview) {
|
|
10489
|
-
_this.setState({
|
|
10490
|
-
currentPage: pageNumber
|
|
10491
|
-
}, function () {
|
|
10492
|
-
if (path[0] !== '/') {
|
|
10493
|
-
path = '/' + path;
|
|
10494
|
-
}
|
|
10495
10488
|
|
|
10496
|
-
|
|
10489
|
+
_this.setState({
|
|
10490
|
+
currentPage: pageNumber
|
|
10491
|
+
}, function () {
|
|
10492
|
+
if (path[0] !== '/') {
|
|
10493
|
+
path = '/' + path;
|
|
10494
|
+
}
|
|
10495
|
+
|
|
10496
|
+
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
10497
10497
|
|
|
10498
|
-
|
|
10499
|
-
|
|
10498
|
+
// please leave this for later debug purpose : Yong Jun.
|
|
10499
|
+
/* console.log('page change reported', {
|
|
10500
10500
|
currentPage: currentPage,
|
|
10501
10501
|
pageNumber: pageNumber,
|
|
10502
10502
|
pathname: pathname,
|
|
@@ -10504,15 +10504,16 @@ var DeckContent = function (_React$Component) {
|
|
|
10504
10504
|
newPath: newPath,
|
|
10505
10505
|
firstPage: pageNumber === 1,
|
|
10506
10506
|
queryString: queryString
|
|
10507
|
-
|
|
10507
|
+
}) */
|
|
10508
10508
|
|
|
10509
|
+
if (pageview) {
|
|
10509
10510
|
pageview(newPath);
|
|
10511
|
+
}
|
|
10510
10512
|
|
|
10511
|
-
|
|
10512
|
-
|
|
10513
|
-
});
|
|
10513
|
+
router.push(pathname, newPath, {
|
|
10514
|
+
shallow: true
|
|
10514
10515
|
});
|
|
10515
|
-
}
|
|
10516
|
+
});
|
|
10516
10517
|
}
|
|
10517
10518
|
}
|
|
10518
10519
|
}, _this.renderAuthor = function (authorDetail, index$$1, length) {
|
|
@@ -11888,23 +11889,23 @@ var GridContent = function (_React$Component) {
|
|
|
11888
11889
|
|
|
11889
11890
|
if (currentPage !== pageNumber) {
|
|
11890
11891
|
lib_3.refresh();
|
|
11891
|
-
if (pageview) {
|
|
11892
|
-
_this.setState({
|
|
11893
|
-
currentPage: pageNumber
|
|
11894
|
-
}, function () {
|
|
11895
|
-
if (path[0] !== '/') {
|
|
11896
|
-
path = '/' + path;
|
|
11897
|
-
}
|
|
11898
11892
|
|
|
11899
|
-
|
|
11893
|
+
_this.setState({
|
|
11894
|
+
currentPage: pageNumber
|
|
11895
|
+
}, function () {
|
|
11896
|
+
if (path[0] !== '/') {
|
|
11897
|
+
path = '/' + path;
|
|
11898
|
+
}
|
|
11900
11899
|
|
|
11900
|
+
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
11901
|
+
if (pageview) {
|
|
11901
11902
|
pageview(newPath);
|
|
11903
|
+
}
|
|
11902
11904
|
|
|
11903
|
-
|
|
11904
|
-
|
|
11905
|
-
});
|
|
11905
|
+
router.push(pathname, newPath, {
|
|
11906
|
+
shallow: true
|
|
11906
11907
|
});
|
|
11907
|
-
}
|
|
11908
|
+
});
|
|
11908
11909
|
}
|
|
11909
11910
|
}
|
|
11910
11911
|
}, _this.renderAuthor = function (authorDetail, index$$1, length) {
|
|
@@ -12472,23 +12473,24 @@ var DeckQueue = function (_React$Component) {
|
|
|
12472
12473
|
|
|
12473
12474
|
if (currentPage !== pageNumber) {
|
|
12474
12475
|
lib_3.refresh();
|
|
12475
|
-
if (pageview) {
|
|
12476
|
-
_this.setState({
|
|
12477
|
-
currentPage: pageNumber
|
|
12478
|
-
}, function () {
|
|
12479
|
-
if (path[0] !== '/') {
|
|
12480
|
-
path = '/' + path;
|
|
12481
|
-
}
|
|
12482
12476
|
|
|
12483
|
-
|
|
12477
|
+
_this.setState({
|
|
12478
|
+
currentPage: pageNumber
|
|
12479
|
+
}, function () {
|
|
12480
|
+
if (path[0] !== '/') {
|
|
12481
|
+
path = '/' + path;
|
|
12482
|
+
}
|
|
12483
|
+
|
|
12484
|
+
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
12484
12485
|
|
|
12486
|
+
if (pageview) {
|
|
12485
12487
|
pageview(newPath);
|
|
12488
|
+
}
|
|
12486
12489
|
|
|
12487
|
-
|
|
12488
|
-
|
|
12489
|
-
});
|
|
12490
|
+
router.push(pathname, newPath, {
|
|
12491
|
+
shallow: true
|
|
12490
12492
|
});
|
|
12491
|
-
}
|
|
12493
|
+
});
|
|
12492
12494
|
}
|
|
12493
12495
|
}
|
|
12494
12496
|
}, _this.renderMobileAd = function (index$$1, numberOfItemsBeforeAd) {
|
|
@@ -13300,17 +13302,20 @@ var changePageNumber = function changePageNumber(pageNumber, seoPaginate, pagevi
|
|
|
13300
13302
|
|
|
13301
13303
|
if (currentPage !== pageNumber) {
|
|
13302
13304
|
lib_3.refresh();
|
|
13305
|
+
|
|
13306
|
+
setCurrentPage(pageNumber);
|
|
13307
|
+
if (path[0] !== '/') {
|
|
13308
|
+
path = '/' + path;
|
|
13309
|
+
}
|
|
13310
|
+
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
13311
|
+
|
|
13303
13312
|
if (pageview) {
|
|
13304
|
-
setCurrentPage(pageNumber);
|
|
13305
|
-
if (path[0] !== '/') {
|
|
13306
|
-
path = '/' + path;
|
|
13307
|
-
}
|
|
13308
|
-
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
13309
13313
|
pageview(newPath);
|
|
13310
|
-
router.push(pathname, newPath, {
|
|
13311
|
-
shallow: true
|
|
13312
|
-
});
|
|
13313
13314
|
}
|
|
13315
|
+
|
|
13316
|
+
router.push(pathname, newPath, {
|
|
13317
|
+
shallow: true
|
|
13318
|
+
});
|
|
13314
13319
|
}
|
|
13315
13320
|
}
|
|
13316
13321
|
};
|
|
@@ -13990,23 +13995,24 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
13990
13995
|
|
|
13991
13996
|
if (currentPage !== pageNumber) {
|
|
13992
13997
|
lib_3.refresh();
|
|
13993
|
-
if (pageview) {
|
|
13994
|
-
_this.setState({
|
|
13995
|
-
currentPage: pageNumber
|
|
13996
|
-
}, function () {
|
|
13997
|
-
if (path[0] !== '/') {
|
|
13998
|
-
path = '/' + path;
|
|
13999
|
-
}
|
|
14000
13998
|
|
|
14001
|
-
|
|
13999
|
+
_this.setState({
|
|
14000
|
+
currentPage: pageNumber
|
|
14001
|
+
}, function () {
|
|
14002
|
+
if (path[0] !== '/') {
|
|
14003
|
+
path = '/' + path;
|
|
14004
|
+
}
|
|
14005
|
+
|
|
14006
|
+
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
14002
14007
|
|
|
14008
|
+
if (pageview) {
|
|
14003
14009
|
pageview(newPath);
|
|
14010
|
+
}
|
|
14004
14011
|
|
|
14005
|
-
|
|
14006
|
-
|
|
14007
|
-
});
|
|
14012
|
+
router.push(pathname, newPath, {
|
|
14013
|
+
shallow: true
|
|
14008
14014
|
});
|
|
14009
|
-
}
|
|
14015
|
+
});
|
|
14010
14016
|
}
|
|
14011
14017
|
}
|
|
14012
14018
|
}, _this.renderManualPagination = function () {
|
|
@@ -14248,18 +14254,18 @@ var MasterDeck = function (_React$Component) {
|
|
|
14248
14254
|
|
|
14249
14255
|
if (currentPage !== pageNumber) {
|
|
14250
14256
|
lib_3.refresh();
|
|
14251
|
-
if (pageview) {
|
|
14252
|
-
_this.setState({
|
|
14253
|
-
currentPage: pageNumber
|
|
14254
|
-
}, function () {
|
|
14255
|
-
if (path[0] !== '/') {
|
|
14256
|
-
path = '/' + path;
|
|
14257
|
-
}
|
|
14258
14257
|
|
|
14259
|
-
|
|
14258
|
+
_this.setState({
|
|
14259
|
+
currentPage: pageNumber
|
|
14260
|
+
}, function () {
|
|
14261
|
+
if (path[0] !== '/') {
|
|
14262
|
+
path = '/' + path;
|
|
14263
|
+
}
|
|
14260
14264
|
|
|
14261
|
-
|
|
14262
|
-
|
|
14265
|
+
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
14266
|
+
|
|
14267
|
+
// please leave this for later debug purpose : Yong Jun.
|
|
14268
|
+
/* console.log('page change reported', {
|
|
14263
14269
|
currentPage: currentPage,
|
|
14264
14270
|
pageNumber: pageNumber,
|
|
14265
14271
|
pathname: pathname,
|
|
@@ -14267,15 +14273,16 @@ var MasterDeck = function (_React$Component) {
|
|
|
14267
14273
|
newPath: newPath,
|
|
14268
14274
|
firstPage: pageNumber === 1,
|
|
14269
14275
|
queryString: queryString
|
|
14270
|
-
|
|
14276
|
+
}) */
|
|
14271
14277
|
|
|
14278
|
+
if (pageview) {
|
|
14272
14279
|
pageview(newPath);
|
|
14280
|
+
}
|
|
14273
14281
|
|
|
14274
|
-
|
|
14275
|
-
|
|
14276
|
-
});
|
|
14282
|
+
router.push(pathname, newPath, {
|
|
14283
|
+
shallow: true
|
|
14277
14284
|
});
|
|
14278
|
-
}
|
|
14285
|
+
});
|
|
14279
14286
|
}
|
|
14280
14287
|
}
|
|
14281
14288
|
}, _this.renderAuthor = function (authorDetail, index$$1, length) {
|