react-global-state-hooks 16.0.0 → 16.0.2
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/GlobalStore.cjs +4 -239
- package/GlobalStore.js +4 -239
- package/GlobalStore.mjs +4 -211
- package/README.md +2 -6
- package/actions.cjs +1 -37
- package/actions.js +1 -37
- package/actions.mjs +1 -6
- package/bundle.cjs +1 -40
- package/bundle.js +1 -40
- package/bundle.mjs +1 -19
- package/createContext.cjs +1 -37
- package/createContext.js +1 -37
- package/createContext.mjs +1 -9
- package/createGlobalState.cjs +1 -41
- package/createGlobalState.js +1 -41
- package/createGlobalState.mjs +1 -10
- package/isRecord.cjs +1 -37
- package/isRecord.js +1 -37
- package/isRecord.mjs +1 -6
- package/package.json +4 -4
- package/shallowCompare.cjs +1 -37
- package/shallowCompare.js +1 -37
- package/shallowCompare.mjs +1 -6
- package/throwWrongKeyOnActionCollectionConfig.cjs +1 -37
- package/throwWrongKeyOnActionCollectionConfig.js +1 -37
- package/throwWrongKeyOnActionCollectionConfig.mjs +1 -9
- package/tryCatch.cjs +1 -33
- package/tryCatch.js +1 -33
- package/tryCatch.mjs +1 -12
- package/types.cjs +1 -18
- package/types.js +1 -18
- package/uniqueId.cjs +1 -37
- package/uniqueId.js +1 -37
- package/uniqueId.mjs +1 -6
package/isRecord.cjs
CHANGED
|
@@ -1,37 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// src/isRecord.ts
|
|
31
|
-
var isRecord_exports = {};
|
|
32
|
-
__export(isRecord_exports, {
|
|
33
|
-
default: () => import_isRecord.default,
|
|
34
|
-
isRecord: () => import_isRecord.isRecord
|
|
35
|
-
});
|
|
36
|
-
module.exports = __toCommonJS(isRecord_exports);
|
|
37
|
-
var import_isRecord = __toESM(require("react-hooks-global-states/isRecord"));
|
|
1
|
+
"use strict";var i=Object.create;var f=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var p=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;var u=(e,o)=>{for(var r in o)f(e,r,{get:o[r],enumerable:!0})},c=(e,o,r,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let d of m(o))!s.call(e,d)&&d!==r&&f(e,d,{get:()=>o[d],enumerable:!(a=l(o,d))||a.enumerable});return e};var x=(e,o,r)=>(r=e!=null?i(p(e)):{},c(o||!e||!e.__esModule?f(r,"default",{value:e,enumerable:!0}):r,e)),R=e=>c(f({},"__esModule",{value:!0}),e);var b={};u(b,{default:()=>t.default,isRecord:()=>t.isRecord});module.exports=R(b);var t=x(require("react-hooks-global-states/isRecord"));
|
package/isRecord.js
CHANGED
|
@@ -1,37 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// src/isRecord.ts
|
|
31
|
-
var isRecord_exports = {};
|
|
32
|
-
__export(isRecord_exports, {
|
|
33
|
-
default: () => import_isRecord.default,
|
|
34
|
-
isRecord: () => import_isRecord.isRecord
|
|
35
|
-
});
|
|
36
|
-
module.exports = __toCommonJS(isRecord_exports);
|
|
37
|
-
var import_isRecord = __toESM(require("react-hooks-global-states/isRecord"));
|
|
1
|
+
"use strict";var i=Object.create;var f=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var p=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;var u=(e,o)=>{for(var r in o)f(e,r,{get:o[r],enumerable:!0})},c=(e,o,r,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let d of m(o))!s.call(e,d)&&d!==r&&f(e,d,{get:()=>o[d],enumerable:!(a=l(o,d))||a.enumerable});return e};var x=(e,o,r)=>(r=e!=null?i(p(e)):{},c(o||!e||!e.__esModule?f(r,"default",{value:e,enumerable:!0}):r,e)),R=e=>c(f({},"__esModule",{value:!0}),e);var b={};u(b,{default:()=>t.default,isRecord:()=>t.isRecord});module.exports=R(b);var t=x(require("react-hooks-global-states/isRecord"));
|
package/isRecord.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-global-state-hooks",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.2",
|
|
4
4
|
"description": "This is a package to easily handling global-state across your react components",
|
|
5
5
|
"main": "./bundle.cjs",
|
|
6
6
|
"module": "./bundle.mjs",
|
|
@@ -97,11 +97,11 @@
|
|
|
97
97
|
},
|
|
98
98
|
"homepage": "https://github.com/johnny-quesada-developer/react-global-state-hooks#readme",
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"json-storage-formatter": "4.0.0",
|
|
101
|
-
"react-hooks-global-states": "16.0.
|
|
100
|
+
"json-storage-formatter": "^4.0.0",
|
|
101
|
+
"react-hooks-global-states": "^16.0.2"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
104
|
-
"json-storage-formatter": "4.0.0",
|
|
104
|
+
"json-storage-formatter": "^4.0.0",
|
|
105
105
|
"react": ">=18.0.0"
|
|
106
106
|
},
|
|
107
107
|
"peerDependenciesMeta": {
|
package/shallowCompare.cjs
CHANGED
|
@@ -1,37 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// src/shallowCompare.ts
|
|
31
|
-
var shallowCompare_exports = {};
|
|
32
|
-
__export(shallowCompare_exports, {
|
|
33
|
-
default: () => import_shallowCompare.default,
|
|
34
|
-
shallowCompare: () => import_shallowCompare.shallowCompare
|
|
35
|
-
});
|
|
36
|
-
module.exports = __toCommonJS(shallowCompare_exports);
|
|
37
|
-
var import_shallowCompare = __toESM(require("react-hooks-global-states/shallowCompare"));
|
|
1
|
+
"use strict";var t=Object.create;var r=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var s=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty;var w=(o,a)=>{for(var e in a)r(o,e,{get:a[e],enumerable:!0})},p=(o,a,e,m)=>{if(a&&typeof a=="object"||typeof a=="function")for(let l of h(a))!u.call(o,l)&&l!==e&&r(o,l,{get:()=>a[l],enumerable:!(m=d(a,l))||m.enumerable});return o};var x=(o,a,e)=>(e=o!=null?t(s(o)):{},p(a||!o||!o.__esModule?r(e,"default",{value:o,enumerable:!0}):e,o)),C=o=>p(r({},"__esModule",{value:!0}),o);var b={};w(b,{default:()=>f.default,shallowCompare:()=>f.shallowCompare});module.exports=C(b);var f=x(require("react-hooks-global-states/shallowCompare"));
|
package/shallowCompare.js
CHANGED
|
@@ -1,37 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// src/shallowCompare.ts
|
|
31
|
-
var shallowCompare_exports = {};
|
|
32
|
-
__export(shallowCompare_exports, {
|
|
33
|
-
default: () => import_shallowCompare.default,
|
|
34
|
-
shallowCompare: () => import_shallowCompare.shallowCompare
|
|
35
|
-
});
|
|
36
|
-
module.exports = __toCommonJS(shallowCompare_exports);
|
|
37
|
-
var import_shallowCompare = __toESM(require("react-hooks-global-states/shallowCompare"));
|
|
1
|
+
"use strict";var t=Object.create;var r=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var s=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty;var w=(o,a)=>{for(var e in a)r(o,e,{get:a[e],enumerable:!0})},p=(o,a,e,m)=>{if(a&&typeof a=="object"||typeof a=="function")for(let l of h(a))!u.call(o,l)&&l!==e&&r(o,l,{get:()=>a[l],enumerable:!(m=d(a,l))||m.enumerable});return o};var x=(o,a,e)=>(e=o!=null?t(s(o)):{},p(a||!o||!o.__esModule?r(e,"default",{value:o,enumerable:!0}):e,o)),C=o=>p(r({},"__esModule",{value:!0}),o);var b={};w(b,{default:()=>f.default,shallowCompare:()=>f.shallowCompare});module.exports=C(b);var f=x(require("react-hooks-global-states/shallowCompare"));
|
package/shallowCompare.mjs
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { shallowCompare, default as default2 } from "react-hooks-global-states/shallowCompare";
|
|
3
|
-
export {
|
|
4
|
-
default2 as default,
|
|
5
|
-
shallowCompare
|
|
6
|
-
};
|
|
1
|
+
import{shallowCompare as e,default as l}from"react-hooks-global-states/shallowCompare";export{l as default,e as shallowCompare};
|
|
@@ -1,37 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// src/throwWrongKeyOnActionCollectionConfig.ts
|
|
31
|
-
var throwWrongKeyOnActionCollectionConfig_exports = {};
|
|
32
|
-
__export(throwWrongKeyOnActionCollectionConfig_exports, {
|
|
33
|
-
default: () => import_throwWrongKeyOnActionCollectionConfig.default,
|
|
34
|
-
throwWrongKeyOnActionCollectionConfig: () => import_throwWrongKeyOnActionCollectionConfig.throwWrongKeyOnActionCollectionConfig
|
|
35
|
-
});
|
|
36
|
-
module.exports = __toCommonJS(throwWrongKeyOnActionCollectionConfig_exports);
|
|
37
|
-
var import_throwWrongKeyOnActionCollectionConfig = __toESM(require("react-hooks-global-states/throwWrongKeyOnActionCollectionConfig"));
|
|
1
|
+
"use strict";var c=Object.create;var r=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var a=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty;var h=(o,n)=>{for(var t in n)r(o,t,{get:n[t],enumerable:!0})},l=(o,n,t,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of C(n))!d.call(o,e)&&e!==t&&r(o,e,{get:()=>n[e],enumerable:!(i=g(n,e))||i.enumerable});return o};var m=(o,n,t)=>(t=o!=null?c(a(o)):{},l(n||!o||!o.__esModule?r(t,"default",{value:o,enumerable:!0}):t,o)),p=o=>l(r({},"__esModule",{value:!0}),o);var u={};h(u,{default:()=>f.default,throwWrongKeyOnActionCollectionConfig:()=>f.throwWrongKeyOnActionCollectionConfig});module.exports=p(u);var f=m(require("react-hooks-global-states/throwWrongKeyOnActionCollectionConfig"));
|
|
@@ -1,37 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// src/throwWrongKeyOnActionCollectionConfig.ts
|
|
31
|
-
var throwWrongKeyOnActionCollectionConfig_exports = {};
|
|
32
|
-
__export(throwWrongKeyOnActionCollectionConfig_exports, {
|
|
33
|
-
default: () => import_throwWrongKeyOnActionCollectionConfig.default,
|
|
34
|
-
throwWrongKeyOnActionCollectionConfig: () => import_throwWrongKeyOnActionCollectionConfig.throwWrongKeyOnActionCollectionConfig
|
|
35
|
-
});
|
|
36
|
-
module.exports = __toCommonJS(throwWrongKeyOnActionCollectionConfig_exports);
|
|
37
|
-
var import_throwWrongKeyOnActionCollectionConfig = __toESM(require("react-hooks-global-states/throwWrongKeyOnActionCollectionConfig"));
|
|
1
|
+
"use strict";var c=Object.create;var r=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var a=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty;var h=(o,n)=>{for(var t in n)r(o,t,{get:n[t],enumerable:!0})},l=(o,n,t,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of C(n))!d.call(o,e)&&e!==t&&r(o,e,{get:()=>n[e],enumerable:!(i=g(n,e))||i.enumerable});return o};var m=(o,n,t)=>(t=o!=null?c(a(o)):{},l(n||!o||!o.__esModule?r(t,"default",{value:o,enumerable:!0}):t,o)),p=o=>l(r({},"__esModule",{value:!0}),o);var u={};h(u,{default:()=>f.default,throwWrongKeyOnActionCollectionConfig:()=>f.throwWrongKeyOnActionCollectionConfig});module.exports=p(u);var f=m(require("react-hooks-global-states/throwWrongKeyOnActionCollectionConfig"));
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
throwWrongKeyOnActionCollectionConfig,
|
|
4
|
-
default as default2
|
|
5
|
-
} from "react-hooks-global-states/throwWrongKeyOnActionCollectionConfig";
|
|
6
|
-
export {
|
|
7
|
-
default2 as default,
|
|
8
|
-
throwWrongKeyOnActionCollectionConfig
|
|
9
|
-
};
|
|
1
|
+
import{throwWrongKeyOnActionCollectionConfig as t,default as e}from"react-hooks-global-states/throwWrongKeyOnActionCollectionConfig";export{e as default,t as throwWrongKeyOnActionCollectionConfig};
|
package/tryCatch.cjs
CHANGED
|
@@ -1,33 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/tryCatch.ts
|
|
21
|
-
var tryCatch_exports = {};
|
|
22
|
-
__export(tryCatch_exports, {
|
|
23
|
-
default: () => tryCatch_default
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(tryCatch_exports);
|
|
26
|
-
function tryCatch(callback) {
|
|
27
|
-
try {
|
|
28
|
-
return { result: callback(), error: null };
|
|
29
|
-
} catch (error) {
|
|
30
|
-
return { result: null, error };
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
var tryCatch_default = tryCatch;
|
|
1
|
+
"use strict";var l=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var s=(t,r)=>{for(var u in r)l(t,u,{get:r[u],enumerable:!0})},a=(t,r,u,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of c(r))!o.call(t,e)&&e!==u&&l(t,e,{get:()=>r[e],enumerable:!(n=y(r,e))||n.enumerable});return t};var T=t=>a(l({},"__esModule",{value:!0}),t);var f={};s(f,{default:()=>p});module.exports=T(f);function h(t){try{return{result:t(),error:null}}catch(r){return{result:null,error:r}}}var p=h;
|
package/tryCatch.js
CHANGED
|
@@ -1,33 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/tryCatch.ts
|
|
21
|
-
var tryCatch_exports = {};
|
|
22
|
-
__export(tryCatch_exports, {
|
|
23
|
-
default: () => tryCatch_default
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(tryCatch_exports);
|
|
26
|
-
function tryCatch(callback) {
|
|
27
|
-
try {
|
|
28
|
-
return { result: callback(), error: null };
|
|
29
|
-
} catch (error) {
|
|
30
|
-
return { result: null, error };
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
var tryCatch_default = tryCatch;
|
|
1
|
+
"use strict";var l=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var s=(t,r)=>{for(var u in r)l(t,u,{get:r[u],enumerable:!0})},a=(t,r,u,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of c(r))!o.call(t,e)&&e!==u&&l(t,e,{get:()=>r[e],enumerable:!(n=y(r,e))||n.enumerable});return t};var T=t=>a(l({},"__esModule",{value:!0}),t);var f={};s(f,{default:()=>p});module.exports=T(f);function h(t){try{return{result:t(),error:null}}catch(r){return{result:null,error:r}}}var p=h;
|
package/tryCatch.mjs
CHANGED
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
function tryCatch(callback) {
|
|
3
|
-
try {
|
|
4
|
-
return { result: callback(), error: null };
|
|
5
|
-
} catch (error) {
|
|
6
|
-
return { result: null, error };
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
var tryCatch_default = tryCatch;
|
|
10
|
-
export {
|
|
11
|
-
tryCatch_default as default
|
|
12
|
-
};
|
|
1
|
+
function e(r){try{return{result:r(),error:null}}catch(t){return{result:null,error:t}}}var u=e;export{u as default};
|
package/types.cjs
CHANGED
|
@@ -1,18 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// src/types.ts
|
|
17
|
-
var types_exports = {};
|
|
18
|
-
module.exports = __toCommonJS(types_exports);
|
|
1
|
+
"use strict";var n=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var r=Object.prototype.hasOwnProperty;var c=(e,t,l,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of s(t))!r.call(e,a)&&a!==l&&n(e,a,{get:()=>t[a],enumerable:!(o=i(t,a))||o.enumerable});return e};var S=e=>c(n({},"__esModule",{value:!0}),e);var A={};module.exports=S(A);
|
package/types.js
CHANGED
|
@@ -1,18 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// src/types.ts
|
|
17
|
-
var types_exports = {};
|
|
18
|
-
module.exports = __toCommonJS(types_exports);
|
|
1
|
+
"use strict";var n=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var r=Object.prototype.hasOwnProperty;var c=(e,t,l,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of s(t))!r.call(e,a)&&a!==l&&n(e,a,{get:()=>t[a],enumerable:!(o=i(t,a))||o.enumerable});return e};var S=e=>c(n({},"__esModule",{value:!0}),e);var A={};module.exports=S(A);
|
package/uniqueId.cjs
CHANGED
|
@@ -1,37 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// src/uniqueId.ts
|
|
31
|
-
var uniqueId_exports = {};
|
|
32
|
-
__export(uniqueId_exports, {
|
|
33
|
-
default: () => import_uniqueId.default,
|
|
34
|
-
uniqueId: () => import_uniqueId.uniqueId
|
|
35
|
-
});
|
|
36
|
-
module.exports = __toCommonJS(uniqueId_exports);
|
|
37
|
-
var import_uniqueId = __toESM(require("react-hooks-global-states/uniqueId"));
|
|
1
|
+
"use strict";var a=Object.create;var n=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var o=Object.getPrototypeOf,q=Object.prototype.hasOwnProperty;var y=(e,d)=>{for(var t in d)n(e,t,{get:d[t],enumerable:!0})},I=(e,d,t,r)=>{if(d&&typeof d=="object"||typeof d=="function")for(let u of i(d))!q.call(e,u)&&u!==t&&n(e,u,{get:()=>d[u],enumerable:!(r=f(d,u))||r.enumerable});return e};var l=(e,d,t)=>(t=e!=null?a(o(e)):{},I(d||!e||!e.__esModule?n(t,"default",{value:e,enumerable:!0}):t,e)),m=e=>I(n({},"__esModule",{value:!0}),e);var x={};y(x,{default:()=>p.default,uniqueId:()=>p.uniqueId});module.exports=m(x);var p=l(require("react-hooks-global-states/uniqueId"));
|
package/uniqueId.js
CHANGED
|
@@ -1,37 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// src/uniqueId.ts
|
|
31
|
-
var uniqueId_exports = {};
|
|
32
|
-
__export(uniqueId_exports, {
|
|
33
|
-
default: () => import_uniqueId.default,
|
|
34
|
-
uniqueId: () => import_uniqueId.uniqueId
|
|
35
|
-
});
|
|
36
|
-
module.exports = __toCommonJS(uniqueId_exports);
|
|
37
|
-
var import_uniqueId = __toESM(require("react-hooks-global-states/uniqueId"));
|
|
1
|
+
"use strict";var a=Object.create;var n=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var o=Object.getPrototypeOf,q=Object.prototype.hasOwnProperty;var y=(e,d)=>{for(var t in d)n(e,t,{get:d[t],enumerable:!0})},I=(e,d,t,r)=>{if(d&&typeof d=="object"||typeof d=="function")for(let u of i(d))!q.call(e,u)&&u!==t&&n(e,u,{get:()=>d[u],enumerable:!(r=f(d,u))||r.enumerable});return e};var l=(e,d,t)=>(t=e!=null?a(o(e)):{},I(d||!e||!e.__esModule?n(t,"default",{value:e,enumerable:!0}):t,e)),m=e=>I(n({},"__esModule",{value:!0}),e);var x={};y(x,{default:()=>p.default,uniqueId:()=>p.uniqueId});module.exports=m(x);var p=l(require("react-hooks-global-states/uniqueId"));
|
package/uniqueId.mjs
CHANGED