gatsby-theme-q3 4.5.12 → 4.5.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/CHANGELOG.md +262 -245
  2. package/lib/components/AccountPublicGateway.js +0 -7
  3. package/lib/components/AdminLoader.js +0 -6
  4. package/lib/components/AdminPrivateGateway.js +1 -10
  5. package/lib/components/AdminPublicGateway.js +1 -10
  6. package/lib/components/AdminRouter.js +1 -11
  7. package/lib/components/BlogArchiveTemplate.js +0 -12
  8. package/lib/components/BlogTemplate.js +0 -22
  9. package/lib/components/FormBox.js +0 -6
  10. package/lib/components/FormBoxContent.js +0 -7
  11. package/lib/components/FormBoxNotice.js +0 -7
  12. package/lib/components/IsBrowserReady.js +0 -6
  13. package/lib/components/PageWrapper.js +0 -6
  14. package/lib/components/PublicTemplate.js +2 -17
  15. package/lib/components/Redirect.js +0 -6
  16. package/lib/components/RedirectToIndex.js +0 -6
  17. package/lib/components/RichText.js +0 -26
  18. package/lib/components/SearchEngine.js +0 -18
  19. package/lib/components/ShareButton.js +0 -16
  20. package/lib/components/Wrapper.js +1 -6
  21. package/lib/components/__tests__/SearchEngine.test.js +0 -1
  22. package/lib/components/__tests__/withAuthenticate.test.js +0 -11
  23. package/lib/components/__tests__/withSuccessOp.test.js +0 -7
  24. package/lib/components/index.js +0 -16
  25. package/lib/components/useSiteMetaData.js +0 -6
  26. package/lib/components/utils.js +0 -11
  27. package/lib/components/withAuthenticate.js +1 -10
  28. package/lib/components/withPublicTemplate.js +0 -5
  29. package/lib/components/withSuccessOp.js +1 -13
  30. package/lib/pages/404.js +0 -9
  31. package/lib/pages/login.js +0 -14
  32. package/lib/pages/password-change.js +0 -15
  33. package/lib/pages/password-reset.js +0 -11
  34. package/lib/pages/reverify.js +0 -15
  35. package/lib/pages/verify.js +0 -14
  36. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [4.5.12](https://github.com/3merge/q/compare/v4.5.11...v4.5.12) (2023-02-21)
6
+ ## [4.5.14](https://github.com/3merge/q/compare/v4.5.13...v4.5.14) (2023-02-22)
7
7
 
8
8
  **Note:** Version bump only for package gatsby-theme-q3
9
9
 
@@ -11,250 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- ## [4.5.11](https://github.com/3merge/q/compare/v4.5.10...v4.5.11) (2023-02-21)
15
-
16
- **Note:** Version bump only for package gatsby-theme-q3
17
-
18
-
19
-
20
-
21
-
22
- ## [4.5.10](https://github.com/3merge/q/compare/v4.5.9...v4.5.10) (2023-02-15)
23
-
24
- **Note:** Version bump only for package gatsby-theme-q3
25
-
26
-
27
-
28
-
29
-
30
- ## [4.5.4](https://github.com/3merge/q/compare/v4.5.3...v4.5.4) (2023-02-06)
31
-
32
- **Note:** Version bump only for package gatsby-theme-q3
33
-
34
-
35
-
36
-
37
-
38
- ## [4.4.9](https://github.com/3merge/q/compare/v4.4.8...v4.4.9) (2023-01-11)
39
-
40
- **Note:** Version bump only for package gatsby-theme-q3
41
-
42
-
43
-
44
-
45
-
46
- ## [4.4.8](https://github.com/3merge/q/compare/v4.4.7...v4.4.8) (2023-01-10)
47
-
48
- **Note:** Version bump only for package gatsby-theme-q3
49
-
50
-
51
-
52
-
53
-
54
- ## [4.4.4](https://github.com/3merge/q/compare/v4.4.3...v4.4.4) (2022-12-16)
55
-
56
- **Note:** Version bump only for package gatsby-theme-q3
57
-
58
-
59
-
60
-
61
-
62
- # [4.4.0](https://github.com/3merge/q/compare/v4.3.2...v4.4.0) (2022-12-15)
63
-
64
- **Note:** Version bump only for package gatsby-theme-q3
65
-
66
-
67
-
68
-
69
-
70
- ## [4.3.2](https://github.com/3merge/q/compare/v4.3.1...v4.3.2) (2022-12-07)
71
-
72
- **Note:** Version bump only for package gatsby-theme-q3
73
-
74
-
75
-
76
-
77
-
78
- ## [4.3.1](https://github.com/3merge/q/compare/v4.3.0...v4.3.1) (2022-12-07)
79
-
80
- **Note:** Version bump only for package gatsby-theme-q3
81
-
82
-
83
-
84
-
85
-
86
- ## [4.2.2](https://github.com/3merge/q/compare/v4.2.1...v4.2.2) (2022-11-30)
87
-
88
- **Note:** Version bump only for package gatsby-theme-q3
89
-
90
-
91
-
92
-
93
-
94
- # [4.2.0](https://github.com/3merge/q/compare/v4.1.0...v4.2.0) (2022-11-29)
95
-
96
- **Note:** Version bump only for package gatsby-theme-q3
97
-
98
-
99
-
100
-
101
-
102
- ## [4.0.20](https://github.com/3merge/q/compare/v4.0.19...v4.0.20) (2022-11-25)
103
-
104
- **Note:** Version bump only for package gatsby-theme-q3
105
-
106
-
107
-
108
-
109
-
110
- ## [4.0.5](https://github.com/3merge/q/compare/v4.0.4...v4.0.5) (2022-11-16)
111
-
112
- **Note:** Version bump only for package gatsby-theme-q3
113
-
114
-
115
-
116
-
117
-
118
- ## [4.0.3](https://github.com/3merge/q/compare/v4.0.2...v4.0.3) (2022-11-16)
119
-
120
- **Note:** Version bump only for package gatsby-theme-q3
121
-
122
-
123
-
124
-
125
-
126
- ## [4.0.1](https://github.com/3merge/q/compare/v4.0.0...v4.0.1) (2022-11-15)
127
-
128
- **Note:** Version bump only for package gatsby-theme-q3
129
-
130
-
131
-
132
-
133
-
134
- # [4.0.0](https://github.com/3merge/q/compare/v3.16.5...v4.0.0) (2022-11-15)
135
-
136
- **Note:** Version bump only for package gatsby-theme-q3
137
-
138
-
139
-
140
-
141
-
142
- ## [3.16.4](https://github.com/3merge/q/compare/v3.16.3...v3.16.4) (2022-11-04)
143
-
144
- **Note:** Version bump only for package gatsby-theme-q3
145
-
146
-
147
-
148
-
149
-
150
- # [3.16.0](https://github.com/3merge/q/compare/v3.15.4...v3.16.0) (2022-11-03)
151
-
152
- **Note:** Version bump only for package gatsby-theme-q3
153
-
154
-
155
-
156
-
157
-
158
- ## [3.15.4](https://github.com/3merge/q/compare/v3.15.3...v3.15.4) (2022-11-01)
159
-
160
- **Note:** Version bump only for package gatsby-theme-q3
161
-
162
-
163
-
164
-
165
-
166
- ## [3.14.3](https://github.com/3merge/q/compare/v3.14.2...v3.14.3) (2022-10-27)
167
-
168
- **Note:** Version bump only for package gatsby-theme-q3
169
-
170
-
171
-
172
-
173
-
174
- ## [3.14.1](https://github.com/3merge/q/compare/v3.14.0...v3.14.1) (2022-10-26)
175
-
176
- **Note:** Version bump only for package gatsby-theme-q3
177
-
178
-
179
-
180
-
181
-
182
- ## [3.13.1](https://github.com/3merge/q/compare/v3.13.0...v3.13.1) (2022-10-25)
183
-
184
- **Note:** Version bump only for package gatsby-theme-q3
185
-
186
-
187
-
188
-
189
-
190
- # [3.13.0](https://github.com/3merge/q/compare/v3.12.0...v3.13.0) (2022-10-24)
191
-
192
- **Note:** Version bump only for package gatsby-theme-q3
193
-
194
-
195
-
196
-
197
-
198
- # [3.11.0](https://github.com/3merge/q/compare/v3.10.11...v3.11.0) (2022-10-13)
199
-
200
-
201
- ### Features
202
-
203
- * login public notice ([#433](https://github.com/3merge/q/issues/433)) ([8cf9a38](https://github.com/3merge/q/commit/8cf9a38f8bfc1cd5ee5b66b529d0b3bd6ff7bbe1))
204
-
205
-
206
-
207
-
208
-
209
- ## [3.10.11](https://github.com/3merge/q/compare/v3.10.10...v3.10.11) (2022-10-11)
210
-
211
- **Note:** Version bump only for package gatsby-theme-q3
212
-
213
-
214
-
215
-
216
-
217
- ## [3.10.8](https://github.com/3merge/q/compare/v3.10.7...v3.10.8) (2022-10-04)
218
-
219
- **Note:** Version bump only for package gatsby-theme-q3
220
-
221
-
222
-
223
-
224
-
225
- ## [3.10.7](https://github.com/3merge/q/compare/v3.10.6...v3.10.7) (2022-10-04)
226
-
227
- **Note:** Version bump only for package gatsby-theme-q3
228
-
229
-
230
-
231
-
232
-
233
- ## [3.10.4](https://github.com/3merge/q/compare/v3.10.3...v3.10.4) (2022-09-29)
234
-
235
- **Note:** Version bump only for package gatsby-theme-q3
236
-
237
-
238
-
239
-
240
-
241
- # [3.10.0](https://github.com/3merge/q/compare/v3.9.1...v3.10.0) (2022-09-27)
242
-
243
- **Note:** Version bump only for package gatsby-theme-q3
244
-
245
-
246
-
247
-
248
-
249
- ## [3.9.1](https://github.com/3merge/q/compare/v3.9.0...v3.9.1) (2022-09-01)
250
-
251
- **Note:** Version bump only for package gatsby-theme-q3
252
-
253
-
254
-
255
-
256
-
257
- # [3.9.0](https://github.com/3merge/q/compare/v3.8.22...v3.9.0) (2022-09-01)
14
+ ## [4.5.13](https://github.com/3merge/q/compare/v4.5.12...v4.5.13) (2023-02-22)
258
15
 
259
16
  **Note:** Version bump only for package gatsby-theme-q3
260
17
 
@@ -263,6 +20,266 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
263
20
 
264
21
 
265
22
 
23
+ ## [4.5.12](https://github.com/3merge/q/compare/v4.5.11...v4.5.12) (2023-02-21)
24
+
25
+ **Note:** Version bump only for package gatsby-theme-q3
26
+
27
+
28
+
29
+
30
+
31
+ ## [4.5.11](https://github.com/3merge/q/compare/v4.5.10...v4.5.11) (2023-02-21)
32
+
33
+ **Note:** Version bump only for package gatsby-theme-q3
34
+
35
+
36
+
37
+
38
+
39
+ ## [4.5.10](https://github.com/3merge/q/compare/v4.5.9...v4.5.10) (2023-02-15)
40
+
41
+ **Note:** Version bump only for package gatsby-theme-q3
42
+
43
+
44
+
45
+
46
+
47
+ ## [4.5.4](https://github.com/3merge/q/compare/v4.5.3...v4.5.4) (2023-02-06)
48
+
49
+ **Note:** Version bump only for package gatsby-theme-q3
50
+
51
+
52
+
53
+
54
+
55
+ ## [4.4.9](https://github.com/3merge/q/compare/v4.4.8...v4.4.9) (2023-01-11)
56
+
57
+ **Note:** Version bump only for package gatsby-theme-q3
58
+
59
+
60
+
61
+
62
+
63
+ ## [4.4.8](https://github.com/3merge/q/compare/v4.4.7...v4.4.8) (2023-01-10)
64
+
65
+ **Note:** Version bump only for package gatsby-theme-q3
66
+
67
+
68
+
69
+
70
+
71
+ ## [4.4.4](https://github.com/3merge/q/compare/v4.4.3...v4.4.4) (2022-12-16)
72
+
73
+ **Note:** Version bump only for package gatsby-theme-q3
74
+
75
+
76
+
77
+
78
+
79
+ # [4.4.0](https://github.com/3merge/q/compare/v4.3.2...v4.4.0) (2022-12-15)
80
+
81
+ **Note:** Version bump only for package gatsby-theme-q3
82
+
83
+
84
+
85
+
86
+
87
+ ## [4.3.2](https://github.com/3merge/q/compare/v4.3.1...v4.3.2) (2022-12-07)
88
+
89
+ **Note:** Version bump only for package gatsby-theme-q3
90
+
91
+
92
+
93
+
94
+
95
+ ## [4.3.1](https://github.com/3merge/q/compare/v4.3.0...v4.3.1) (2022-12-07)
96
+
97
+ **Note:** Version bump only for package gatsby-theme-q3
98
+
99
+
100
+
101
+
102
+
103
+ ## [4.2.2](https://github.com/3merge/q/compare/v4.2.1...v4.2.2) (2022-11-30)
104
+
105
+ **Note:** Version bump only for package gatsby-theme-q3
106
+
107
+
108
+
109
+
110
+
111
+ # [4.2.0](https://github.com/3merge/q/compare/v4.1.0...v4.2.0) (2022-11-29)
112
+
113
+ **Note:** Version bump only for package gatsby-theme-q3
114
+
115
+
116
+
117
+
118
+
119
+ ## [4.0.20](https://github.com/3merge/q/compare/v4.0.19...v4.0.20) (2022-11-25)
120
+
121
+ **Note:** Version bump only for package gatsby-theme-q3
122
+
123
+
124
+
125
+
126
+
127
+ ## [4.0.5](https://github.com/3merge/q/compare/v4.0.4...v4.0.5) (2022-11-16)
128
+
129
+ **Note:** Version bump only for package gatsby-theme-q3
130
+
131
+
132
+
133
+
134
+
135
+ ## [4.0.3](https://github.com/3merge/q/compare/v4.0.2...v4.0.3) (2022-11-16)
136
+
137
+ **Note:** Version bump only for package gatsby-theme-q3
138
+
139
+
140
+
141
+
142
+
143
+ ## [4.0.1](https://github.com/3merge/q/compare/v4.0.0...v4.0.1) (2022-11-15)
144
+
145
+ **Note:** Version bump only for package gatsby-theme-q3
146
+
147
+
148
+
149
+
150
+
151
+ # [4.0.0](https://github.com/3merge/q/compare/v3.16.5...v4.0.0) (2022-11-15)
152
+
153
+ **Note:** Version bump only for package gatsby-theme-q3
154
+
155
+
156
+
157
+
158
+
159
+ ## [3.16.4](https://github.com/3merge/q/compare/v3.16.3...v3.16.4) (2022-11-04)
160
+
161
+ **Note:** Version bump only for package gatsby-theme-q3
162
+
163
+
164
+
165
+
166
+
167
+ # [3.16.0](https://github.com/3merge/q/compare/v3.15.4...v3.16.0) (2022-11-03)
168
+
169
+ **Note:** Version bump only for package gatsby-theme-q3
170
+
171
+
172
+
173
+
174
+
175
+ ## [3.15.4](https://github.com/3merge/q/compare/v3.15.3...v3.15.4) (2022-11-01)
176
+
177
+ **Note:** Version bump only for package gatsby-theme-q3
178
+
179
+
180
+
181
+
182
+
183
+ ## [3.14.3](https://github.com/3merge/q/compare/v3.14.2...v3.14.3) (2022-10-27)
184
+
185
+ **Note:** Version bump only for package gatsby-theme-q3
186
+
187
+
188
+
189
+
190
+
191
+ ## [3.14.1](https://github.com/3merge/q/compare/v3.14.0...v3.14.1) (2022-10-26)
192
+
193
+ **Note:** Version bump only for package gatsby-theme-q3
194
+
195
+
196
+
197
+
198
+
199
+ ## [3.13.1](https://github.com/3merge/q/compare/v3.13.0...v3.13.1) (2022-10-25)
200
+
201
+ **Note:** Version bump only for package gatsby-theme-q3
202
+
203
+
204
+
205
+
206
+
207
+ # [3.13.0](https://github.com/3merge/q/compare/v3.12.0...v3.13.0) (2022-10-24)
208
+
209
+ **Note:** Version bump only for package gatsby-theme-q3
210
+
211
+
212
+
213
+
214
+
215
+ # [3.11.0](https://github.com/3merge/q/compare/v3.10.11...v3.11.0) (2022-10-13)
216
+
217
+
218
+ ### Features
219
+
220
+ * login public notice ([#433](https://github.com/3merge/q/issues/433)) ([8cf9a38](https://github.com/3merge/q/commit/8cf9a38f8bfc1cd5ee5b66b529d0b3bd6ff7bbe1))
221
+
222
+
223
+
224
+
225
+
226
+ ## [3.10.11](https://github.com/3merge/q/compare/v3.10.10...v3.10.11) (2022-10-11)
227
+
228
+ **Note:** Version bump only for package gatsby-theme-q3
229
+
230
+
231
+
232
+
233
+
234
+ ## [3.10.8](https://github.com/3merge/q/compare/v3.10.7...v3.10.8) (2022-10-04)
235
+
236
+ **Note:** Version bump only for package gatsby-theme-q3
237
+
238
+
239
+
240
+
241
+
242
+ ## [3.10.7](https://github.com/3merge/q/compare/v3.10.6...v3.10.7) (2022-10-04)
243
+
244
+ **Note:** Version bump only for package gatsby-theme-q3
245
+
246
+
247
+
248
+
249
+
250
+ ## [3.10.4](https://github.com/3merge/q/compare/v3.10.3...v3.10.4) (2022-09-29)
251
+
252
+ **Note:** Version bump only for package gatsby-theme-q3
253
+
254
+
255
+
256
+
257
+
258
+ # [3.10.0](https://github.com/3merge/q/compare/v3.9.1...v3.10.0) (2022-09-27)
259
+
260
+ **Note:** Version bump only for package gatsby-theme-q3
261
+
262
+
263
+
264
+
265
+
266
+ ## [3.9.1](https://github.com/3merge/q/compare/v3.9.0...v3.9.1) (2022-09-01)
267
+
268
+ **Note:** Version bump only for package gatsby-theme-q3
269
+
270
+
271
+
272
+
273
+
274
+ # [3.9.0](https://github.com/3merge/q/compare/v3.8.22...v3.9.0) (2022-09-01)
275
+
276
+ **Note:** Version bump only for package gatsby-theme-q3
277
+
278
+
279
+
280
+
281
+
282
+
266
283
  ## [3.8.22](https://github.com/3merge/q/compare/v3.8.21...v3.8.22) (2022-08-30)
267
284
 
268
285
  **Note:** Version bump only for package gatsby-theme-q3
@@ -4,17 +4,11 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _react = _interopRequireDefault(require("react"));
9
-
10
8
  var _gatsby = require("gatsby");
11
-
12
9
  var _containers = require("q3-admin/lib/containers");
13
-
14
10
  var _IsBrowserReady = _interopRequireDefault(require("./IsBrowserReady"));
15
-
16
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
-
18
12
  // eslint-disable-next-line
19
13
  const AccountPublicGateway = ({
20
14
  children
@@ -22,6 +16,5 @@ const AccountPublicGateway = ({
22
16
  navigate: _gatsby.navigate,
23
17
  redirectPathOnSession: "/account"
24
18
  }, children));
25
-
26
19
  var _default = AccountPublicGateway;
27
20
  exports.default = _default;
@@ -4,19 +4,13 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _react = _interopRequireDefault(require("react"));
9
-
10
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
-
12
9
  var _components = require("q3-admin/lib/components");
13
-
14
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
-
16
11
  const AdminLoader = ({
17
12
  children
18
13
  }) => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_components.Loader, null), children);
19
-
20
14
  AdminLoader.propTypes = {
21
15
  children: _propTypes.default.node.isRequired
22
16
  };
@@ -4,21 +4,13 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _react = _interopRequireDefault(require("react"));
9
-
10
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
-
12
9
  var _gatsby = require("gatsby");
13
-
14
10
  var _containers = require("q3-admin/lib/containers");
15
-
16
11
  var _IsBrowserReady = _interopRequireDefault(require("./IsBrowserReady"));
17
-
18
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
-
20
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
-
13
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
22
14
  const AdminPrivateGateway = ({
23
15
  children,
24
16
  GatekeepProps,
@@ -28,7 +20,6 @@ const AdminPrivateGateway = ({
28
20
  navigate: _gatsby.navigate,
29
21
  redirectPathOnPublic: "/login"
30
22
  }, rest, GatekeepProps), children));
31
-
32
23
  AdminPrivateGateway.defaultProps = {
33
24
  GatekeepProps: {},
34
25
  children: null
@@ -4,21 +4,13 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _react = _interopRequireDefault(require("react"));
9
-
10
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
-
12
9
  var _gatsby = require("gatsby");
13
-
14
10
  var _containers = require("q3-admin/lib/containers");
15
-
16
11
  var _IsBrowserReady = _interopRequireDefault(require("./IsBrowserReady"));
17
-
18
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
-
20
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
-
13
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
22
14
  const AdminPublicGateway = ({
23
15
  children,
24
16
  GatekeepProps
@@ -26,7 +18,6 @@ const AdminPublicGateway = ({
26
18
  navigate: _gatsby.navigate,
27
19
  redirectPathOnSession: "/app"
28
20
  }, GatekeepProps), children));
29
-
30
21
  AdminPublicGateway.defaultProps = {
31
22
  GatekeepProps: {},
32
23
  children: null
@@ -4,23 +4,14 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _react = _interopRequireDefault(require("react"));
9
-
10
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
-
12
9
  var _router = require("@reach/router");
13
-
14
10
  var _q3Admin = _interopRequireDefault(require("q3-admin"));
15
-
16
11
  var _AdminPrivateGateway = _interopRequireDefault(require("./AdminPrivateGateway"));
17
-
18
12
  var _useSiteMetaData = _interopRequireDefault(require("./useSiteMetaData"));
19
-
20
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
-
22
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
23
-
14
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
24
15
  const AdminRouter = ({
25
16
  AdminProps,
26
17
  GatekeepProps
@@ -45,7 +36,6 @@ const AdminRouter = ({
45
36
  }
46
37
  }))));
47
38
  };
48
-
49
39
  AdminRouter.defaultProps = {
50
40
  AdminProps: {},
51
41
  GatekeepProps: {}
@@ -4,27 +4,16 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _react = _interopRequireDefault(require("react"));
9
-
10
8
  var _lodash = require("lodash");
11
-
12
9
  var _router = require("@reach/router");
13
-
14
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
15
-
16
11
  var _card = require("q3-ui/lib/card");
17
-
18
12
  var _wrapper = _interopRequireDefault(require("q3-ui/lib/wrapper"));
19
-
20
13
  var _Grid = _interopRequireDefault(require("@material-ui/core/Grid"));
21
-
22
14
  var _Box = _interopRequireDefault(require("@material-ui/core/Box"));
23
-
24
15
  var _Pagination = _interopRequireDefault(require("@material-ui/lab/Pagination"));
25
-
26
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
-
28
17
  const BlogArchiveTemplate = ({
29
18
  blogs,
30
19
  pageNum,
@@ -48,7 +37,6 @@ const BlogArchiveTemplate = ({
48
37
  count: total,
49
38
  onChange: (e, num) => (0, _router.navigate)(`/${dir}/${num > 1 ? num : ''}`)
50
39
  })));
51
-
52
40
  BlogArchiveTemplate.propTypes = {
53
41
  blogs: _propTypes.default.arrayOf(_propTypes.default.shape({
54
42
  title: _propTypes.default.string,