@uiw/react-json-view 2.0.0-alpha.3 → 2.0.0-alpha.30
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 +217 -26
- package/basic.d.ts +3 -0
- package/cjs/Container.d.ts +2 -0
- package/cjs/Container.js +13 -6
- package/cjs/arrow/TriangleArrow.js +1 -1
- package/cjs/comps/Copied.d.ts +2 -4
- package/cjs/comps/Copied.js +50 -17
- package/cjs/comps/KeyValues.d.ts +2 -4
- package/cjs/comps/KeyValues.js +62 -27
- package/cjs/comps/NestedClose.d.ts +1 -0
- package/cjs/comps/NestedClose.js +15 -5
- package/cjs/comps/NestedOpen.d.ts +2 -3
- package/cjs/comps/NestedOpen.js +34 -14
- package/cjs/comps/Value.d.ts +1 -2
- package/cjs/comps/Value.js +4 -8
- package/cjs/comps/useIdCompat.d.ts +1 -0
- package/cjs/comps/useIdCompat.js +14 -0
- package/cjs/editor/KeyName.d.ts +2 -0
- package/cjs/editor/KeyName.js +82 -0
- package/cjs/editor/index.d.ts +18 -0
- package/cjs/editor/index.js +44 -0
- package/cjs/editor/store.d.ts +27 -0
- package/cjs/editor/store.js +23 -0
- package/cjs/index.d.ts +10 -3
- package/cjs/index.js +9 -4
- package/cjs/section/Copied.d.ts +1 -1
- package/cjs/section/Copied.js +1 -2
- package/cjs/section/CountInfo.d.ts +1 -2
- package/cjs/section/CountInfo.js +3 -5
- package/cjs/section/CountInfoExtra.d.ts +1 -2
- package/cjs/section/CountInfoExtra.js +2 -4
- package/cjs/section/Ellipsis.d.ts +0 -1
- package/cjs/section/Ellipsis.js +4 -5
- package/cjs/section/KeyName.d.ts +7 -6
- package/cjs/section/KeyName.js +8 -6
- package/cjs/section/Row.d.ts +13 -0
- package/cjs/section/Row.js +51 -0
- package/cjs/store/Expands.js +2 -4
- package/cjs/store/Section.d.ts +12 -6
- package/cjs/store/Section.js +6 -4
- package/cjs/store/ShowTools.js +2 -4
- package/cjs/store/Symbols.d.ts +10 -3
- package/cjs/store/Symbols.js +2 -4
- package/cjs/store/Types.d.ts +29 -25
- package/cjs/store/Types.js +8 -8
- package/cjs/store.d.ts +8 -4
- package/cjs/store.js +5 -10
- package/cjs/symbol/Arrow.d.ts +1 -1
- package/cjs/symbol/Arrow.js +1 -2
- package/cjs/symbol/BraceLeft.d.ts +1 -1
- package/cjs/symbol/BraceLeft.js +1 -2
- package/cjs/symbol/BraceRight.d.ts +1 -1
- package/cjs/symbol/BraceRight.js +1 -2
- package/cjs/symbol/BracketsLeft.d.ts +1 -1
- package/cjs/symbol/BracketsLeft.js +1 -2
- package/cjs/symbol/BracketsRight.d.ts +1 -1
- package/cjs/symbol/BracketsRight.js +1 -2
- package/cjs/symbol/Colon.d.ts +1 -1
- package/cjs/symbol/Colon.js +1 -2
- package/cjs/symbol/Quote.d.ts +1 -1
- package/cjs/symbol/Quote.js +1 -2
- package/cjs/symbol/ValueQuote.d.ts +1 -1
- package/cjs/symbol/ValueQuote.js +1 -2
- package/cjs/symbol/index.d.ts +11 -16
- package/cjs/symbol/index.js +75 -30
- package/cjs/theme/basic.d.ts +1 -2
- package/cjs/theme/basic.js +4 -3
- package/cjs/theme/dark.d.ts +1 -2
- package/cjs/theme/dark.js +2 -3
- package/cjs/theme/github.dark.d.ts +1 -2
- package/cjs/theme/github.dark.js +2 -3
- package/cjs/theme/github.light.d.ts +1 -2
- package/cjs/theme/github.light.js +2 -3
- package/cjs/theme/gruvbox.d.ts +1 -2
- package/cjs/theme/gruvbox.js +2 -3
- package/cjs/theme/light.d.ts +1 -2
- package/cjs/theme/light.js +2 -3
- package/cjs/theme/monokai.d.ts +1 -2
- package/cjs/theme/monokai.js +2 -3
- package/cjs/theme/nord.d.ts +1 -2
- package/cjs/theme/nord.js +2 -3
- package/cjs/theme/vscode.d.ts +1 -2
- package/cjs/theme/vscode.js +2 -3
- package/cjs/types/Bigint.d.ts +1 -1
- package/cjs/types/Bigint.js +1 -2
- package/cjs/types/Date.d.ts +1 -1
- package/cjs/types/Date.js +1 -2
- package/cjs/types/False.d.ts +1 -1
- package/cjs/types/False.js +1 -2
- package/cjs/types/Float.d.ts +1 -1
- package/cjs/types/Float.js +1 -2
- package/cjs/types/Int.d.ts +1 -1
- package/cjs/types/Int.js +1 -2
- package/cjs/types/Map.d.ts +1 -1
- package/cjs/types/Map.js +1 -2
- package/cjs/types/Nan.d.ts +1 -1
- package/cjs/types/Nan.js +1 -2
- package/cjs/types/Null.d.ts +1 -1
- package/cjs/types/Null.js +1 -2
- package/cjs/types/Set.d.ts +1 -1
- package/cjs/types/Set.js +1 -2
- package/cjs/types/String.d.ts +1 -1
- package/cjs/types/String.js +1 -2
- package/cjs/types/True.d.ts +1 -1
- package/cjs/types/True.js +1 -2
- package/cjs/types/Undefined.d.ts +1 -1
- package/cjs/types/Undefined.js +1 -2
- package/cjs/types/Url.d.ts +1 -1
- package/cjs/types/Url.js +1 -2
- package/cjs/types/index.d.ts +3 -1
- package/cjs/types/index.js +96 -124
- package/cjs/utils/useHighlight.d.ts +0 -1
- package/cjs/utils/useRender.d.ts +1 -1
- package/editor.d.ts +22 -20
- package/esm/Container.d.ts +2 -0
- package/esm/Container.js +15 -7
- package/esm/arrow/TriangleArrow.js +1 -1
- package/esm/comps/Copied.d.ts +2 -4
- package/esm/comps/Copied.js +48 -16
- package/esm/comps/KeyValues.d.ts +2 -4
- package/esm/comps/KeyValues.js +53 -21
- package/esm/comps/NestedClose.d.ts +1 -0
- package/esm/comps/NestedClose.js +13 -3
- package/esm/comps/NestedOpen.d.ts +2 -3
- package/esm/comps/NestedOpen.js +33 -14
- package/esm/comps/Value.d.ts +1 -2
- package/esm/comps/Value.js +2 -4
- package/esm/comps/useIdCompat.d.ts +1 -0
- package/esm/comps/useIdCompat.js +8 -0
- package/esm/editor/KeyName.d.ts +2 -0
- package/esm/editor/KeyName.js +77 -0
- package/esm/editor/index.d.ts +18 -0
- package/esm/editor/index.js +33 -0
- package/esm/editor/store.d.ts +27 -0
- package/esm/editor/store.js +13 -0
- package/esm/index.d.ts +10 -3
- package/esm/index.js +10 -5
- package/esm/section/Copied.d.ts +1 -1
- package/esm/section/CountInfo.d.ts +1 -2
- package/esm/section/CountInfo.js +1 -1
- package/esm/section/CountInfoExtra.d.ts +1 -2
- package/esm/section/Ellipsis.d.ts +0 -1
- package/esm/section/Ellipsis.js +1 -1
- package/esm/section/KeyName.d.ts +7 -6
- package/esm/section/KeyName.js +6 -2
- package/esm/section/Row.d.ts +13 -0
- package/esm/section/Row.js +47 -0
- package/esm/store/Section.d.ts +12 -6
- package/esm/store/Section.js +4 -0
- package/esm/store/Symbols.d.ts +10 -3
- package/esm/store/Types.d.ts +29 -25
- package/esm/store/Types.js +6 -4
- package/esm/store.d.ts +8 -4
- package/esm/symbol/Arrow.d.ts +1 -1
- package/esm/symbol/BraceLeft.d.ts +1 -1
- package/esm/symbol/BraceRight.d.ts +1 -1
- package/esm/symbol/BracketsLeft.d.ts +1 -1
- package/esm/symbol/BracketsRight.d.ts +1 -1
- package/esm/symbol/Colon.d.ts +1 -1
- package/esm/symbol/Quote.d.ts +1 -1
- package/esm/symbol/ValueQuote.d.ts +1 -1
- package/esm/symbol/index.d.ts +11 -16
- package/esm/symbol/index.js +76 -23
- package/esm/theme/basic.d.ts +1 -2
- package/esm/theme/basic.js +2 -0
- package/esm/theme/dark.d.ts +1 -2
- package/esm/theme/github.dark.d.ts +1 -2
- package/esm/theme/github.light.d.ts +1 -2
- package/esm/theme/gruvbox.d.ts +1 -2
- package/esm/theme/light.d.ts +1 -2
- package/esm/theme/monokai.d.ts +1 -2
- package/esm/theme/nord.d.ts +1 -2
- package/esm/theme/vscode.d.ts +1 -2
- package/esm/types/Bigint.d.ts +1 -1
- package/esm/types/Date.d.ts +1 -1
- package/esm/types/False.d.ts +1 -1
- package/esm/types/Float.d.ts +1 -1
- package/esm/types/Int.d.ts +1 -1
- package/esm/types/Map.d.ts +1 -1
- package/esm/types/Nan.d.ts +1 -1
- package/esm/types/Null.d.ts +1 -1
- package/esm/types/Set.d.ts +1 -1
- package/esm/types/String.d.ts +1 -1
- package/esm/types/True.d.ts +1 -1
- package/esm/types/Undefined.d.ts +1 -1
- package/esm/types/Url.d.ts +1 -1
- package/esm/types/index.d.ts +3 -1
- package/esm/types/index.js +82 -100
- package/esm/utils/useHighlight.d.ts +0 -1
- package/esm/utils/useRender.d.ts +1 -1
- package/githubDark.d.ts +3 -0
- package/githubLight.d.ts +3 -0
- package/gruvbox.d.ts +3 -0
- package/monokai.d.ts +3 -0
- package/nord.d.ts +3 -0
- package/package.json +11 -5
- package/vscode.d.ts +3 -0
package/cjs/theme/github.dark.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.githubDarkTheme = void 0;
|
|
7
|
-
var githubDarkTheme = {
|
|
7
|
+
var githubDarkTheme = exports.githubDarkTheme = {
|
|
8
8
|
'--w-rjv-font-family': 'monospace',
|
|
9
9
|
'--w-rjv-color': '#79c0ff',
|
|
10
10
|
'--w-rjv-key-string': '#79c0ff',
|
|
@@ -31,5 +31,4 @@ var githubDarkTheme = {
|
|
|
31
31
|
'--w-rjv-type-null-color': '#ff7b72',
|
|
32
32
|
'--w-rjv-type-nan-color': '#859900',
|
|
33
33
|
'--w-rjv-type-undefined-color': '#79c0ff'
|
|
34
|
-
};
|
|
35
|
-
exports.githubDarkTheme = githubDarkTheme;
|
|
34
|
+
};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const githubLightTheme: import("react").CSSProperties;
|
|
1
|
+
export declare const githubLightTheme: React.CSSProperties;
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.githubLightTheme = void 0;
|
|
7
|
-
var githubLightTheme = {
|
|
7
|
+
var githubLightTheme = exports.githubLightTheme = {
|
|
8
8
|
'--w-rjv-font-family': 'monospace',
|
|
9
9
|
'--w-rjv-color': '#6f42c1',
|
|
10
10
|
'--w-rjv-key-string': '#6f42c1',
|
|
@@ -31,5 +31,4 @@ var githubLightTheme = {
|
|
|
31
31
|
'--w-rjv-type-null-color': '#d73a49',
|
|
32
32
|
'--w-rjv-type-nan-color': '#859900',
|
|
33
33
|
'--w-rjv-type-undefined-color': '#005cc5'
|
|
34
|
-
};
|
|
35
|
-
exports.githubLightTheme = githubLightTheme;
|
|
34
|
+
};
|
package/cjs/theme/gruvbox.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const gruvboxTheme: import("react").CSSProperties;
|
|
1
|
+
export declare const gruvboxTheme: React.CSSProperties;
|
package/cjs/theme/gruvbox.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.gruvboxTheme = void 0;
|
|
7
|
-
var gruvboxTheme = {
|
|
7
|
+
var gruvboxTheme = exports.gruvboxTheme = {
|
|
8
8
|
'--w-rjv-font-family': 'monospace',
|
|
9
9
|
'--w-rjv-color': '#3c3836',
|
|
10
10
|
'--w-rjv-key-string': '#3c3836',
|
|
@@ -31,5 +31,4 @@ var gruvboxTheme = {
|
|
|
31
31
|
'--w-rjv-type-null-color': '#076678',
|
|
32
32
|
'--w-rjv-type-nan-color': '#076678',
|
|
33
33
|
'--w-rjv-type-undefined-color': '#076678'
|
|
34
|
-
};
|
|
35
|
-
exports.gruvboxTheme = gruvboxTheme;
|
|
34
|
+
};
|
package/cjs/theme/light.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const lightTheme: import("react").CSSProperties;
|
|
1
|
+
export declare const lightTheme: React.CSSProperties;
|
package/cjs/theme/light.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.lightTheme = void 0;
|
|
7
|
-
var lightTheme = {
|
|
7
|
+
var lightTheme = exports.lightTheme = {
|
|
8
8
|
'--w-rjv-font-family': 'monospace',
|
|
9
9
|
'--w-rjv-color': '#002b36',
|
|
10
10
|
'--w-rjv-key-string': '#002b36',
|
|
@@ -31,5 +31,4 @@ var lightTheme = {
|
|
|
31
31
|
'--w-rjv-type-null-color': '#d33682',
|
|
32
32
|
'--w-rjv-type-nan-color': '#859900',
|
|
33
33
|
'--w-rjv-type-undefined-color': '#586e75'
|
|
34
|
-
};
|
|
35
|
-
exports.lightTheme = lightTheme;
|
|
34
|
+
};
|
package/cjs/theme/monokai.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const monokaiTheme: import("react").CSSProperties;
|
|
1
|
+
export declare const monokaiTheme: React.CSSProperties;
|
package/cjs/theme/monokai.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.monokaiTheme = void 0;
|
|
7
|
-
var monokaiTheme = {
|
|
7
|
+
var monokaiTheme = exports.monokaiTheme = {
|
|
8
8
|
'--w-rjv-font-family': 'monospace',
|
|
9
9
|
'--w-rjv-color': '#E6DB74',
|
|
10
10
|
'--w-rjv-key-string': '#E6DB74',
|
|
@@ -31,5 +31,4 @@ var monokaiTheme = {
|
|
|
31
31
|
'--w-rjv-type-null-color': '#FA2672',
|
|
32
32
|
'--w-rjv-type-nan-color': '#FD971F',
|
|
33
33
|
'--w-rjv-type-undefined-color': '#FD971F'
|
|
34
|
-
};
|
|
35
|
-
exports.monokaiTheme = monokaiTheme;
|
|
34
|
+
};
|
package/cjs/theme/nord.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const nordTheme: import("react").CSSProperties;
|
|
1
|
+
export declare const nordTheme: React.CSSProperties;
|
package/cjs/theme/nord.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.nordTheme = void 0;
|
|
7
|
-
var nordTheme = {
|
|
7
|
+
var nordTheme = exports.nordTheme = {
|
|
8
8
|
'--w-rjv-font-family': 'monospace',
|
|
9
9
|
'--w-rjv-color': '#88c0d0',
|
|
10
10
|
'--w-rjv-key-string': '#88c0d0',
|
|
@@ -31,5 +31,4 @@ var nordTheme = {
|
|
|
31
31
|
'--w-rjv-type-null-color': '#5e81ac',
|
|
32
32
|
'--w-rjv-type-nan-color': '#859900',
|
|
33
33
|
'--w-rjv-type-undefined-color': '#586e75'
|
|
34
|
-
};
|
|
35
|
-
exports.nordTheme = nordTheme;
|
|
34
|
+
};
|
package/cjs/theme/vscode.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const vscodeTheme: import("react").CSSProperties;
|
|
1
|
+
export declare const vscodeTheme: React.CSSProperties;
|
package/cjs/theme/vscode.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.vscodeTheme = void 0;
|
|
7
|
-
var vscodeTheme = {
|
|
7
|
+
var vscodeTheme = exports.vscodeTheme = {
|
|
8
8
|
'--w-rjv-font-family': 'monospace',
|
|
9
9
|
'--w-rjv-color': '#9cdcfe',
|
|
10
10
|
'--w-rjv-key-string': '#9cdcfe',
|
|
@@ -31,5 +31,4 @@ var vscodeTheme = {
|
|
|
31
31
|
'--w-rjv-type-null-color': '#569cd6',
|
|
32
32
|
'--w-rjv-type-nan-color': '#859900',
|
|
33
33
|
'--w-rjv-type-undefined-color': '#569cd6'
|
|
34
|
-
};
|
|
35
|
-
exports.vscodeTheme = vscodeTheme;
|
|
34
|
+
};
|
package/cjs/types/Bigint.d.ts
CHANGED
package/cjs/types/Bigint.js
CHANGED
|
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Bigint = void 0;
|
|
7
7
|
var _Types = require("../store/Types");
|
|
8
8
|
var _useRender = require("../utils/useRender");
|
|
9
|
-
var Bigint = function Bigint(props) {
|
|
9
|
+
var Bigint = exports.Bigint = function Bigint(props) {
|
|
10
10
|
var _useTypesStore = (0, _Types.useTypesStore)(),
|
|
11
11
|
_useTypesStore$Bigint = _useTypesStore.Bigint,
|
|
12
12
|
Comp = _useTypesStore$Bigint === void 0 ? {} : _useTypesStore$Bigint;
|
|
13
13
|
(0, _useRender.useTypesRender)(Comp, props, 'Bigint');
|
|
14
14
|
return null;
|
|
15
15
|
};
|
|
16
|
-
exports.Bigint = Bigint;
|
|
17
16
|
Bigint.displayName = 'JVR.Bigint';
|
package/cjs/types/Date.d.ts
CHANGED
package/cjs/types/Date.js
CHANGED
|
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Date = void 0;
|
|
7
7
|
var _Types = require("../store/Types");
|
|
8
8
|
var _useRender = require("../utils/useRender");
|
|
9
|
-
var Date = function Date(props) {
|
|
9
|
+
var Date = exports.Date = function Date(props) {
|
|
10
10
|
var _useTypesStore = (0, _Types.useTypesStore)(),
|
|
11
11
|
_useTypesStore$Date = _useTypesStore.Date,
|
|
12
12
|
Comp = _useTypesStore$Date === void 0 ? {} : _useTypesStore$Date;
|
|
13
13
|
(0, _useRender.useTypesRender)(Comp, props, 'Date');
|
|
14
14
|
return null;
|
|
15
15
|
};
|
|
16
|
-
exports.Date = Date;
|
|
17
16
|
Date.displayName = 'JVR.Date';
|
package/cjs/types/False.d.ts
CHANGED
package/cjs/types/False.js
CHANGED
|
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.False = void 0;
|
|
7
7
|
var _Types = require("../store/Types");
|
|
8
8
|
var _useRender = require("../utils/useRender");
|
|
9
|
-
var False = function False(props) {
|
|
9
|
+
var False = exports.False = function False(props) {
|
|
10
10
|
var _useTypesStore = (0, _Types.useTypesStore)(),
|
|
11
11
|
_useTypesStore$False = _useTypesStore.False,
|
|
12
12
|
Comp = _useTypesStore$False === void 0 ? {} : _useTypesStore$False;
|
|
13
13
|
(0, _useRender.useTypesRender)(Comp, props, 'False');
|
|
14
14
|
return null;
|
|
15
15
|
};
|
|
16
|
-
exports.False = False;
|
|
17
16
|
False.displayName = 'JVR.False';
|
package/cjs/types/Float.d.ts
CHANGED
package/cjs/types/Float.js
CHANGED
|
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Float = void 0;
|
|
7
7
|
var _Types = require("../store/Types");
|
|
8
8
|
var _useRender = require("../utils/useRender");
|
|
9
|
-
var Float = function Float(props) {
|
|
9
|
+
var Float = exports.Float = function Float(props) {
|
|
10
10
|
var _useTypesStore = (0, _Types.useTypesStore)(),
|
|
11
11
|
_useTypesStore$Float = _useTypesStore.Float,
|
|
12
12
|
Comp = _useTypesStore$Float === void 0 ? {} : _useTypesStore$Float;
|
|
13
13
|
(0, _useRender.useTypesRender)(Comp, props, 'Float');
|
|
14
14
|
return null;
|
|
15
15
|
};
|
|
16
|
-
exports.Float = Float;
|
|
17
16
|
Float.displayName = 'JVR.Float';
|
package/cjs/types/Int.d.ts
CHANGED
package/cjs/types/Int.js
CHANGED
|
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Int = void 0;
|
|
7
7
|
var _Types = require("../store/Types");
|
|
8
8
|
var _useRender = require("../utils/useRender");
|
|
9
|
-
var Int = function Int(props) {
|
|
9
|
+
var Int = exports.Int = function Int(props) {
|
|
10
10
|
var _useTypesStore = (0, _Types.useTypesStore)(),
|
|
11
11
|
_useTypesStore$Int = _useTypesStore.Int,
|
|
12
12
|
Comp = _useTypesStore$Int === void 0 ? {} : _useTypesStore$Int;
|
|
13
13
|
(0, _useRender.useTypesRender)(Comp, props, 'Int');
|
|
14
14
|
return null;
|
|
15
15
|
};
|
|
16
|
-
exports.Int = Int;
|
|
17
16
|
Int.displayName = 'JVR.Int';
|
package/cjs/types/Map.d.ts
CHANGED
package/cjs/types/Map.js
CHANGED
|
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Map = void 0;
|
|
7
7
|
var _Types = require("../store/Types");
|
|
8
8
|
var _useRender = require("../utils/useRender");
|
|
9
|
-
var Map = function Map(props) {
|
|
9
|
+
var Map = exports.Map = function Map(props) {
|
|
10
10
|
var _useTypesStore = (0, _Types.useTypesStore)(),
|
|
11
11
|
_useTypesStore$Map = _useTypesStore.Map,
|
|
12
12
|
Comp = _useTypesStore$Map === void 0 ? {} : _useTypesStore$Map;
|
|
13
13
|
(0, _useRender.useTypesRender)(Comp, props, 'Map');
|
|
14
14
|
return null;
|
|
15
15
|
};
|
|
16
|
-
exports.Map = Map;
|
|
17
16
|
Map.displayName = 'JVR.Map';
|
package/cjs/types/Nan.d.ts
CHANGED
package/cjs/types/Nan.js
CHANGED
|
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Nan = void 0;
|
|
7
7
|
var _Types = require("../store/Types");
|
|
8
8
|
var _useRender = require("../utils/useRender");
|
|
9
|
-
var Nan = function Nan(props) {
|
|
9
|
+
var Nan = exports.Nan = function Nan(props) {
|
|
10
10
|
var _useTypesStore = (0, _Types.useTypesStore)(),
|
|
11
11
|
_useTypesStore$Nan = _useTypesStore.Nan,
|
|
12
12
|
Comp = _useTypesStore$Nan === void 0 ? {} : _useTypesStore$Nan;
|
|
13
13
|
(0, _useRender.useTypesRender)(Comp, props, 'Nan');
|
|
14
14
|
return null;
|
|
15
15
|
};
|
|
16
|
-
exports.Nan = Nan;
|
|
17
16
|
Nan.displayName = 'JVR.Nan';
|
package/cjs/types/Null.d.ts
CHANGED
package/cjs/types/Null.js
CHANGED
|
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Null = void 0;
|
|
7
7
|
var _Types = require("../store/Types");
|
|
8
8
|
var _useRender = require("../utils/useRender");
|
|
9
|
-
var Null = function Null(props) {
|
|
9
|
+
var Null = exports.Null = function Null(props) {
|
|
10
10
|
var _useTypesStore = (0, _Types.useTypesStore)(),
|
|
11
11
|
_useTypesStore$Null = _useTypesStore.Null,
|
|
12
12
|
Comp = _useTypesStore$Null === void 0 ? {} : _useTypesStore$Null;
|
|
13
13
|
(0, _useRender.useTypesRender)(Comp, props, 'Null');
|
|
14
14
|
return null;
|
|
15
15
|
};
|
|
16
|
-
exports.Null = Null;
|
|
17
16
|
Null.displayName = 'JVR.Null';
|
package/cjs/types/Set.d.ts
CHANGED
package/cjs/types/Set.js
CHANGED
|
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Set = void 0;
|
|
7
7
|
var _Types = require("../store/Types");
|
|
8
8
|
var _useRender = require("../utils/useRender");
|
|
9
|
-
var Set = function Set(props) {
|
|
9
|
+
var Set = exports.Set = function Set(props) {
|
|
10
10
|
var _useTypesStore = (0, _Types.useTypesStore)(),
|
|
11
11
|
_useTypesStore$Set = _useTypesStore.Set,
|
|
12
12
|
Comp = _useTypesStore$Set === void 0 ? {} : _useTypesStore$Set;
|
|
13
13
|
(0, _useRender.useTypesRender)(Comp, props, 'Set');
|
|
14
14
|
return null;
|
|
15
15
|
};
|
|
16
|
-
exports.Set = Set;
|
|
17
16
|
Set.displayName = 'JVR.Set';
|
package/cjs/types/String.d.ts
CHANGED
package/cjs/types/String.js
CHANGED
|
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.StringText = void 0;
|
|
7
7
|
var _Types = require("../store/Types");
|
|
8
8
|
var _useRender = require("../utils/useRender");
|
|
9
|
-
var StringText = function StringText(props) {
|
|
9
|
+
var StringText = exports.StringText = function StringText(props) {
|
|
10
10
|
var _useTypesStore = (0, _Types.useTypesStore)(),
|
|
11
11
|
_useTypesStore$Str = _useTypesStore.Str,
|
|
12
12
|
Comp = _useTypesStore$Str === void 0 ? {} : _useTypesStore$Str;
|
|
13
13
|
(0, _useRender.useTypesRender)(Comp, props, 'Str');
|
|
14
14
|
return null;
|
|
15
15
|
};
|
|
16
|
-
exports.StringText = StringText;
|
|
17
16
|
StringText.displayName = 'JVR.StringText';
|
package/cjs/types/True.d.ts
CHANGED
package/cjs/types/True.js
CHANGED
|
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.True = void 0;
|
|
7
7
|
var _Types = require("../store/Types");
|
|
8
8
|
var _useRender = require("../utils/useRender");
|
|
9
|
-
var True = function True(props) {
|
|
9
|
+
var True = exports.True = function True(props) {
|
|
10
10
|
var _useTypesStore = (0, _Types.useTypesStore)(),
|
|
11
11
|
_useTypesStore$True = _useTypesStore.True,
|
|
12
12
|
Comp = _useTypesStore$True === void 0 ? {} : _useTypesStore$True;
|
|
13
13
|
(0, _useRender.useTypesRender)(Comp, props, 'True');
|
|
14
14
|
return null;
|
|
15
15
|
};
|
|
16
|
-
exports.True = True;
|
|
17
16
|
True.displayName = 'JVR.True';
|
package/cjs/types/Undefined.d.ts
CHANGED
package/cjs/types/Undefined.js
CHANGED
|
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Undefined = void 0;
|
|
7
7
|
var _Types = require("../store/Types");
|
|
8
8
|
var _useRender = require("../utils/useRender");
|
|
9
|
-
var Undefined = function Undefined(props) {
|
|
9
|
+
var Undefined = exports.Undefined = function Undefined(props) {
|
|
10
10
|
var _useTypesStore = (0, _Types.useTypesStore)(),
|
|
11
11
|
_useTypesStore$Undefi = _useTypesStore.Undefined,
|
|
12
12
|
Comp = _useTypesStore$Undefi === void 0 ? {} : _useTypesStore$Undefi;
|
|
13
13
|
(0, _useRender.useTypesRender)(Comp, props, 'Undefined');
|
|
14
14
|
return null;
|
|
15
15
|
};
|
|
16
|
-
exports.Undefined = Undefined;
|
|
17
16
|
Undefined.displayName = 'JVR.Undefined';
|
package/cjs/types/Url.d.ts
CHANGED
package/cjs/types/Url.js
CHANGED
|
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Url = void 0;
|
|
7
7
|
var _Types = require("../store/Types");
|
|
8
8
|
var _useRender = require("../utils/useRender");
|
|
9
|
-
var Url = function Url(props) {
|
|
9
|
+
var Url = exports.Url = function Url(props) {
|
|
10
10
|
var _useTypesStore = (0, _Types.useTypesStore)(),
|
|
11
11
|
_useTypesStore$Url = _useTypesStore.Url,
|
|
12
12
|
Comp = _useTypesStore$Url === void 0 ? {} : _useTypesStore$Url;
|
|
13
13
|
(0, _useRender.useTypesRender)(Comp, props, 'Url');
|
|
14
14
|
return null;
|
|
15
15
|
};
|
|
16
|
-
exports.Url = Url;
|
|
17
16
|
Url.displayName = 'JVR.Url';
|
package/cjs/types/index.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
export declare const bigIntToString: (bi?: BigInt | string) => string;
|
|
2
3
|
export declare const SetComp: FC<PropsWithChildren<{
|
|
3
4
|
value: unknown;
|
|
5
|
+
keyName: string | number;
|
|
4
6
|
}>>;
|
|
5
7
|
export declare const MapComp: FC<PropsWithChildren<{
|
|
6
8
|
value: unknown;
|
|
9
|
+
keyName: string | number;
|
|
7
10
|
}>>;
|
|
8
11
|
type TypeProps = PropsWithChildren<{
|
|
9
|
-
expandKey: string;
|
|
10
12
|
keyName: string | number;
|
|
11
13
|
}>;
|
|
12
14
|
export declare const TypeString: FC<TypeProps>;
|