UNPKG

4.01 kBJavaScriptView Raw
1"use strict";
2
3var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4Object.defineProperty(exports, "__esModule", {
5 value: true
6});
7var _exportNames = {
8 useListItem: true,
9 listReducer: true
10};
11Object.defineProperty(exports, "default", {
12 enumerable: true,
13 get: function () {
14 return _useList.default;
15 }
16});
17Object.defineProperty(exports, "listReducer", {
18 enumerable: true,
19 get: function () {
20 return _listReducer.default;
21 }
22});
23Object.defineProperty(exports, "useListItem", {
24 enumerable: true,
25 get: function () {
26 return _useListItem.default;
27 }
28});
29var _useList = _interopRequireDefault(require("./useList"));
30var _useList2 = require("./useList.types");
31Object.keys(_useList2).forEach(function (key) {
32 if (key === "default" || key === "__esModule") return;
33 if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
34 if (key in exports && exports[key] === _useList2[key]) return;
35 Object.defineProperty(exports, key, {
36 enumerable: true,
37 get: function () {
38 return _useList2[key];
39 }
40 });
41});
42var _useListItem = _interopRequireDefault(require("./useListItem"));
43var _useListItem2 = require("./useListItem.types");
44Object.keys(_useListItem2).forEach(function (key) {
45 if (key === "default" || key === "__esModule") return;
46 if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
47 if (key in exports && exports[key] === _useListItem2[key]) return;
48 Object.defineProperty(exports, key, {
49 enumerable: true,
50 get: function () {
51 return _useListItem2[key];
52 }
53 });
54});
55var _listReducer = _interopRequireWildcard(require("./listReducer"));
56Object.keys(_listReducer).forEach(function (key) {
57 if (key === "default" || key === "__esModule") return;
58 if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
59 if (key in exports && exports[key] === _listReducer[key]) return;
60 Object.defineProperty(exports, key, {
61 enumerable: true,
62 get: function () {
63 return _listReducer[key];
64 }
65 });
66});
67var _listActions = require("./listActions.types");
68Object.keys(_listActions).forEach(function (key) {
69 if (key === "default" || key === "__esModule") return;
70 if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
71 if (key in exports && exports[key] === _listActions[key]) return;
72 Object.defineProperty(exports, key, {
73 enumerable: true,
74 get: function () {
75 return _listActions[key];
76 }
77 });
78});
79var _ListContext = require("./ListContext");
80Object.keys(_ListContext).forEach(function (key) {
81 if (key === "default" || key === "__esModule") return;
82 if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
83 if (key in exports && exports[key] === _ListContext[key]) return;
84 Object.defineProperty(exports, key, {
85 enumerable: true,
86 get: function () {
87 return _ListContext[key];
88 }
89 });
90});
91function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
92function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
\No newline at end of file