@panneau/data 3.0.176 → 3.0.178
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/es/index.js +7 -5
- package/lib/index.js +7 -5
- package/package.json +2 -2
package/es/index.js
CHANGED
|
@@ -207,8 +207,10 @@ var useItems$2 = function useItems(_ref) {
|
|
|
207
207
|
_ref6$data = _ref6.data,
|
|
208
208
|
items = _ref6$data === void 0 ? [] : _ref6$data,
|
|
209
209
|
_ref6$pagination = _ref6.pagination,
|
|
210
|
-
pagination = _ref6$pagination === void 0 ? null : _ref6$pagination
|
|
211
|
-
|
|
210
|
+
pagination = _ref6$pagination === void 0 ? null : _ref6$pagination,
|
|
211
|
+
_ref6$meta = _ref6.meta,
|
|
212
|
+
meta = _ref6$meta === void 0 ? null : _ref6$meta;
|
|
213
|
+
var _ref7 = pagination || meta || {},
|
|
212
214
|
_ref7$page = _ref7.page,
|
|
213
215
|
currentPage = _ref7$page === void 0 ? null : _ref7$page,
|
|
214
216
|
_ref7$last_page = _ref7.last_page,
|
|
@@ -652,9 +654,9 @@ var useItemsStore = function useItemsStore(store, _ref) {
|
|
|
652
654
|
items = _ref4$data === void 0 ? [] : _ref4$data,
|
|
653
655
|
_ref4$pagination = _ref4.pagination,
|
|
654
656
|
pagination = _ref4$pagination === void 0 ? null : _ref4$pagination,
|
|
655
|
-
_ref4$
|
|
656
|
-
|
|
657
|
-
var _ref5 = pagination ||
|
|
657
|
+
_ref4$meta = _ref4.meta,
|
|
658
|
+
meta = _ref4$meta === void 0 ? null : _ref4$meta;
|
|
659
|
+
var _ref5 = pagination || meta || {},
|
|
658
660
|
_ref5$page = _ref5.page,
|
|
659
661
|
currentPage = _ref5$page === void 0 ? null : _ref5$page,
|
|
660
662
|
_ref5$last_page = _ref5.last_page,
|
package/lib/index.js
CHANGED
|
@@ -871,8 +871,10 @@ var useItems$2 = function useItems(_ref) {
|
|
|
871
871
|
_ref6$data = _ref6.data,
|
|
872
872
|
items = _ref6$data === void 0 ? [] : _ref6$data,
|
|
873
873
|
_ref6$pagination = _ref6.pagination,
|
|
874
|
-
pagination = _ref6$pagination === void 0 ? null : _ref6$pagination
|
|
875
|
-
|
|
874
|
+
pagination = _ref6$pagination === void 0 ? null : _ref6$pagination,
|
|
875
|
+
_ref6$meta = _ref6.meta,
|
|
876
|
+
meta = _ref6$meta === void 0 ? null : _ref6$meta;
|
|
877
|
+
var _ref7 = pagination || meta || {},
|
|
876
878
|
_ref7$page = _ref7.page,
|
|
877
879
|
currentPage = _ref7$page === void 0 ? null : _ref7$page,
|
|
878
880
|
_ref7$last_page = _ref7.last_page,
|
|
@@ -1316,9 +1318,9 @@ var useItemsStore = function useItemsStore(store, _ref) {
|
|
|
1316
1318
|
items = _ref4$data === void 0 ? [] : _ref4$data,
|
|
1317
1319
|
_ref4$pagination = _ref4.pagination,
|
|
1318
1320
|
pagination = _ref4$pagination === void 0 ? null : _ref4$pagination,
|
|
1319
|
-
_ref4$
|
|
1320
|
-
|
|
1321
|
-
var _ref5 = pagination ||
|
|
1321
|
+
_ref4$meta = _ref4.meta,
|
|
1322
|
+
meta = _ref4$meta === void 0 ? null : _ref4$meta;
|
|
1323
|
+
var _ref5 = pagination || meta || {},
|
|
1322
1324
|
_ref5$page = _ref5.page,
|
|
1323
1325
|
currentPage = _ref5$page === void 0 ? null : _ref5$page,
|
|
1324
1326
|
_ref5$last_page = _ref5.last_page,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/data",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.178",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "8001eb333f3ee12b610e93a05bb4aa9e7660141c"
|
|
69
69
|
}
|