@mjhls/mjh-framework 1.0.248 → 1.0.250
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 +171 -171
- package/dist/cjs/{AdSlot-c472fff6.js → AdSlot-58638d45.js} +26 -34
- package/dist/cjs/DeckContent.js +10 -10
- package/dist/cjs/DeckQueue.js +1 -1
- package/dist/cjs/{GridContent-463c504f.js → GridContent-85c7b623.js} +3 -3
- package/dist/cjs/GridContent.js +3 -3
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueDeck.js +1 -1
- package/dist/cjs/MasterDeck.js +9 -9
- package/dist/cjs/{Normal-18cef899.js → Normal-77dfd44a.js} +30 -30
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/QueueDeckExpanded.js +1 -1
- package/dist/cjs/{TaxonomyCard-e3566492.js → TaxonomyCard-b5074d6e.js} +1 -1
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TemplateNormal.js +2 -2
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/VideoSeriesListing.js +1 -1
- package/dist/cjs/{YoutubeGroup-5f480446.js → YoutubeGroup-fd44f8a0.js} +4 -4
- package/dist/cjs/YoutubeGroup.js +1 -1
- package/dist/cjs/{index-be0c82be.js → index-39beccb3.js} +2 -1
- package/dist/cjs/index.js +591 -601
- package/dist/esm/{AdSlot-bdd7a629.js → AdSlot-1e5a6a2f.js} +26 -34
- package/dist/esm/DeckContent.js +10 -10
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/{GridContent-2a48fb19.js → GridContent-0ee59a38.js} +2 -2
- package/dist/esm/GridContent.js +3 -3
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/MasterDeck.js +9 -9
- package/dist/esm/{Normal-4c82c9c2.js → Normal-48ff37c3.js} +30 -30
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/QueueDeckExpanded.js +1 -1
- package/dist/esm/{TaxonomyCard-2d0ab635.js → TaxonomyCard-ee1a22ae.js} +1 -1
- package/dist/esm/TaxonomyCard.js +2 -2
- package/dist/esm/TemplateNormal.js +2 -2
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/{YoutubeGroup-78d93d44.js → YoutubeGroup-1b3eca73.js} +4 -4
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/{index-73819142.js → index-3849e3fe.js} +2 -1
- package/dist/esm/index.js +595 -605
- package/package.json +102 -103
package/README.md
CHANGED
|
@@ -1,171 +1,171 @@
|
|
|
1
|
-
|
|
2
|
-
# mjh-framework v. 1.0.
|
|
3
|
-
|
|
4
|
-
> Foundation Framework
|
|
5
|
-
|
|
6
|
-
[](https://www.npmjs.com/package/mjh-framework) [](https://standardjs.com)
|
|
7
|
-
|
|
8
|
-
## Install
|
|
9
|
-
|
|
10
|
-
```bash
|
|
11
|
-
npm install --save @mjhls/mjh-framework
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## Usage
|
|
15
|
-
|
|
16
|
-
```jsx
|
|
17
|
-
import React, { Component } from 'react'
|
|
18
|
-
|
|
19
|
-
import { NavMagazine, DeckQueue } from 'mjh-framework'
|
|
20
|
-
|
|
21
|
-
export default class App extends Component {
|
|
22
|
-
render() {
|
|
23
|
-
return (
|
|
24
|
-
<div>
|
|
25
|
-
<NavMagazine />
|
|
26
|
-
<DeckQueue />
|
|
27
|
-
</div>
|
|
28
|
-
)
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## Publish new updates to the npm registry
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
npm publish
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## For getting updates in the template without publishing each time a change is made in the framework
|
|
40
|
-
|
|
41
|
-
Link react and react-dom of the template repo, so that it can be used by the framework.
|
|
42
|
-
This is to avoid the error arising due to multiple instances of React.
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
cd ../mjh-template/node_modules/react
|
|
46
|
-
|
|
47
|
-
yarn link
|
|
48
|
-
|
|
49
|
-
cd ../react-dom
|
|
50
|
-
|
|
51
|
-
yarn link
|
|
52
|
-
|
|
53
|
-
cd ../../../mjh-framework
|
|
54
|
-
|
|
55
|
-
yarn link react && yarn link react-dom
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
Link the framework repo so that it can be used in the template
|
|
59
|
-
|
|
60
|
-
```bash
|
|
61
|
-
npm link
|
|
62
|
-
|
|
63
|
-
cd ../mjh-template
|
|
64
|
-
|
|
65
|
-
npm link @mjhls/mjh-framework
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
## Components and "props"
|
|
69
|
-
|
|
70
|
-
### Deck Components
|
|
71
|
-
|
|
72
|
-
- #### DeckContent
|
|
73
|
-
|
|
74
|
-
##### Props
|
|
75
|
-
|
|
76
|
-
- mapping
|
|
77
|
-
- dataRecord
|
|
78
|
-
- query
|
|
79
|
-
- params
|
|
80
|
-
- pointer
|
|
81
|
-
- pointerArray
|
|
82
|
-
- defaultImage
|
|
83
|
-
|
|
84
|
-
- #### DeckQueue
|
|
85
|
-
##### Props
|
|
86
|
-
- page
|
|
87
|
-
- dataRecord
|
|
88
|
-
- query
|
|
89
|
-
- params
|
|
90
|
-
- pointer
|
|
91
|
-
- pointerArray
|
|
92
|
-
|
|
93
|
-
### Layout Components
|
|
94
|
-
|
|
95
|
-
- #### Column1
|
|
96
|
-
- #### Column2
|
|
97
|
-
##### Props
|
|
98
|
-
- rightItems
|
|
99
|
-
- #### Column3
|
|
100
|
-
##### Props
|
|
101
|
-
- leftItems
|
|
102
|
-
- rightItems
|
|
103
|
-
##### Common Props (Column1, Column2, Column3)
|
|
104
|
-
- title
|
|
105
|
-
- children
|
|
106
|
-
- #### Header
|
|
107
|
-
##### Props
|
|
108
|
-
- title
|
|
109
|
-
- keyword
|
|
110
|
-
- description
|
|
111
|
-
- #### LeftNav
|
|
112
|
-
##### Props
|
|
113
|
-
- leftItems
|
|
114
|
-
- #### AccordionPanel
|
|
115
|
-
##### Props
|
|
116
|
-
- accordionClassName
|
|
117
|
-
- data
|
|
118
|
-
|
|
119
|
-
### Navigation Components
|
|
120
|
-
|
|
121
|
-
- #### NavMagazine
|
|
122
|
-
##### Props
|
|
123
|
-
- logo
|
|
124
|
-
- dataObject
|
|
125
|
-
- #### NavNative
|
|
126
|
-
##### Props
|
|
127
|
-
- logo
|
|
128
|
-
- dataObject
|
|
129
|
-
- #### NavNormal
|
|
130
|
-
##### Props
|
|
131
|
-
- logo
|
|
132
|
-
- dataObject
|
|
133
|
-
- variant
|
|
134
|
-
- #### NavDvm
|
|
135
|
-
##### Props
|
|
136
|
-
- logo
|
|
137
|
-
- dataObject
|
|
138
|
-
- subNavHeads
|
|
139
|
-
|
|
140
|
-
### Template Components
|
|
141
|
-
|
|
142
|
-
- #### TemplateNormal
|
|
143
|
-
##### Props
|
|
144
|
-
- config
|
|
145
|
-
- title
|
|
146
|
-
- keywords
|
|
147
|
-
- description
|
|
148
|
-
- website
|
|
149
|
-
|
|
150
|
-
### Ad Components
|
|
151
|
-
|
|
152
|
-
- #### AD300x250
|
|
153
|
-
- #### AD300x250x600
|
|
154
|
-
- #### AD728x90
|
|
155
|
-
##### Common Props
|
|
156
|
-
- networkID
|
|
157
|
-
- adUnit
|
|
158
|
-
|
|
159
|
-
### Serializers
|
|
160
|
-
|
|
161
|
-
- #### getSerializers (function)
|
|
162
|
-
##### arguments
|
|
163
|
-
- client
|
|
164
|
-
##### types
|
|
165
|
-
- youtube
|
|
166
|
-
- figure
|
|
167
|
-
- slideshow
|
|
168
|
-
|
|
169
|
-
## License
|
|
170
|
-
|
|
171
|
-
MIT © [mjh-framework](https://github.com/mjh-framework)
|
|
1
|
+
|
|
2
|
+
# mjh-framework v. 1.0.250
|
|
3
|
+
|
|
4
|
+
> Foundation Framework
|
|
5
|
+
|
|
6
|
+
[](https://www.npmjs.com/package/mjh-framework) [](https://standardjs.com)
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install --save @mjhls/mjh-framework
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```jsx
|
|
17
|
+
import React, { Component } from 'react'
|
|
18
|
+
|
|
19
|
+
import { NavMagazine, DeckQueue } from 'mjh-framework'
|
|
20
|
+
|
|
21
|
+
export default class App extends Component {
|
|
22
|
+
render() {
|
|
23
|
+
return (
|
|
24
|
+
<div>
|
|
25
|
+
<NavMagazine />
|
|
26
|
+
<DeckQueue />
|
|
27
|
+
</div>
|
|
28
|
+
)
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Publish new updates to the npm registry
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npm publish
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## For getting updates in the template without publishing each time a change is made in the framework
|
|
40
|
+
|
|
41
|
+
Link react and react-dom of the template repo, so that it can be used by the framework.
|
|
42
|
+
This is to avoid the error arising due to multiple instances of React.
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
cd ../mjh-template/node_modules/react
|
|
46
|
+
|
|
47
|
+
yarn link
|
|
48
|
+
|
|
49
|
+
cd ../react-dom
|
|
50
|
+
|
|
51
|
+
yarn link
|
|
52
|
+
|
|
53
|
+
cd ../../../mjh-framework
|
|
54
|
+
|
|
55
|
+
yarn link react && yarn link react-dom
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Link the framework repo so that it can be used in the template
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
npm link
|
|
62
|
+
|
|
63
|
+
cd ../mjh-template
|
|
64
|
+
|
|
65
|
+
npm link @mjhls/mjh-framework
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Components and "props"
|
|
69
|
+
|
|
70
|
+
### Deck Components
|
|
71
|
+
|
|
72
|
+
- #### DeckContent
|
|
73
|
+
|
|
74
|
+
##### Props
|
|
75
|
+
|
|
76
|
+
- mapping
|
|
77
|
+
- dataRecord
|
|
78
|
+
- query
|
|
79
|
+
- params
|
|
80
|
+
- pointer
|
|
81
|
+
- pointerArray
|
|
82
|
+
- defaultImage
|
|
83
|
+
|
|
84
|
+
- #### DeckQueue
|
|
85
|
+
##### Props
|
|
86
|
+
- page
|
|
87
|
+
- dataRecord
|
|
88
|
+
- query
|
|
89
|
+
- params
|
|
90
|
+
- pointer
|
|
91
|
+
- pointerArray
|
|
92
|
+
|
|
93
|
+
### Layout Components
|
|
94
|
+
|
|
95
|
+
- #### Column1
|
|
96
|
+
- #### Column2
|
|
97
|
+
##### Props
|
|
98
|
+
- rightItems
|
|
99
|
+
- #### Column3
|
|
100
|
+
##### Props
|
|
101
|
+
- leftItems
|
|
102
|
+
- rightItems
|
|
103
|
+
##### Common Props (Column1, Column2, Column3)
|
|
104
|
+
- title
|
|
105
|
+
- children
|
|
106
|
+
- #### Header
|
|
107
|
+
##### Props
|
|
108
|
+
- title
|
|
109
|
+
- keyword
|
|
110
|
+
- description
|
|
111
|
+
- #### LeftNav
|
|
112
|
+
##### Props
|
|
113
|
+
- leftItems
|
|
114
|
+
- #### AccordionPanel
|
|
115
|
+
##### Props
|
|
116
|
+
- accordionClassName
|
|
117
|
+
- data
|
|
118
|
+
|
|
119
|
+
### Navigation Components
|
|
120
|
+
|
|
121
|
+
- #### NavMagazine
|
|
122
|
+
##### Props
|
|
123
|
+
- logo
|
|
124
|
+
- dataObject
|
|
125
|
+
- #### NavNative
|
|
126
|
+
##### Props
|
|
127
|
+
- logo
|
|
128
|
+
- dataObject
|
|
129
|
+
- #### NavNormal
|
|
130
|
+
##### Props
|
|
131
|
+
- logo
|
|
132
|
+
- dataObject
|
|
133
|
+
- variant
|
|
134
|
+
- #### NavDvm
|
|
135
|
+
##### Props
|
|
136
|
+
- logo
|
|
137
|
+
- dataObject
|
|
138
|
+
- subNavHeads
|
|
139
|
+
|
|
140
|
+
### Template Components
|
|
141
|
+
|
|
142
|
+
- #### TemplateNormal
|
|
143
|
+
##### Props
|
|
144
|
+
- config
|
|
145
|
+
- title
|
|
146
|
+
- keywords
|
|
147
|
+
- description
|
|
148
|
+
- website
|
|
149
|
+
|
|
150
|
+
### Ad Components
|
|
151
|
+
|
|
152
|
+
- #### AD300x250
|
|
153
|
+
- #### AD300x250x600
|
|
154
|
+
- #### AD728x90
|
|
155
|
+
##### Common Props
|
|
156
|
+
- networkID
|
|
157
|
+
- adUnit
|
|
158
|
+
|
|
159
|
+
### Serializers
|
|
160
|
+
|
|
161
|
+
- #### getSerializers (function)
|
|
162
|
+
##### arguments
|
|
163
|
+
- client
|
|
164
|
+
##### types
|
|
165
|
+
- youtube
|
|
166
|
+
- figure
|
|
167
|
+
- slideshow
|
|
168
|
+
|
|
169
|
+
## License
|
|
170
|
+
|
|
171
|
+
MIT © [mjh-framework](https://github.com/mjh-framework)
|
|
@@ -831,21 +831,6 @@ exports.default = function (fn) {
|
|
|
831
831
|
|
|
832
832
|
var _asyncToGenerator = _commonjsHelpers.unwrapExports(asyncToGenerator);
|
|
833
833
|
|
|
834
|
-
var faunadb = require('faunadb');
|
|
835
|
-
|
|
836
|
-
var _require = require('faunadb'),
|
|
837
|
-
q = _require.query;
|
|
838
|
-
|
|
839
|
-
var shortid = require('shortid');
|
|
840
|
-
var moment = require('moment');
|
|
841
|
-
var cookie = require('react-cookies'); // client side cookie handler
|
|
842
|
-
|
|
843
|
-
var _require2 = require('cookie'),
|
|
844
|
-
serialize = _require2.serialize; // cookie serializer
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
var serverCookies = require('next-cookies'); // server side cookie handler
|
|
848
|
-
var request = require('superagent');
|
|
849
834
|
require("babel-polyfill");
|
|
850
835
|
// server key for beam
|
|
851
836
|
// fnADs4Gtx6ACEgKgwlNo-eNSIrdwykH9Zj74GsDI
|
|
@@ -939,7 +924,11 @@ var Beam = {
|
|
|
939
924
|
switch (_context.prev = _context.next) {
|
|
940
925
|
case 0:
|
|
941
926
|
beam = _this.get_beam(deviceType);
|
|
942
|
-
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
console.log('Call Beam', action, beam);
|
|
930
|
+
|
|
931
|
+
_context.next = 4;
|
|
943
932
|
return fetch(beam_domain + '/api/beam/event', {
|
|
944
933
|
headers: {
|
|
945
934
|
'Content-Type': 'application/json',
|
|
@@ -954,19 +943,19 @@ var Beam = {
|
|
|
954
943
|
})
|
|
955
944
|
});
|
|
956
945
|
|
|
957
|
-
case
|
|
946
|
+
case 4:
|
|
958
947
|
response = _context.sent;
|
|
959
|
-
_context.next =
|
|
948
|
+
_context.next = 7;
|
|
960
949
|
return response.json();
|
|
961
950
|
|
|
962
|
-
case
|
|
951
|
+
case 7:
|
|
963
952
|
res = _context.sent;
|
|
964
953
|
|
|
965
954
|
if (res.error) {
|
|
966
955
|
console.error('Beam reporting error:', res.error);
|
|
967
956
|
}
|
|
968
957
|
|
|
969
|
-
case
|
|
958
|
+
case 9:
|
|
970
959
|
case 'end':
|
|
971
960
|
return _context.stop();
|
|
972
961
|
}
|
|
@@ -992,7 +981,9 @@ var Beam = {
|
|
|
992
981
|
data.size = adSize;
|
|
993
982
|
data.slotId = slotId;
|
|
994
983
|
|
|
995
|
-
|
|
984
|
+
console.log('Call DFP', action, data);
|
|
985
|
+
|
|
986
|
+
_context2.next = 10;
|
|
996
987
|
return fetch(beam_domain + '/api/beam/ad', {
|
|
997
988
|
headers: {
|
|
998
989
|
'Content-Type': 'application/json',
|
|
@@ -1008,19 +999,19 @@ var Beam = {
|
|
|
1008
999
|
})
|
|
1009
1000
|
});
|
|
1010
1001
|
|
|
1011
|
-
case
|
|
1002
|
+
case 10:
|
|
1012
1003
|
response = _context2.sent;
|
|
1013
|
-
_context2.next =
|
|
1004
|
+
_context2.next = 13;
|
|
1014
1005
|
return response.json();
|
|
1015
1006
|
|
|
1016
|
-
case
|
|
1007
|
+
case 13:
|
|
1017
1008
|
res = _context2.sent;
|
|
1018
1009
|
|
|
1019
1010
|
if (res.error) {
|
|
1020
|
-
console.error('
|
|
1011
|
+
console.error('DFP reporting error:', res.error);
|
|
1021
1012
|
}
|
|
1022
1013
|
|
|
1023
|
-
case
|
|
1014
|
+
case 15:
|
|
1024
1015
|
case 'end':
|
|
1025
1016
|
return _context2.stop();
|
|
1026
1017
|
}
|
|
@@ -1045,7 +1036,9 @@ var Beam = {
|
|
|
1045
1036
|
data.segment = segment;
|
|
1046
1037
|
data.current = current;
|
|
1047
1038
|
|
|
1048
|
-
|
|
1039
|
+
console.log('Call YouTube', action, data);
|
|
1040
|
+
|
|
1041
|
+
_context3.next = 9;
|
|
1049
1042
|
return fetch(beam_domain + '/api/beam/video', {
|
|
1050
1043
|
headers: {
|
|
1051
1044
|
'Content-Type': 'application/json',
|
|
@@ -1054,26 +1047,26 @@ var Beam = {
|
|
|
1054
1047
|
method: 'post',
|
|
1055
1048
|
credentials: "include",
|
|
1056
1049
|
body: _JSON$stringify({
|
|
1057
|
-
event: '
|
|
1050
|
+
event: 'Video',
|
|
1058
1051
|
action: action,
|
|
1059
1052
|
beam: _JSON$stringify(beam),
|
|
1060
1053
|
data: _JSON$stringify(data)
|
|
1061
1054
|
})
|
|
1062
1055
|
});
|
|
1063
1056
|
|
|
1064
|
-
case
|
|
1057
|
+
case 9:
|
|
1065
1058
|
response = _context3.sent;
|
|
1066
|
-
_context3.next =
|
|
1059
|
+
_context3.next = 12;
|
|
1067
1060
|
return response.json();
|
|
1068
1061
|
|
|
1069
|
-
case
|
|
1062
|
+
case 12:
|
|
1070
1063
|
res = _context3.sent;
|
|
1071
1064
|
|
|
1072
1065
|
if (res.error) {
|
|
1073
|
-
console.error('
|
|
1066
|
+
console.error('Video reporting error:', res.error);
|
|
1074
1067
|
}
|
|
1075
1068
|
|
|
1076
|
-
case
|
|
1069
|
+
case 14:
|
|
1077
1070
|
case 'end':
|
|
1078
1071
|
return _context3.stop();
|
|
1079
1072
|
}
|
|
@@ -1159,7 +1152,6 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
|
1159
1152
|
|
|
1160
1153
|
var hasFocus = slot_div.getAttribute('hasFocus');
|
|
1161
1154
|
if (hasFocus == 'yes' && document.hidden) {
|
|
1162
|
-
console.log('AD Clicked:', eventData.slotId);
|
|
1163
1155
|
slot_div.setAttribute('hasFocus', 'no');
|
|
1164
1156
|
Beam.report_beam_ad('Click', main.main_16, cID, lID, campID, adSize, slotId);
|
|
1165
1157
|
}
|
package/dist/cjs/DeckContent.js
CHANGED
|
@@ -24,11 +24,11 @@ require('next/link');
|
|
|
24
24
|
var Router = require('next/router');
|
|
25
25
|
var Router__default = _interopDefault(Router);
|
|
26
26
|
require('react-dom');
|
|
27
|
-
var index$1 = require('./index-
|
|
27
|
+
var index$1 = require('./index-39beccb3.js');
|
|
28
28
|
var index$2 = require('./index-fa0fb52c.js');
|
|
29
29
|
var entities = require('./entities-310b46ee.js');
|
|
30
30
|
require('./slicedToArray-e38fb29d.js');
|
|
31
|
-
var AdSlot = require('./AdSlot-
|
|
31
|
+
var AdSlot = require('./AdSlot-58638d45.js');
|
|
32
32
|
require('./promise-b96c61f8.js');
|
|
33
33
|
|
|
34
34
|
var DeckContent = function (_React$Component) {
|
|
@@ -170,14 +170,14 @@ var DeckContent = function (_React$Component) {
|
|
|
170
170
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
171
171
|
|
|
172
172
|
// please leave this for later debug purpose : Yong Jun.
|
|
173
|
-
/* console.log('page change reported', {
|
|
174
|
-
currentPage: currentPage,
|
|
175
|
-
pageNumber: pageNumber,
|
|
176
|
-
pathname: pathname,
|
|
177
|
-
path: path,
|
|
178
|
-
newPath: newPath,
|
|
179
|
-
firstPage: pageNumber === 1,
|
|
180
|
-
queryString: queryString
|
|
173
|
+
/* console.log('page change reported', {
|
|
174
|
+
currentPage: currentPage,
|
|
175
|
+
pageNumber: pageNumber,
|
|
176
|
+
pathname: pathname,
|
|
177
|
+
path: path,
|
|
178
|
+
newPath: newPath,
|
|
179
|
+
firstPage: pageNumber === 1,
|
|
180
|
+
queryString: queryString
|
|
181
181
|
}) */
|
|
182
182
|
|
|
183
183
|
if (pageview) {
|
package/dist/cjs/DeckQueue.js
CHANGED
|
@@ -24,7 +24,7 @@ require('next/link');
|
|
|
24
24
|
var Router = require('next/router');
|
|
25
25
|
var Router__default = _interopDefault(Router);
|
|
26
26
|
require('react-dom');
|
|
27
|
-
var index$1 = require('./index-
|
|
27
|
+
var index$1 = require('./index-39beccb3.js');
|
|
28
28
|
var index$2 = require('./index-fa0fb52c.js');
|
|
29
29
|
var entities = require('./entities-310b46ee.js');
|
|
30
30
|
var get$1 = require('./get-1f91592f.js');
|
|
@@ -18,14 +18,14 @@ var visibilitySensor = require('./visibility-sensor-b72d9527.js');
|
|
|
18
18
|
require('next/link');
|
|
19
19
|
var Router = require('next/router');
|
|
20
20
|
var Router__default = _interopDefault(Router);
|
|
21
|
-
var index$1 = require('./index-
|
|
21
|
+
var index$1 = require('./index-39beccb3.js');
|
|
22
22
|
var index$2 = require('./index-fa0fb52c.js');
|
|
23
23
|
var entities = require('./entities-310b46ee.js');
|
|
24
|
-
var AdSlot = require('./AdSlot-
|
|
24
|
+
var AdSlot = require('./AdSlot-58638d45.js');
|
|
25
25
|
var get$1 = require('./get-1f91592f.js');
|
|
26
26
|
|
|
27
27
|
var Dfp = React__default.lazy(function () {
|
|
28
|
-
return Promise
|
|
28
|
+
return new Promise(function (resolve) { resolve(require('./Dfp-7a5533f9.js')); });
|
|
29
29
|
});
|
|
30
30
|
|
|
31
31
|
var AD = function AD(props) {
|
package/dist/cjs/GridContent.js
CHANGED
|
@@ -20,14 +20,14 @@ require('./visibility-sensor-b72d9527.js');
|
|
|
20
20
|
require('next/link');
|
|
21
21
|
require('next/router');
|
|
22
22
|
require('react-dom');
|
|
23
|
-
require('./index-
|
|
23
|
+
require('./index-39beccb3.js');
|
|
24
24
|
require('./index-fa0fb52c.js');
|
|
25
25
|
require('./entities-310b46ee.js');
|
|
26
26
|
require('./slicedToArray-e38fb29d.js');
|
|
27
|
-
require('./AdSlot-
|
|
27
|
+
require('./AdSlot-58638d45.js');
|
|
28
28
|
require('./promise-b96c61f8.js');
|
|
29
29
|
require('./get-1f91592f.js');
|
|
30
|
-
var GridContent = require('./GridContent-
|
|
30
|
+
var GridContent = require('./GridContent-85c7b623.js');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
@@ -11,7 +11,7 @@ var Col = _interopDefault(require('react-bootstrap/Col'));
|
|
|
11
11
|
var Card = _interopDefault(require('react-bootstrap/Card'));
|
|
12
12
|
require('next/link');
|
|
13
13
|
require('react-dom');
|
|
14
|
-
var index$1 = require('./index-
|
|
14
|
+
var index$1 = require('./index-39beccb3.js');
|
|
15
15
|
var index$2 = require('./index-fa0fb52c.js');
|
|
16
16
|
var Badge = _interopDefault(require('react-bootstrap/Badge'));
|
|
17
17
|
|
package/dist/cjs/IssueDeck.js
CHANGED
|
@@ -11,7 +11,7 @@ var Col = _interopDefault(require('react-bootstrap/Col'));
|
|
|
11
11
|
var Card = _interopDefault(require('react-bootstrap/Card'));
|
|
12
12
|
require('next/link');
|
|
13
13
|
require('react-dom');
|
|
14
|
-
var index$1 = require('./index-
|
|
14
|
+
var index$1 = require('./index-39beccb3.js');
|
|
15
15
|
var index$2 = require('./index-fa0fb52c.js');
|
|
16
16
|
var Button = _interopDefault(require('react-bootstrap/Button'));
|
|
17
17
|
|
package/dist/cjs/MasterDeck.js
CHANGED
|
@@ -24,7 +24,7 @@ require('next/link');
|
|
|
24
24
|
var Router = require('next/router');
|
|
25
25
|
var Router__default = _interopDefault(Router);
|
|
26
26
|
require('react-dom');
|
|
27
|
-
require('./index-
|
|
27
|
+
require('./index-39beccb3.js');
|
|
28
28
|
var promise = require('./promise-b96c61f8.js');
|
|
29
29
|
|
|
30
30
|
var MasterDeck = function (_React$Component) {
|
|
@@ -170,14 +170,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
170
170
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
171
171
|
|
|
172
172
|
// please leave this for later debug purpose : Yong Jun.
|
|
173
|
-
/* console.log('page change reported', {
|
|
174
|
-
currentPage: currentPage,
|
|
175
|
-
pageNumber: pageNumber,
|
|
176
|
-
pathname: pathname,
|
|
177
|
-
path: path,
|
|
178
|
-
newPath: newPath,
|
|
179
|
-
firstPage: pageNumber === 1,
|
|
180
|
-
queryString: queryString
|
|
173
|
+
/* console.log('page change reported', {
|
|
174
|
+
currentPage: currentPage,
|
|
175
|
+
pageNumber: pageNumber,
|
|
176
|
+
pathname: pathname,
|
|
177
|
+
path: path,
|
|
178
|
+
newPath: newPath,
|
|
179
|
+
firstPage: pageNumber === 1,
|
|
180
|
+
queryString: queryString
|
|
181
181
|
}) */
|
|
182
182
|
|
|
183
183
|
if (pageview) {
|