@depict-ai/portal-components 0.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/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # Components for the Depict Portal
2
+
3
+ Some SDK components re-exported as react components for use in the Depict portal
@@ -0,0 +1,57 @@
1
+ import { SearchFilter } from "@depict-ai/types/api/SearchResponse";
2
+ import { Locale } from "@depict-ai/react-ui/locales";
3
+ export const version = "0.0.2";
4
+ export function ReactSelectedFilters(react_props: {
5
+ availableFilters: SearchFilter[] | undefined;
6
+ hidden?: boolean;
7
+ selectedFilters: {
8
+ field: string;
9
+ op: SearchFilter["op"];
10
+ data: any;
11
+ }[];
12
+ setSelectedFilters: (new_value: {
13
+ field: string;
14
+ op: SearchFilter["op"];
15
+ data: any;
16
+ }[]) => void;
17
+ i18n: Locale;
18
+ expandedHierarchicalFilters: {
19
+ value_: string[];
20
+ expanded_: boolean;
21
+ }[];
22
+ setExpandedHierarchicalFilters: (new_value: {
23
+ value_: string[];
24
+ expanded_: boolean;
25
+ }[]) => void;
26
+ }): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
27
+ export function ReactFilterBody(react_props: {
28
+ availableFilters: SearchFilter[] | undefined;
29
+ expandedFilters: {
30
+ section_: string;
31
+ expanded_: boolean;
32
+ }[];
33
+ setExpandedFilters: (new_value: {
34
+ section_: string;
35
+ expanded_: boolean;
36
+ }[]) => void;
37
+ selectedFilters: {
38
+ field: string;
39
+ op: SearchFilter["op"];
40
+ data: any;
41
+ }[];
42
+ setSelectedFilters: (new_value: {
43
+ field: string;
44
+ op: SearchFilter["op"];
45
+ data: any;
46
+ }[]) => void;
47
+ i18n: Locale;
48
+ expandedHierarchicalFilters: {
49
+ value_: string[];
50
+ expanded_: boolean;
51
+ }[];
52
+ setExpandedHierarchicalFilters: (new_value: {
53
+ value_: string[];
54
+ expanded_: boolean;
55
+ }[]) => void;
56
+ hideClearAllButton?: boolean;
57
+ }): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
package/dist/main.js ADDED
@@ -0,0 +1,152 @@
1
+ var $7jsgb$depictaiutilishared = require("@depict-ai/utilishared");
2
+ var $7jsgb$solidjs = require("solid-js");
3
+ var $7jsgb$depictaiui = require("@depict-ai/ui");
4
+ var $7jsgb$solidjsweb = require("solid-js/web");
5
+ var $7jsgb$react = require("react");
6
+ var $7jsgb$solidjsstore = require("solid-js/store");
7
+
8
+ function $parcel$export(e, n, v, s) {
9
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
10
+ }
11
+
12
+ $parcel$export(module.exports, "ReactSelectedFilters", () => $847ac8ccd5089f8b$export$aea1707d7b01c3a2);
13
+ $parcel$export(module.exports, "ReactFilterBody", () => $d1927de554e8e7c1$export$d929db7fb6179159);
14
+ $parcel$export(module.exports, "version", () => $0a017be3a74fcc94$export$83d89fbfd8236492);
15
+ /*! Depict.ai portal components */ // This is where the actual source of your React stuff should live
16
+ const $0a017be3a74fcc94$export$83d89fbfd8236492 = "0.0.2";
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+ function $d38f1fd3cc4cd6b2$export$f6e64e17bd69eeef({ solid_component: solid_component , props: props , wrapper_type: wrapper_type = "div" , wrapper_style: wrapper_style = {} }) {
25
+ const wrapper_element_ref = (0, $7jsgb$react.useRef)();
26
+ const [[store, write_store]] = (0, $7jsgb$react.useState)(()=>(0, $7jsgb$solidjsstore.createStore)(props));
27
+ // Update store when props change
28
+ write_store((0, $7jsgb$solidjsstore.reconcile)(props));
29
+ (0, $7jsgb$react.useEffect)(()=>{
30
+ const wrapper_element = wrapper_element_ref.current;
31
+ // If someone only rendered a solid component on the client that *could* be hydrated (no childNodes) then we fall back to `render` to avoid solid complaining about not being able to hydrate or crashing because the result of generateHydrationScript hasn't run at all
32
+ // This can happen for HMR or when SSR capable components are only rendered on the client
33
+ const dispose = (0, $7jsgb$solidjsweb.render)(()=>solid_component(store), wrapper_element);
34
+ return dispose;
35
+ }, []);
36
+ return (0, $7jsgb$react.createElement)(wrapper_type, {
37
+ ref: wrapper_element_ref,
38
+ style: wrapper_style,
39
+ className: "depict plp"
40
+ });
41
+ }
42
+
43
+
44
+
45
+ function $a1efb49ef2dfa3c2$export$32717ad33b14d079(get_value, get_set_function) {
46
+ const return_value = [
47
+ get_value,
48
+ (newValueOrFunction)=>{
49
+ if (typeof newValueOrFunction == "function") {
50
+ const old_value = (0, $7jsgb$solidjs.untrack)(get_value);
51
+ const new_value = newValueOrFunction(old_value);
52
+ (0, $7jsgb$solidjs.untrack)(get_set_function)(new_value);
53
+ } else (0, $7jsgb$solidjs.untrack)(get_set_function)(newValueOrFunction);
54
+ return undefined;
55
+ }
56
+ ];
57
+ return return_value;
58
+ }
59
+
60
+
61
+
62
+ /**
63
+ * Like solid's unwrap but it's reactive. Needed because one can't just save a property in a store and later re-assign it to the same thing because one doesn't get a reference to a property but rather a proxy to it, which's value will update.
64
+ * Kudos to GPT
65
+ */ function $cda4d49195533221$export$9e813794a2dd0d69(obj, hash = new WeakMap()) {
66
+ if (obj === null || obj === undefined) return obj; // If the object is null or undefined, return it as is
67
+ if (obj instanceof Date) return new Date(obj); // Date object
68
+ if (obj instanceof RegExp) return new RegExp(obj); // Regular Expression object
69
+ if (typeof obj !== "object") return obj; // If the object is not an object (i.e., primitive), return it as is
70
+ if (hash.has(obj)) return hash.get(obj); // If this object has been seen before, return the new object reference
71
+ const result = obj instanceof Array ? [] : {}; // Create a new object or array
72
+ hash.set(obj, result); // Set the new object reference in the hash
73
+ // Recursively copy properties from the original object to the new one
74
+ for(let key in obj)if (obj.hasOwnProperty(key)) result[key] = $cda4d49195533221$export$9e813794a2dd0d69(obj[key], hash);
75
+ return result;
76
+ }
77
+
78
+
79
+ function $847ac8ccd5089f8b$export$aea1707d7b01c3a2(react_props) {
80
+ return (0, $d38f1fd3cc4cd6b2$export$f6e64e17bd69eeef)({
81
+ solid_component: (props_store)=>{
82
+ const [get_search_sorting_open_] = (0, $7jsgb$solidjs.createSignal)(false);
83
+ const local_filter_cache_ = (0, $7jsgb$solidjs.createSignal)([]);
84
+ const number_of_rendered_selected_filters_items_ = (0, $7jsgb$solidjs.createSignal)(0);
85
+ const i18n_ = (0, $7jsgb$depictaiui.accessor_of_object_to_object_with_accessor_values)(()=>props_store.i18n);
86
+ const selected_filters_ = (0, $a1efb49ef2dfa3c2$export$32717ad33b14d079)((0, $7jsgb$solidjs.createMemo)(()=>(0, $cda4d49195533221$export$9e813794a2dd0d69)(props_store.selectedFilters)), ()=>props_store.setSelectedFilters);
87
+ const available_filters_ = ()=>props_store.availableFilters;
88
+ (0, $7jsgb$depictaiui.create_modified_filters)({
89
+ available_filters_: available_filters_,
90
+ selected_filters_: selected_filters_,
91
+ local_filter_cache_: local_filter_cache_
92
+ });
93
+ return (0, $7jsgb$depictaiui.SelectedFilters)({
94
+ get_search_sorting_open_: get_search_sorting_open_,
95
+ get_search_filters_open_: ()=>props_store.hidden ?? false,
96
+ expanded_hierarchical_filters_: (0, $a1efb49ef2dfa3c2$export$32717ad33b14d079)(()=>props_store.expandedHierarchicalFilters, ()=>props_store.setExpandedHierarchicalFilters),
97
+ number_of_rendered_selected_filters_items_: number_of_rendered_selected_filters_items_,
98
+ i18n_: i18n_,
99
+ selected_filters_: selected_filters_,
100
+ local_filter_cache_: local_filter_cache_
101
+ });
102
+ },
103
+ props: react_props
104
+ });
105
+ }
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+ function $d1927de554e8e7c1$export$d929db7fb6179159(react_props) {
115
+ return (0, $d38f1fd3cc4cd6b2$export$f6e64e17bd69eeef)({
116
+ solid_component: (props_store)=>{
117
+ const local_filter_cache_ = (0, $7jsgb$solidjs.createSignal)([]);
118
+ const i18n_ = (0, $7jsgb$depictaiui.accessor_of_object_to_object_with_accessor_values)(()=>props_store.i18n);
119
+ const selected_filters_ = (0, $a1efb49ef2dfa3c2$export$32717ad33b14d079)((0, $7jsgb$solidjs.createMemo)(()=>(0, $cda4d49195533221$export$9e813794a2dd0d69)(props_store.selectedFilters)), ()=>props_store.setSelectedFilters);
120
+ const available_filters_ = ()=>props_store.availableFilters;
121
+ (0, $7jsgb$depictaiui.create_modified_filters)({
122
+ available_filters_: available_filters_,
123
+ selected_filters_: selected_filters_,
124
+ local_filter_cache_: local_filter_cache_
125
+ });
126
+ const filter_body = (0, $7jsgb$depictaiui.FilterBody)({
127
+ get are_in_modal_ () {
128
+ return props_store.hideClearAllButton ?? false;
129
+ },
130
+ i18n_: i18n_,
131
+ available_filters_: available_filters_,
132
+ expanded_filters_: (0, $a1efb49ef2dfa3c2$export$32717ad33b14d079)(()=>props_store.expandedFilters, ()=>props_store.setExpandedFilters),
133
+ selected_filters_: selected_filters_,
134
+ expanded_hierarchical_filters_: (0, $a1efb49ef2dfa3c2$export$32717ad33b14d079)(()=>props_store.expandedHierarchicalFilters, ()=>props_store.setExpandedHierarchicalFilters),
135
+ local_filter_cache_: local_filter_cache_
136
+ });
137
+ const filters = document.createElement("div");
138
+ filters.classList.add("filters");
139
+ const body = document.createElement("div");
140
+ body.classList.add("body");
141
+ (0, $7jsgb$solidjsweb.insert)(body, filter_body);
142
+ filters.append(body);
143
+ return filters;
144
+ },
145
+ props: react_props
146
+ });
147
+ }
148
+
149
+
150
+ (0, $7jsgb$depictaiutilishared.add_to_version_info)("react-ui", (0, $0a017be3a74fcc94$export$83d89fbfd8236492));
151
+
152
+
package/dist/module.js ADDED
@@ -0,0 +1,146 @@
1
+ import {add_to_version_info as $2MCgq$add_to_version_info} from "@depict-ai/utilishared";
2
+ import {createSignal as $2MCgq$createSignal, createMemo as $2MCgq$createMemo, untrack as $2MCgq$untrack} from "solid-js";
3
+ import {accessor_of_object_to_object_with_accessor_values as $2MCgq$accessor_of_object_to_object_with_accessor_values, create_modified_filters as $2MCgq$create_modified_filters, SelectedFilters as $2MCgq$SelectedFilters, FilterBody as $2MCgq$FilterBody} from "@depict-ai/ui";
4
+ import {render as $2MCgq$render, insert as $2MCgq$insert} from "solid-js/web";
5
+ import {useRef as $2MCgq$useRef, useState as $2MCgq$useState, useEffect as $2MCgq$useEffect, createElement as $2MCgq$createElement} from "react";
6
+ import {createStore as $2MCgq$createStore, reconcile as $2MCgq$reconcile} from "solid-js/store";
7
+
8
+ /*! Depict.ai portal components */ // This is where the actual source of your React stuff should live
9
+ const $91c11b750e80ede3$export$83d89fbfd8236492 = "0.0.2";
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+ function $0fe03f2fcd2418f8$export$f6e64e17bd69eeef({ solid_component: solid_component , props: props , wrapper_type: wrapper_type = "div" , wrapper_style: wrapper_style = {} }) {
18
+ const wrapper_element_ref = (0, $2MCgq$useRef)();
19
+ const [[store, write_store]] = (0, $2MCgq$useState)(()=>(0, $2MCgq$createStore)(props));
20
+ // Update store when props change
21
+ write_store((0, $2MCgq$reconcile)(props));
22
+ (0, $2MCgq$useEffect)(()=>{
23
+ const wrapper_element = wrapper_element_ref.current;
24
+ // If someone only rendered a solid component on the client that *could* be hydrated (no childNodes) then we fall back to `render` to avoid solid complaining about not being able to hydrate or crashing because the result of generateHydrationScript hasn't run at all
25
+ // This can happen for HMR or when SSR capable components are only rendered on the client
26
+ const dispose = (0, $2MCgq$render)(()=>solid_component(store), wrapper_element);
27
+ return dispose;
28
+ }, []);
29
+ return (0, $2MCgq$createElement)(wrapper_type, {
30
+ ref: wrapper_element_ref,
31
+ style: wrapper_style,
32
+ className: "depict plp"
33
+ });
34
+ }
35
+
36
+
37
+
38
+ function $d899f63cec76a884$export$32717ad33b14d079(get_value, get_set_function) {
39
+ const return_value = [
40
+ get_value,
41
+ (newValueOrFunction)=>{
42
+ if (typeof newValueOrFunction == "function") {
43
+ const old_value = (0, $2MCgq$untrack)(get_value);
44
+ const new_value = newValueOrFunction(old_value);
45
+ (0, $2MCgq$untrack)(get_set_function)(new_value);
46
+ } else (0, $2MCgq$untrack)(get_set_function)(newValueOrFunction);
47
+ return undefined;
48
+ }
49
+ ];
50
+ return return_value;
51
+ }
52
+
53
+
54
+
55
+ /**
56
+ * Like solid's unwrap but it's reactive. Needed because one can't just save a property in a store and later re-assign it to the same thing because one doesn't get a reference to a property but rather a proxy to it, which's value will update.
57
+ * Kudos to GPT
58
+ */ function $1cd090738b4f65ff$export$9e813794a2dd0d69(obj, hash = new WeakMap()) {
59
+ if (obj === null || obj === undefined) return obj; // If the object is null or undefined, return it as is
60
+ if (obj instanceof Date) return new Date(obj); // Date object
61
+ if (obj instanceof RegExp) return new RegExp(obj); // Regular Expression object
62
+ if (typeof obj !== "object") return obj; // If the object is not an object (i.e., primitive), return it as is
63
+ if (hash.has(obj)) return hash.get(obj); // If this object has been seen before, return the new object reference
64
+ const result = obj instanceof Array ? [] : {}; // Create a new object or array
65
+ hash.set(obj, result); // Set the new object reference in the hash
66
+ // Recursively copy properties from the original object to the new one
67
+ for(let key in obj)if (obj.hasOwnProperty(key)) result[key] = $1cd090738b4f65ff$export$9e813794a2dd0d69(obj[key], hash);
68
+ return result;
69
+ }
70
+
71
+
72
+ function $9121beb5225e68fe$export$aea1707d7b01c3a2(react_props) {
73
+ return (0, $0fe03f2fcd2418f8$export$f6e64e17bd69eeef)({
74
+ solid_component: (props_store)=>{
75
+ const [get_search_sorting_open_] = (0, $2MCgq$createSignal)(false);
76
+ const local_filter_cache_ = (0, $2MCgq$createSignal)([]);
77
+ const number_of_rendered_selected_filters_items_ = (0, $2MCgq$createSignal)(0);
78
+ const i18n_ = (0, $2MCgq$accessor_of_object_to_object_with_accessor_values)(()=>props_store.i18n);
79
+ const selected_filters_ = (0, $d899f63cec76a884$export$32717ad33b14d079)((0, $2MCgq$createMemo)(()=>(0, $1cd090738b4f65ff$export$9e813794a2dd0d69)(props_store.selectedFilters)), ()=>props_store.setSelectedFilters);
80
+ const available_filters_ = ()=>props_store.availableFilters;
81
+ (0, $2MCgq$create_modified_filters)({
82
+ available_filters_: available_filters_,
83
+ selected_filters_: selected_filters_,
84
+ local_filter_cache_: local_filter_cache_
85
+ });
86
+ return (0, $2MCgq$SelectedFilters)({
87
+ get_search_sorting_open_: get_search_sorting_open_,
88
+ get_search_filters_open_: ()=>props_store.hidden ?? false,
89
+ expanded_hierarchical_filters_: (0, $d899f63cec76a884$export$32717ad33b14d079)(()=>props_store.expandedHierarchicalFilters, ()=>props_store.setExpandedHierarchicalFilters),
90
+ number_of_rendered_selected_filters_items_: number_of_rendered_selected_filters_items_,
91
+ i18n_: i18n_,
92
+ selected_filters_: selected_filters_,
93
+ local_filter_cache_: local_filter_cache_
94
+ });
95
+ },
96
+ props: react_props
97
+ });
98
+ }
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ function $74910c55affb3673$export$d929db7fb6179159(react_props) {
108
+ return (0, $0fe03f2fcd2418f8$export$f6e64e17bd69eeef)({
109
+ solid_component: (props_store)=>{
110
+ const local_filter_cache_ = (0, $2MCgq$createSignal)([]);
111
+ const i18n_ = (0, $2MCgq$accessor_of_object_to_object_with_accessor_values)(()=>props_store.i18n);
112
+ const selected_filters_ = (0, $d899f63cec76a884$export$32717ad33b14d079)((0, $2MCgq$createMemo)(()=>(0, $1cd090738b4f65ff$export$9e813794a2dd0d69)(props_store.selectedFilters)), ()=>props_store.setSelectedFilters);
113
+ const available_filters_ = ()=>props_store.availableFilters;
114
+ (0, $2MCgq$create_modified_filters)({
115
+ available_filters_: available_filters_,
116
+ selected_filters_: selected_filters_,
117
+ local_filter_cache_: local_filter_cache_
118
+ });
119
+ const filter_body = (0, $2MCgq$FilterBody)({
120
+ get are_in_modal_ () {
121
+ return props_store.hideClearAllButton ?? false;
122
+ },
123
+ i18n_: i18n_,
124
+ available_filters_: available_filters_,
125
+ expanded_filters_: (0, $d899f63cec76a884$export$32717ad33b14d079)(()=>props_store.expandedFilters, ()=>props_store.setExpandedFilters),
126
+ selected_filters_: selected_filters_,
127
+ expanded_hierarchical_filters_: (0, $d899f63cec76a884$export$32717ad33b14d079)(()=>props_store.expandedHierarchicalFilters, ()=>props_store.setExpandedHierarchicalFilters),
128
+ local_filter_cache_: local_filter_cache_
129
+ });
130
+ const filters = document.createElement("div");
131
+ filters.classList.add("filters");
132
+ const body = document.createElement("div");
133
+ body.classList.add("body");
134
+ (0, $2MCgq$insert)(body, filter_body);
135
+ filters.append(body);
136
+ return filters;
137
+ },
138
+ props: react_props
139
+ });
140
+ }
141
+
142
+
143
+ (0, $2MCgq$add_to_version_info)("react-ui", (0, $91c11b750e80ede3$export$83d89fbfd8236492));
144
+
145
+
146
+ export {$9121beb5225e68fe$export$aea1707d7b01c3a2 as ReactSelectedFilters, $74910c55affb3673$export$d929db7fb6179159 as ReactFilterBody, $91c11b750e80ede3$export$83d89fbfd8236492 as version};
@@ -0,0 +1 @@
1
+ @forward "@depict-ai/plp-styling";
package/package.json ADDED
@@ -0,0 +1,111 @@
1
+ {
2
+ "name": "@depict-ai/portal-components",
3
+ "version": "0.0.2",
4
+ "packageManager": "yarn@3.2.2",
5
+ "source": "src/index.ts",
6
+ "main": "dist/main.js",
7
+ "module": "dist/module.js",
8
+ "types": "dist/index.d.ts",
9
+ "sass": "dist/styles/index.scss",
10
+ "license": "MIT",
11
+ "description": "Components for the Depict Portal",
12
+ "publishConfig": {
13
+ "access": "restricted"
14
+ },
15
+ "scripts": {
16
+ "clear-dist": "rm -r -f ./dist",
17
+ "build": "node ./build-scripts/pre_build.js && mkdir -p dist/styles && parcel build --no-source-maps && node ./build-scripts/post_build.js",
18
+ "print-included-package-files": "yarn pack --dry-run",
19
+ "typecheck": "yarn g:tsc --build tsconfig.json",
20
+ "publish": "yarn build && yarn npm publish"
21
+ },
22
+ "targets": {
23
+ "main": {
24
+ "isLibrary": true,
25
+ "context": "node",
26
+ "engines": {
27
+ "browsers": "last 1 chrome version"
28
+ },
29
+ "optimize": false
30
+ },
31
+ "module": {
32
+ "isLibrary": true,
33
+ "context": "node",
34
+ "engines": {
35
+ "browsers": "last 1 chrome version"
36
+ },
37
+ "optimize": false
38
+ }
39
+ },
40
+ "exports": {
41
+ ".": {
42
+ "browser": {
43
+ "development": {
44
+ "import": {
45
+ "types": "./dist/index.d.ts",
46
+ "default": "./dist/module.js"
47
+ },
48
+ "require": "./dist/main.js"
49
+ },
50
+ "import": {
51
+ "types": "./dist/index.d.ts",
52
+ "default": "./dist/module.js"
53
+ },
54
+ "require": "./dist/main.js",
55
+ "sass": "./dist/styles/index.scss"
56
+ },
57
+ "development": {
58
+ "import": {
59
+ "types": "./dist/index.d.ts",
60
+ "default": "./dist/module.js"
61
+ },
62
+ "require": "./dist/main.js",
63
+ "sass": "./dist/styles/index.scss"
64
+ },
65
+ "import": {
66
+ "sass": "./dist/styles/index.scss",
67
+ "types": "./dist/index.d.ts",
68
+ "default": "./dist/module.js"
69
+ },
70
+ "require": "./dist/main.js",
71
+ "sass": "./dist/styles/index.scss"
72
+ },
73
+ "./styles/*": "./dist/styles/*"
74
+ },
75
+ "files": [
76
+ "/dist",
77
+ "README.md"
78
+ ],
79
+ "dependencies": {
80
+ "@depict-ai/plp-styling": "^1.0.28",
81
+ "@depict-ai/react-ui": "^1.3.9",
82
+ "@depict-ai/types": "^1.0.31",
83
+ "@depict-ai/ui": "^1.3.8",
84
+ "@depict-ai/utilishared": "^1.0.27",
85
+ "solid-js": "^1.7.3"
86
+ },
87
+ "peerDependencies": {
88
+ "react": ">= 16.14.0",
89
+ "react-dom": ">= 16.14.0",
90
+ "sass": ">= 1.54.6"
91
+ },
92
+ "devDependencies": {
93
+ "@babel/core": "latest",
94
+ "@babel/preset-env": "latest",
95
+ "@babel/preset-typescript": "latest",
96
+ "@babel/runtime": "latest",
97
+ "@babel/runtime-corejs3": "latest",
98
+ "@depict-ai/plp-styling": "^1.0.28",
99
+ "@parcel/babel-preset-env": "latest",
100
+ "@parcel/resolver-default": "^2.8.0",
101
+ "@parcel/transformer-sass": "latest",
102
+ "@types/node": "^18.11.11",
103
+ "@types/react": "^18.0.26",
104
+ "@types/react-dom": "^18.0.10",
105
+ "babel-preset-solid": "latest",
106
+ "parcel": "latest",
107
+ "react": "^18.2.0",
108
+ "react-dom": "^18.2.0",
109
+ "ts-jest": "^29.0.5"
110
+ }
111
+ }