@blocklet/pages-kit 0.2.263 → 0.2.265
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/lib/cjs/builtin/immer.js +17 -0
- package/lib/cjs/utils/builtin.js +2 -0
- package/lib/cjs/utils/inject-global-components.js +2 -0
- package/lib/esm/builtin/immer.js +1 -0
- package/lib/esm/utils/builtin.js +2 -0
- package/lib/esm/utils/inject-global-components.js +2 -0
- package/lib/types/builtin/immer.d.ts +1 -0
- package/lib/types/utils/builtin.d.ts +2 -0
- package/package.json +9 -8
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("immer"), exports);
|
package/lib/cjs/utils/builtin.js
CHANGED
|
@@ -28,6 +28,7 @@ const reactScrollToBottom = __importStar(require("../builtin/async/react-scroll-
|
|
|
28
28
|
const call = __importStar(require("../builtin/call"));
|
|
29
29
|
const emotionCss = __importStar(require("../builtin/emotion/css"));
|
|
30
30
|
const iconifyReact = __importStar(require("../builtin/iconify/react"));
|
|
31
|
+
const immer = __importStar(require("../builtin/immer"));
|
|
31
32
|
const muiLab = __importStar(require("../builtin/mui/lab"));
|
|
32
33
|
const muiMaterial = __importStar(require("../builtin/mui/material"));
|
|
33
34
|
const react = __importStar(require("../builtin/react"));
|
|
@@ -53,6 +54,7 @@ exports.BuiltinModules = {
|
|
|
53
54
|
// eslint-disable-next-line global-require
|
|
54
55
|
'@blocklet/pages-kit/builtin/zustand': require('zustand'),
|
|
55
56
|
'@blocklet/pages-kit/builtin/zustand/middleware/immer': zustandMiddlewareImmer,
|
|
57
|
+
'@blocklet/pages-kit/builtin/immer': immer,
|
|
56
58
|
'@blocklet/pages-kit/builtin/react-wrap-balancer': reactWrapBalancer,
|
|
57
59
|
'@blocklet/pages-kit/builtin/react-router-dom': reactRouterDOM,
|
|
58
60
|
// The following packages are lazy loading
|
|
@@ -30,6 +30,7 @@ const reactScrollToBottom = __importStar(require("../builtin/async/react-scroll-
|
|
|
30
30
|
const call = __importStar(require("../builtin/call"));
|
|
31
31
|
const emotionCss = __importStar(require("../builtin/emotion/css"));
|
|
32
32
|
const iconifyReact = __importStar(require("../builtin/iconify/react"));
|
|
33
|
+
const immer = __importStar(require("../builtin/immer"));
|
|
33
34
|
const locale = __importStar(require("../builtin/locale"));
|
|
34
35
|
const muiLab = __importStar(require("../builtin/mui/lab"));
|
|
35
36
|
const muiMaterial = __importStar(require("../builtin/mui/material"));
|
|
@@ -57,6 +58,7 @@ function injectGlobalComponents() {
|
|
|
57
58
|
'@blocklet/pages-kit/builtin/iconify/react': iconifyReact,
|
|
58
59
|
'@blocklet/pages-kit/builtin/zustand': zustand,
|
|
59
60
|
'@blocklet/pages-kit/builtin/zustand/middleware/immer': zustandMiddlewareImmer,
|
|
61
|
+
'@blocklet/pages-kit/builtin/immer': immer,
|
|
60
62
|
'@blocklet/pages-kit/builtin/react-wrap-balancer': reactWrapBalancer,
|
|
61
63
|
'@blocklet/pages-kit/builtin/call': call,
|
|
62
64
|
'@blocklet/pages-kit/builtin/stream': stream,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from 'immer';
|
package/lib/esm/utils/builtin.js
CHANGED
|
@@ -2,6 +2,7 @@ import * as reactScrollToBottom from '../builtin/async/react-scroll-to-bottom';
|
|
|
2
2
|
import * as call from '../builtin/call';
|
|
3
3
|
import * as emotionCss from '../builtin/emotion/css';
|
|
4
4
|
import * as iconifyReact from '../builtin/iconify/react';
|
|
5
|
+
import * as immer from '../builtin/immer';
|
|
5
6
|
import * as muiLab from '../builtin/mui/lab';
|
|
6
7
|
import * as muiMaterial from '../builtin/mui/material';
|
|
7
8
|
import * as react from '../builtin/react';
|
|
@@ -27,6 +28,7 @@ export const BuiltinModules = {
|
|
|
27
28
|
// eslint-disable-next-line global-require
|
|
28
29
|
'@blocklet/pages-kit/builtin/zustand': require('zustand'),
|
|
29
30
|
'@blocklet/pages-kit/builtin/zustand/middleware/immer': zustandMiddlewareImmer,
|
|
31
|
+
'@blocklet/pages-kit/builtin/immer': immer,
|
|
30
32
|
'@blocklet/pages-kit/builtin/react-wrap-balancer': reactWrapBalancer,
|
|
31
33
|
'@blocklet/pages-kit/builtin/react-router-dom': reactRouterDOM,
|
|
32
34
|
// The following packages are lazy loading
|
|
@@ -5,6 +5,7 @@ import * as reactScrollToBottom from '../builtin/async/react-scroll-to-bottom';
|
|
|
5
5
|
import * as call from '../builtin/call';
|
|
6
6
|
import * as emotionCss from '../builtin/emotion/css';
|
|
7
7
|
import * as iconifyReact from '../builtin/iconify/react';
|
|
8
|
+
import * as immer from '../builtin/immer';
|
|
8
9
|
import * as locale from '../builtin/locale';
|
|
9
10
|
import * as muiLab from '../builtin/mui/lab';
|
|
10
11
|
import * as muiMaterial from '../builtin/mui/material';
|
|
@@ -32,6 +33,7 @@ function injectGlobalComponents() {
|
|
|
32
33
|
'@blocklet/pages-kit/builtin/iconify/react': iconifyReact,
|
|
33
34
|
'@blocklet/pages-kit/builtin/zustand': zustand,
|
|
34
35
|
'@blocklet/pages-kit/builtin/zustand/middleware/immer': zustandMiddlewareImmer,
|
|
36
|
+
'@blocklet/pages-kit/builtin/immer': immer,
|
|
35
37
|
'@blocklet/pages-kit/builtin/react-wrap-balancer': reactWrapBalancer,
|
|
36
38
|
'@blocklet/pages-kit/builtin/call': call,
|
|
37
39
|
'@blocklet/pages-kit/builtin/stream': stream,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from 'immer';
|
|
@@ -2,6 +2,7 @@ import * as reactScrollToBottom from '../builtin/async/react-scroll-to-bottom';
|
|
|
2
2
|
import * as call from '../builtin/call';
|
|
3
3
|
import * as emotionCss from '../builtin/emotion/css';
|
|
4
4
|
import * as iconifyReact from '../builtin/iconify/react';
|
|
5
|
+
import * as immer from '../builtin/immer';
|
|
5
6
|
import * as muiLab from '../builtin/mui/lab';
|
|
6
7
|
import * as muiMaterial from '../builtin/mui/material';
|
|
7
8
|
import * as react from '../builtin/react';
|
|
@@ -23,6 +24,7 @@ export declare const BuiltinModules: {
|
|
|
23
24
|
'@blocklet/pages-kit/builtin/iconify/react': typeof iconifyReact;
|
|
24
25
|
'@blocklet/pages-kit/builtin/zustand': any;
|
|
25
26
|
'@blocklet/pages-kit/builtin/zustand/middleware/immer': typeof zustandMiddlewareImmer;
|
|
27
|
+
'@blocklet/pages-kit/builtin/immer': typeof immer;
|
|
26
28
|
'@blocklet/pages-kit/builtin/react-wrap-balancer': typeof reactWrapBalancer;
|
|
27
29
|
'@blocklet/pages-kit/builtin/react-router-dom': typeof reactRouterDOM;
|
|
28
30
|
'@blocklet/pages-kit/builtin/async/react-scroll-to-bottom': typeof reactScrollToBottom;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/pages-kit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.265",
|
|
4
4
|
"description": "Pages Kit components and utils",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -93,10 +93,11 @@
|
|
|
93
93
|
"prepare": "npm run build"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@arcblock/did-connect": "^2.9.
|
|
96
|
+
"@arcblock/did-connect": "^2.9.52",
|
|
97
|
+
"@blocklet/ai-kit": "^0.1.24",
|
|
97
98
|
"@blocklet/sdk": "^1.16.24",
|
|
98
99
|
"@iconify/react": "^4.1.1",
|
|
99
|
-
"axios": "^1.6.
|
|
100
|
+
"axios": "^1.6.8",
|
|
100
101
|
"eventsource-parser": "^1.1.2",
|
|
101
102
|
"immer": "^10.0.4",
|
|
102
103
|
"lodash": "^4.17.21",
|
|
@@ -104,12 +105,12 @@
|
|
|
104
105
|
"node-fetch": "^2.7.0",
|
|
105
106
|
"react-error-boundary": "^4.0.13",
|
|
106
107
|
"react-frame-component": "^5.2.6",
|
|
107
|
-
"react-hook-form": "^7.51.
|
|
108
|
+
"react-hook-form": "^7.51.1",
|
|
108
109
|
"react-markdown": "^9.0.1",
|
|
109
110
|
"react-scroll-to-bottom": "^4.2.0",
|
|
110
111
|
"react-wrap-balancer": "^1.1.0",
|
|
111
112
|
"typescript": "^5.4.2",
|
|
112
|
-
"ufo": "^1.
|
|
113
|
+
"ufo": "^1.5.1",
|
|
113
114
|
"zustand": "^4.5.2"
|
|
114
115
|
},
|
|
115
116
|
"peerDependencies": {
|
|
@@ -126,7 +127,7 @@
|
|
|
126
127
|
"react-router-dom": "^6.16.0"
|
|
127
128
|
},
|
|
128
129
|
"devDependencies": {
|
|
129
|
-
"@arcblock/ux": "^2.9.
|
|
130
|
+
"@arcblock/ux": "^2.9.52",
|
|
130
131
|
"@emotion/cache": "^11.11.0",
|
|
131
132
|
"@emotion/css": "^11.11.2",
|
|
132
133
|
"@emotion/react": "^11.11.4",
|
|
@@ -136,9 +137,9 @@
|
|
|
136
137
|
"@types/lodash": "^4.17.0",
|
|
137
138
|
"@types/mustache": "^4.2.5",
|
|
138
139
|
"@types/node-fetch": "^2.6.11",
|
|
139
|
-
"@types/react": "^18.2.
|
|
140
|
+
"@types/react": "^18.2.66",
|
|
140
141
|
"@types/react-scroll-to-bottom": "^4.2.5",
|
|
141
|
-
"axios": "^1.6.
|
|
142
|
+
"axios": "^1.6.8",
|
|
142
143
|
"npm-run-all": "^4.1.5",
|
|
143
144
|
"react": "^18.2.0",
|
|
144
145
|
"react-dom": "^18.2.0",
|