@blocklet/pages-kit-inner-components 0.6.56 → 0.6.58
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/add-component.js +1 -1
- package/lib/cjs/chunks/{components-D1oFQM3W.js → components-DLLpFRy5.js} +5 -5
- package/lib/cjs/chunks/{home-CxJudZ-U.js → home-2t0FjInN.js} +2 -2
- package/lib/cjs/chunks/{index-79qE0mDH.js → index-BwUYb5CK.js} +27 -27
- package/lib/cjs/chunks/{publish-button-DrD1Kp9x.js → publish-button-BFUtnsXK.js} +1 -1
- package/lib/cjs/chunks/{site-state-CD14QPqL.js → site-state-BfeN81ZD.js} +1 -1
- package/lib/cjs/components.js +1 -1
- package/lib/cjs/home.js +1 -1
- package/lib/cjs/locales.js +2 -2
- package/lib/cjs/project-html.js +1 -1
- package/lib/cjs/resources.js +1 -1
- package/lib/cjs/site-state.js +1 -1
- package/lib/es/add-component.js +1 -1
- package/lib/es/chunks/{components-6zI6vrkL.js → components-DLwSTd_N.js} +87 -89
- package/lib/es/chunks/{home-wfZyBMVs.js → home-DUJ_lpjz.js} +2 -2
- package/lib/es/chunks/{index-D5PTMZdg.js → index-D06Hm7OJ.js} +401 -405
- package/lib/es/chunks/{publish-button-D7lFOwKk.js → publish-button-CDFjcpWg.js} +2 -2
- package/lib/es/chunks/{site-state-Dta8F9zq.js → site-state-CVKixevr.js} +1 -1
- package/lib/es/components.js +1 -1
- package/lib/es/home.js +2 -2
- package/lib/es/locales.js +24 -6
- package/lib/es/project-html.js +1 -1
- package/lib/es/resources.js +2 -2
- package/lib/es/site-state.js +2 -2
- package/package.json +14 -17
|
@@ -10,8 +10,8 @@ import { produce as De } from "immer";
|
|
|
10
10
|
import Z from "lodash/difference";
|
|
11
11
|
import { useState as D, useMemo as C, useCallback as O, useImperativeHandle as Oe, useEffect as E, useRef as Ae } from "react";
|
|
12
12
|
import { useAsync as je } from "react-use";
|
|
13
|
-
import { L as ve } from "./home-
|
|
14
|
-
import { p as Ce, g as Re } from "./index-
|
|
13
|
+
import { L as ve } from "./home-DUJ_lpjz.js";
|
|
14
|
+
import { p as Ce, g as Re } from "./index-D06Hm7OJ.js";
|
|
15
15
|
function ze(s) {
|
|
16
16
|
const [u, g] = D(!1);
|
|
17
17
|
return /* @__PURE__ */ t(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as $e, l as f, I as Qe, c as Xe, m as Ze, b as et } from "./components-
|
|
1
|
+
import { d as $e, l as f, I as Qe, c as Xe, m as Ze, b as et } from "./components-DLwSTd_N.js";
|
|
2
2
|
import { getYjsValue as V, syncedStore as tt } from "@syncedstore/core";
|
|
3
3
|
import * as N from "yjs";
|
|
4
4
|
import { setPageDataSource as st } from "@blocklet/pages-kit/utils/data-source";
|
package/lib/es/components.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as S, G as _, e as c, f as E, c as d, k as P, n as N, b as O, j as g, g as I, h as T, s as h } from "./chunks/components-
|
|
1
|
+
import { C as S, G as _, e as c, f as E, c as d, k as P, n as N, b as O, j as g, g as I, h as T, s as h } from "./chunks/components-DLwSTd_N.js";
|
|
2
2
|
import "@blocklet/pages-kit/builtin/utils";
|
|
3
3
|
import "@blocklet/pages-kit/types";
|
|
4
4
|
import "@blocklet/pages-kit/utils/builtin";
|
package/lib/es/home.js
CHANGED
|
@@ -21,8 +21,8 @@ import "react-helmet";
|
|
|
21
21
|
import "react-router-dom";
|
|
22
22
|
import "react-use";
|
|
23
23
|
import "ufo";
|
|
24
|
-
import "./chunks/index-
|
|
25
|
-
import { a as R, e as S, P as W, d as j, c as k, b as q, T as v, H as z } from "./chunks/home-
|
|
24
|
+
import "./chunks/index-D06Hm7OJ.js";
|
|
25
|
+
import { a as R, e as S, P as W, d as j, c as k, b as q, T as v, H as z } from "./chunks/home-DUJ_lpjz.js";
|
|
26
26
|
import "./chunks/session-Dx5M-1r2.js";
|
|
27
27
|
export {
|
|
28
28
|
R as HomeView,
|
package/lib/es/locales.js
CHANGED
|
@@ -447,8 +447,8 @@ const t = e({
|
|
|
447
447
|
improve: "Improve"
|
|
448
448
|
},
|
|
449
449
|
status: {
|
|
450
|
-
install: "Check whether the
|
|
451
|
-
unavailable: "Check whether the
|
|
450
|
+
install: "Check whether the AIGNE Hub is initialized",
|
|
451
|
+
unavailable: "Check whether the AIGNE Hub is set properly"
|
|
452
452
|
}
|
|
453
453
|
},
|
|
454
454
|
translate: {
|
|
@@ -473,8 +473,17 @@ const t = e({
|
|
|
473
473
|
failedFor: "Translation failed for",
|
|
474
474
|
translating: "Translating...",
|
|
475
475
|
field: "Field",
|
|
476
|
+
fields: "Fields",
|
|
477
|
+
unsupportedFieldType: "Unsupported field type",
|
|
478
|
+
expandAll: "Expand all groups",
|
|
479
|
+
collapseAll: "Collapse all groups",
|
|
476
480
|
unsavedChanges: "You have unsaved changes. Do you want to save before closing?",
|
|
477
|
-
templateSyncTip: "You only need to maintain one language version of your page template. We will automatically sync the template configuration while handling translations."
|
|
481
|
+
templateSyncTip: "You only need to maintain one language version of your page template. We will automatically sync the template configuration while handling translations.",
|
|
482
|
+
updateMode: "Translation Update Mode",
|
|
483
|
+
batchMode: "Batch",
|
|
484
|
+
realtimeMode: "Real-time",
|
|
485
|
+
batchModeDescription: "Update all translations at once after completion (better performance)",
|
|
486
|
+
realtimeModeDescription: "Show each translation result immediately as it arrives (live preview)"
|
|
478
487
|
},
|
|
479
488
|
aiRuntime: {
|
|
480
489
|
aiSettings: "AI Settings",
|
|
@@ -1020,8 +1029,8 @@ const t = e({
|
|
|
1020
1029
|
improve: "改良"
|
|
1021
1030
|
},
|
|
1022
1031
|
status: {
|
|
1023
|
-
install: "请先检查
|
|
1024
|
-
unavailable: "请先检查
|
|
1032
|
+
install: "请先检查 AIGNE Hub 是否已经配置",
|
|
1033
|
+
unavailable: "请先检查 AIGNE Hub 是否正常设置"
|
|
1025
1034
|
}
|
|
1026
1035
|
},
|
|
1027
1036
|
translate: {
|
|
@@ -1046,8 +1055,17 @@ const t = e({
|
|
|
1046
1055
|
failedFor: "翻译失败语言:",
|
|
1047
1056
|
translating: "翻译中...",
|
|
1048
1057
|
field: "字段",
|
|
1058
|
+
fields: "字段",
|
|
1059
|
+
unsupportedFieldType: "不支持的字段类型",
|
|
1060
|
+
expandAll: "展开所有分组",
|
|
1061
|
+
collapseAll: "折叠所有分组",
|
|
1049
1062
|
unsavedChanges: "你有未保存的更改。是否在关闭前保存?",
|
|
1050
|
-
templateSyncTip: "您只需维护一种语言版本的页面模板,我们会在处理翻译的同时,自动同步页面模板的配置。"
|
|
1063
|
+
templateSyncTip: "您只需维护一种语言版本的页面模板,我们会在处理翻译的同时,自动同步页面模板的配置。",
|
|
1064
|
+
updateMode: "翻译更新模式",
|
|
1065
|
+
batchMode: "批量更新",
|
|
1066
|
+
realtimeMode: "实时更新",
|
|
1067
|
+
batchModeDescription: "翻译完成后一次性更新所有内容(性能更佳)",
|
|
1068
|
+
realtimeModeDescription: "每个翻译结果立即显示(实时预览)"
|
|
1051
1069
|
},
|
|
1052
1070
|
aiRuntime: {
|
|
1053
1071
|
aiSettings: "AI 设置",
|
package/lib/es/project-html.js
CHANGED
|
@@ -5,7 +5,7 @@ import B from "@blocklet/sdk/lib/wallet";
|
|
|
5
5
|
import D from "@blocklet/sdk/lib/wallet-authenticator";
|
|
6
6
|
import K from "@blocklet/sdk/lib/wallet-handler";
|
|
7
7
|
import U, { resolve as C } from "path";
|
|
8
|
-
import { l as v, g as W } from "./chunks/components-
|
|
8
|
+
import { l as v, g as W } from "./chunks/components-DLwSTd_N.js";
|
|
9
9
|
import { e as H, i as N } from "./chunks/html-DfzaaIYa.js";
|
|
10
10
|
import { createSnapshotMiddleware as O } from "@arcblock/crawler-middleware";
|
|
11
11
|
import { PreloadComponentScriptModule as R } from "@blocklet/pages-kit/types";
|
package/lib/es/resources.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as A, a as M, l as b } from "./chunks/components-
|
|
2
|
-
import { P as w, C as J, R as X, S as x, t as W, g as G } from "./chunks/site-state-
|
|
1
|
+
import { i as A, a as M, l as b } from "./chunks/components-DLwSTd_N.js";
|
|
2
|
+
import { P as w, C as J, R as X, S as x, t as W, g as G } from "./chunks/site-state-CVKixevr.js";
|
|
3
3
|
import { Router as K } from "express";
|
|
4
4
|
import a from "fs";
|
|
5
5
|
import m from "joi";
|
package/lib/es/site-state.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./chunks/components-
|
|
2
|
-
import { c as O, a as b, b as h, S as y, e as L, f as U, h as q, d as v, g as z, i as C, m as F, t as G, j as J, u as K } from "./chunks/site-state-
|
|
1
|
+
import "./chunks/components-DLwSTd_N.js";
|
|
2
|
+
import { c as O, a as b, b as h, S as y, e as L, f as U, h as q, d as v, g as z, i as C, m as F, t as G, j as J, u as K } from "./chunks/site-state-CVKixevr.js";
|
|
3
3
|
import { nextId as Q } from "@blocklet/pages-kit/utils/common";
|
|
4
4
|
import "@blocklet/pages-kit/utils/page-model";
|
|
5
5
|
import "@blocklet/pages-kit/utils/property";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/pages-kit-inner-components",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.58",
|
|
4
4
|
"description": "Pages Kit inner components library",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -69,21 +69,21 @@
|
|
|
69
69
|
"url": "git+https://github.com/blocklet/pages-kit.git"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@arcblock/did-connect-react": "^3.1.
|
|
72
|
+
"@arcblock/did-connect-react": "^3.1.25",
|
|
73
73
|
"@arcblock/did-connect-storage-nedb": "^1.8.0",
|
|
74
|
-
"@arcblock/react-hooks": "^3.1.
|
|
75
|
-
"@arcblock/ux": "^3.1.
|
|
74
|
+
"@arcblock/react-hooks": "^3.1.25",
|
|
75
|
+
"@arcblock/ux": "^3.1.25",
|
|
76
76
|
"@blocklet/aigne-hub": "^0.3.15",
|
|
77
|
-
"@blocklet/aigne-sdk": "^0.5.
|
|
78
|
-
"@blocklet/code-editor": "^0.5.
|
|
77
|
+
"@blocklet/aigne-sdk": "^0.5.10",
|
|
78
|
+
"@blocklet/code-editor": "^0.5.10",
|
|
79
79
|
"@blocklet/embed": "^0.2.5",
|
|
80
80
|
"@blocklet/js-sdk": "^1.16.48",
|
|
81
81
|
"@blocklet/logger": "1.16.48",
|
|
82
|
-
"@blocklet/quickjs": "^0.5.
|
|
82
|
+
"@blocklet/quickjs": "^0.5.10",
|
|
83
83
|
"@blocklet/sdk": "^1.16.48",
|
|
84
|
-
"@blocklet/studio-ui": "^0.5.
|
|
84
|
+
"@blocklet/studio-ui": "^0.5.10",
|
|
85
85
|
"@blocklet/tracker": "^1.16.48",
|
|
86
|
-
"@blocklet/ui-react": "^3.1.
|
|
86
|
+
"@blocklet/ui-react": "^3.1.25",
|
|
87
87
|
"@blocklet/uploader": "^0.2.7",
|
|
88
88
|
"@blocklet/uploader-server": "^0.2.7",
|
|
89
89
|
"@dnd-kit/core": "^6.3.1",
|
|
@@ -100,7 +100,6 @@
|
|
|
100
100
|
"@iconify/react": "^5.0.2",
|
|
101
101
|
"@lottiefiles/lottie-player": "^2.0.4",
|
|
102
102
|
"@microsoft/fetch-event-source": "^2.0.1",
|
|
103
|
-
"@monaco-editor/react": "^4.6.0",
|
|
104
103
|
"@mui/base": "^5.0.0-beta.40",
|
|
105
104
|
"@mui/icons-material": "^7.1.2",
|
|
106
105
|
"@mui/lab": "^7.0.0-beta.14",
|
|
@@ -108,9 +107,9 @@
|
|
|
108
107
|
"@mui/styles": "^5.16.14",
|
|
109
108
|
"@mui/utils": "^7.1.1",
|
|
110
109
|
"@mui/x-date-pickers": "^8.6.0",
|
|
111
|
-
"@ocap/client": "^1.
|
|
112
|
-
"@ocap/mcrypto": "^1.
|
|
113
|
-
"@ocap/wallet": "^1.
|
|
110
|
+
"@ocap/client": "^1.22.3",
|
|
111
|
+
"@ocap/mcrypto": "^1.22.3",
|
|
112
|
+
"@ocap/wallet": "^1.22.3",
|
|
114
113
|
"@reactivedata/reactive": "^0.2.2",
|
|
115
114
|
"@syncedstore/core": "^0.6.0",
|
|
116
115
|
"@syncedstore/react": "^0.6.0",
|
|
@@ -152,8 +151,6 @@
|
|
|
152
151
|
"lodash": "^4.17.21",
|
|
153
152
|
"lru-cache": "^10.4.3",
|
|
154
153
|
"material-ui-popup-state": "^5.1.2",
|
|
155
|
-
"monaco-editor": "^0.50.0",
|
|
156
|
-
"monaco-vim": "^0.4.1",
|
|
157
154
|
"multer": "^1.4.5-lts.1",
|
|
158
155
|
"mustache": "^4.2.0",
|
|
159
156
|
"nanoid": "^3.3.7",
|
|
@@ -204,8 +201,8 @@
|
|
|
204
201
|
"yaml": "^2.5.0",
|
|
205
202
|
"yjs": "^13.6.18",
|
|
206
203
|
"zustand": "^4.5.5",
|
|
207
|
-
"@blocklet/pages-kit": "^0.6.
|
|
208
|
-
"@blocklet/pages-kit-block-studio": "^0.6.
|
|
204
|
+
"@blocklet/pages-kit": "^0.6.58",
|
|
205
|
+
"@blocklet/pages-kit-block-studio": "^0.6.58"
|
|
209
206
|
},
|
|
210
207
|
"devDependencies": {
|
|
211
208
|
"@trivago/prettier-plugin-sort-imports": "^5.2.1",
|