@abtnode/ux 1.16.24-beta-30f58f8d → 1.16.24-beta-3d2e25fd
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/es/blocklet/component/related-components-dialog.js +21 -17
- package/es/hooks/use-components-by-blocklet-meta-url.js +1 -1
- package/es/locales/ar.js +3 -1
- package/es/locales/de.js +3 -1
- package/es/locales/es.js +3 -1
- package/es/locales/fr.js +3 -1
- package/es/locales/hi.js +3 -1
- package/es/locales/i18n.db +0 -0
- package/es/locales/id.js +3 -1
- package/es/locales/ja.js +3 -1
- package/es/locales/ko.js +3 -1
- package/es/locales/pt.js +3 -1
- package/es/locales/ru.js +3 -1
- package/es/locales/th.js +3 -1
- package/es/locales/vi.js +3 -1
- package/es/locales/zh-tw.js +3 -1
- package/es/locales/zh.js +1 -1
- package/lib/blocklet/component/related-components-dialog.js +21 -17
- package/lib/hooks/use-components-by-blocklet-meta-url.js +1 -1
- package/lib/locales/ar.js +3 -1
- package/lib/locales/de.js +3 -1
- package/lib/locales/es.js +3 -1
- package/lib/locales/fr.js +3 -1
- package/lib/locales/hi.js +3 -1
- package/lib/locales/i18n.db +0 -0
- package/lib/locales/id.js +3 -1
- package/lib/locales/ja.js +3 -1
- package/lib/locales/ko.js +3 -1
- package/lib/locales/pt.js +3 -1
- package/lib/locales/ru.js +3 -1
- package/lib/locales/th.js +3 -1
- package/lib/locales/vi.js +3 -1
- package/lib/locales/zh-tw.js +3 -1
- package/lib/locales/zh.js +1 -1
- package/package.json +7 -7
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
1
|
import Dialog from '@arcblock/ux/lib/Dialog';
|
|
3
2
|
import { useLocaleContext } from '@arcblock/ux/lib/Locale/context';
|
|
4
|
-
import { Box, useMediaQuery } from '@mui/material';
|
|
5
3
|
import { Icon } from '@iconify/react';
|
|
6
|
-
import {
|
|
4
|
+
import { Box, useMediaQuery } from '@mui/material';
|
|
5
|
+
import PropTypes from 'prop-types';
|
|
7
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
7
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
8
|
function parseLogoUrl(component) {
|
|
@@ -21,17 +20,6 @@ export default function RelatedComponentsDialog({
|
|
|
21
20
|
t
|
|
22
21
|
} = useLocaleContext();
|
|
23
22
|
const isMobile = useMediaQuery(theme => theme.breakpoints.down('md'));
|
|
24
|
-
const requiredList = useMemo(() => {
|
|
25
|
-
if (!meta || !meta.components) {
|
|
26
|
-
return {};
|
|
27
|
-
}
|
|
28
|
-
return meta.components.reduce((acc, cur) => {
|
|
29
|
-
if (cur.required) {
|
|
30
|
-
acc[cur.did || cur.name] = true;
|
|
31
|
-
}
|
|
32
|
-
return acc;
|
|
33
|
-
}, {});
|
|
34
|
-
}, [meta]);
|
|
35
23
|
if (!meta, !show) {
|
|
36
24
|
return null;
|
|
37
25
|
}
|
|
@@ -56,7 +44,7 @@ export default function RelatedComponentsDialog({
|
|
|
56
44
|
width: '100%',
|
|
57
45
|
height: window.innerHeight
|
|
58
46
|
} : {
|
|
59
|
-
maxWidth:
|
|
47
|
+
maxWidth: 500,
|
|
60
48
|
minWidth: 300,
|
|
61
49
|
width: '80%'
|
|
62
50
|
}
|
|
@@ -95,8 +83,11 @@ export default function RelatedComponentsDialog({
|
|
|
95
83
|
if (!component.meta) {
|
|
96
84
|
return null;
|
|
97
85
|
}
|
|
86
|
+
const {
|
|
87
|
+
required
|
|
88
|
+
} = component;
|
|
98
89
|
let opacity;
|
|
99
|
-
if (installRelated ||
|
|
90
|
+
if (installRelated || required) {
|
|
100
91
|
opacity = 1;
|
|
101
92
|
} else {
|
|
102
93
|
opacity = 0.5;
|
|
@@ -127,10 +118,15 @@ export default function RelatedComponentsDialog({
|
|
|
127
118
|
flexDirection: 'column',
|
|
128
119
|
justifyContent: 'start',
|
|
129
120
|
alignItems: 'start',
|
|
121
|
+
flex: 1,
|
|
130
122
|
marginLeft: 2
|
|
131
123
|
},
|
|
132
124
|
children: [/*#__PURE__*/_jsxs(Box, {
|
|
133
125
|
sx: {
|
|
126
|
+
display: 'flex',
|
|
127
|
+
flexDirection: 'row',
|
|
128
|
+
justifyContent: 'start',
|
|
129
|
+
alignItems: 'center',
|
|
134
130
|
fontSize: '16px',
|
|
135
131
|
fontWeight: 'bold',
|
|
136
132
|
cursor: 'pointer',
|
|
@@ -144,7 +140,15 @@ export default function RelatedComponentsDialog({
|
|
|
144
140
|
onClick: () => {
|
|
145
141
|
window.open(`${component.bundleSource?.store || component.meta.homepage}/blocklets/${component.meta.did}`, '_blank');
|
|
146
142
|
},
|
|
147
|
-
children: [component.meta.title, /*#__PURE__*/
|
|
143
|
+
children: [component.meta.title, /*#__PURE__*/_jsx(Box, {
|
|
144
|
+
sx: {
|
|
145
|
+
display: required ? 'inline-block' : 'none',
|
|
146
|
+
fontSize: '12px',
|
|
147
|
+
fontWeight: 'bold',
|
|
148
|
+
marginLeft: 1
|
|
149
|
+
},
|
|
150
|
+
children: t('blocklet.component.required')
|
|
151
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
148
152
|
sx: {
|
|
149
153
|
paddingLeft: 1,
|
|
150
154
|
fontSize: '13px',
|
|
@@ -13,7 +13,7 @@ function useComponentsByBlockletMetaUrl(meta) {
|
|
|
13
13
|
const [components, setComponents] = useState([]);
|
|
14
14
|
const [loading, setLoading] = useState(false);
|
|
15
15
|
useEffect(() => {
|
|
16
|
-
if (!blockletMetaUrl) {
|
|
16
|
+
if (!blockletMetaUrl || meta?.inputUrl) {
|
|
17
17
|
return;
|
|
18
18
|
}
|
|
19
19
|
setLoading(true);
|
package/es/locales/ar.js
CHANGED
|
@@ -684,7 +684,9 @@ export default {
|
|
|
684
684
|
resourceChangedWarning: 'لقد قمت بتعديل المورد، يرجى حفظه في الوقت المناسب',
|
|
685
685
|
installResourceTip: 'يرجى إضافة المكون في التطبيق، عنوان URL للمكون:',
|
|
686
686
|
installResourceTip2: 'إذا كنت ترغب في رؤية المزيد من النصائح، يرجى زيارة',
|
|
687
|
-
installResourceHelp: 'وثيقة المساعدة'
|
|
687
|
+
installResourceHelp: 'وثيقة المساعدة',
|
|
688
|
+
componentIncluded: 'مدرج',
|
|
689
|
+
componentForceRequired: 'مجبر مطلوب'
|
|
688
690
|
}
|
|
689
691
|
},
|
|
690
692
|
dashboard: {
|
package/es/locales/de.js
CHANGED
|
@@ -684,7 +684,9 @@ export default {
|
|
|
684
684
|
resourceChangedWarning: 'Sie haben die Ressource geändert, bitte rechtzeitig speichern',
|
|
685
685
|
installResourceTip: 'Bitte fügen Sie das Bauteil in einer Anwendung hinzu, Bauteil-URL:',
|
|
686
686
|
installResourceTip2: 'Wenn du mehr Tipps sehen möchtest, besuche bitte',
|
|
687
|
-
installResourceHelp: 'Hilfe-Dokument'
|
|
687
|
+
installResourceHelp: 'Hilfe-Dokument',
|
|
688
|
+
componentIncluded: 'Eingeschlossen',
|
|
689
|
+
componentForceRequired: 'Erzwungen Erforderlich'
|
|
688
690
|
}
|
|
689
691
|
},
|
|
690
692
|
dashboard: {
|
package/es/locales/es.js
CHANGED
|
@@ -684,7 +684,9 @@ export default {
|
|
|
684
684
|
resourceChangedWarning: 'Ha modificado el recurso, por favor guárdelo a tiempo',
|
|
685
685
|
installResourceTip: 'Por favor agrega el componente en una aplicación, URL del componente:',
|
|
686
686
|
installResourceTip2: 'Si desea ver más consejos, visite {name}',
|
|
687
|
-
installResourceHelp: 'Ayuda Documento'
|
|
687
|
+
installResourceHelp: 'Ayuda Documento',
|
|
688
|
+
componentIncluded: 'Incluido',
|
|
689
|
+
componentForceRequired: 'Obligatorio Requerido'
|
|
688
690
|
}
|
|
689
691
|
},
|
|
690
692
|
dashboard: {
|
package/es/locales/fr.js
CHANGED
|
@@ -684,7 +684,9 @@ export default {
|
|
|
684
684
|
resourceChangedWarning: "Vous avez modifié la ressource, veuillez l'enregistrer à temps",
|
|
685
685
|
installResourceTip: 'Veuillez ajouter le composant dans une application, URL du composant:',
|
|
686
686
|
installResourceTip2: 'Si vous souhaitez voir plus de conseils, veuillez visiter',
|
|
687
|
-
installResourceHelp: "Document d'aide"
|
|
687
|
+
installResourceHelp: "Document d'aide",
|
|
688
|
+
componentIncluded: 'Inclus',
|
|
689
|
+
componentForceRequired: 'Forcé Requis'
|
|
688
690
|
}
|
|
689
691
|
},
|
|
690
692
|
dashboard: {
|
package/es/locales/hi.js
CHANGED
|
@@ -684,7 +684,9 @@ export default {
|
|
|
684
684
|
resourceChangedWarning: 'आपने संसाधन को संशोधित किया है, कृपया समय पर इसे सहेजें',
|
|
685
685
|
installResourceTip: 'कृपया एक ऐप्लिकेशन में घटक जोड़ें, घटक URL:',
|
|
686
686
|
installResourceTip2: 'अगर आप और टिप्स देखना चाहते हैं, कृपया यहाँ जाएं',
|
|
687
|
-
installResourceHelp: 'सहायता दस्तावेज़'
|
|
687
|
+
installResourceHelp: 'सहायता दस्तावेज़',
|
|
688
|
+
componentIncluded: 'शामिल',
|
|
689
|
+
componentForceRequired: 'मजबूरी आवश्यक'
|
|
688
690
|
}
|
|
689
691
|
},
|
|
690
692
|
dashboard: {
|
package/es/locales/i18n.db
CHANGED
|
Binary file
|
package/es/locales/id.js
CHANGED
|
@@ -684,7 +684,9 @@ export default {
|
|
|
684
684
|
resourceChangedWarning: 'Anda telah mengubah sumber daya, harap simpan tepat waktu',
|
|
685
685
|
installResourceTip: 'Silahkan tambahkan komponen dalam aplikasi, URL komponen:',
|
|
686
686
|
installResourceTip2: 'Jika Anda ingin melihat lebih banyak tips, silakan kunjungi',
|
|
687
|
-
installResourceHelp: 'Dokumen Bantuan'
|
|
687
|
+
installResourceHelp: 'Dokumen Bantuan',
|
|
688
|
+
componentIncluded: 'Termasuk',
|
|
689
|
+
componentForceRequired: 'Dipaksa Diperlukan'
|
|
688
690
|
}
|
|
689
691
|
},
|
|
690
692
|
dashboard: {
|
package/es/locales/ja.js
CHANGED
|
@@ -684,7 +684,9 @@ export default {
|
|
|
684
684
|
resourceChangedWarning: 'リソースを変更しましたので、時間内に保存してください',
|
|
685
685
|
installResourceTip: 'アプリケーションにコンポーネントを追加してください、コンポーネントURL:',
|
|
686
686
|
installResourceTip2: 'さらなるヒントを見たい場合は、{name} をご覧ください',
|
|
687
|
-
installResourceHelp: 'ヘルプドキュメント'
|
|
687
|
+
installResourceHelp: 'ヘルプドキュメント',
|
|
688
|
+
componentIncluded: '含まれています',
|
|
689
|
+
componentForceRequired: '強制必要'
|
|
688
690
|
}
|
|
689
691
|
},
|
|
690
692
|
dashboard: {
|
package/es/locales/ko.js
CHANGED
|
@@ -684,7 +684,9 @@ export default {
|
|
|
684
684
|
resourceChangedWarning: '리소스를 수정하였으니 시간 안에 저장하세요',
|
|
685
685
|
installResourceTip: '애플리케이션에 구성 요소를 추가하세요, 구성 요소 URL:',
|
|
686
686
|
installResourceTip2: '추가 팁을 보려면 {name}을(를) 방문하세요',
|
|
687
|
-
installResourceHelp: '도움말 문서'
|
|
687
|
+
installResourceHelp: '도움말 문서',
|
|
688
|
+
componentIncluded: '포함됨',
|
|
689
|
+
componentForceRequired: '강제 필수'
|
|
688
690
|
}
|
|
689
691
|
},
|
|
690
692
|
dashboard: {
|
package/es/locales/pt.js
CHANGED
|
@@ -684,7 +684,9 @@ export default {
|
|
|
684
684
|
resourceChangedWarning: 'Você modificou o recurso, por favor salve-o a tempo',
|
|
685
685
|
installResourceTip: 'Por favor, adicione o componente em um aplicativo, URL do componente:',
|
|
686
686
|
installResourceTip2: 'Se você deseja ver mais dicas, por favor visite',
|
|
687
|
-
installResourceHelp: 'Documento de ajuda'
|
|
687
|
+
installResourceHelp: 'Documento de ajuda',
|
|
688
|
+
componentIncluded: 'Incluído',
|
|
689
|
+
componentForceRequired: 'Forçado Obrigatório'
|
|
688
690
|
}
|
|
689
691
|
},
|
|
690
692
|
dashboard: {
|
package/es/locales/ru.js
CHANGED
|
@@ -684,7 +684,9 @@ export default {
|
|
|
684
684
|
resourceChangedWarning: 'Вы изменили ресурс, пожалуйста, сохраните его вовремя',
|
|
685
685
|
installResourceTip: 'Пожалуйста, добавьте компонент в приложение, URL компонента:',
|
|
686
686
|
installResourceTip2: 'Если вы хотите узнать больше советов, пожалуйста, посетите',
|
|
687
|
-
installResourceHelp: 'Документация помощи'
|
|
687
|
+
installResourceHelp: 'Документация помощи',
|
|
688
|
+
componentIncluded: 'Включено',
|
|
689
|
+
componentForceRequired: 'Принудительно Требуется'
|
|
688
690
|
}
|
|
689
691
|
},
|
|
690
692
|
dashboard: {
|
package/es/locales/th.js
CHANGED
|
@@ -684,7 +684,9 @@ export default {
|
|
|
684
684
|
resourceChangedWarning: 'คุณได้แก้ไขทรัพยากร โปรดบันทึกเวลาทันที',
|
|
685
685
|
installResourceTip: 'กรุณาเพิ่มคอมโพเนนต์ในแอปพลิเคชัน ที่อยู่ URL ของคอมโพเนนต์:',
|
|
686
686
|
installResourceTip2: 'หากคุณต้องการดูเคล็ดลับเพิ่มเติมโปรดเยือน',
|
|
687
|
-
installResourceHelp: 'เอกสารช่วยเหลือ'
|
|
687
|
+
installResourceHelp: 'เอกสารช่วยเหลือ',
|
|
688
|
+
componentIncluded: 'รวมอยู่ใน',
|
|
689
|
+
componentForceRequired: 'บังคับต้องการ'
|
|
688
690
|
}
|
|
689
691
|
},
|
|
690
692
|
dashboard: {
|
package/es/locales/vi.js
CHANGED
|
@@ -684,7 +684,9 @@ export default {
|
|
|
684
684
|
resourceChangedWarning: 'Bạn đã chỉnh sửa nguồn tài nguyên, vui lòng lưu lại đúng giờ',
|
|
685
685
|
installResourceTip: 'Vui lòng thêm thành phần vào ứng dụng, URL thành phần:',
|
|
686
686
|
installResourceTip2: 'Nếu bạn muốn xem thêm những mẹo khác, vui lòng truy cập',
|
|
687
|
-
installResourceHelp: 'Tài liệu giúp đỡ'
|
|
687
|
+
installResourceHelp: 'Tài liệu giúp đỡ',
|
|
688
|
+
componentIncluded: 'Bao gồm',
|
|
689
|
+
componentForceRequired: 'Bắt Buộc Yêu Cầu'
|
|
688
690
|
}
|
|
689
691
|
},
|
|
690
692
|
dashboard: {
|
package/es/locales/zh-tw.js
CHANGED
|
@@ -684,7 +684,9 @@ export default {
|
|
|
684
684
|
resourceChangedWarning: '您已修改資源,請儘速保存',
|
|
685
685
|
installResourceTip: '請將元件新增到應用程式中,元件URL:',
|
|
686
686
|
installResourceTip2: '如果您想查看更多提示,請訪問 {name}',
|
|
687
|
-
installResourceHelp: '幫助文件'
|
|
687
|
+
installResourceHelp: '幫助文件',
|
|
688
|
+
componentIncluded: '已包含',
|
|
689
|
+
componentForceRequired: '強制要求'
|
|
688
690
|
}
|
|
689
691
|
},
|
|
690
692
|
dashboard: {
|
package/es/locales/zh.js
CHANGED
|
@@ -4,12 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = RelatedComponentsDialog;
|
|
7
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
8
7
|
var _Dialog = _interopRequireDefault(require("@arcblock/ux/lib/Dialog"));
|
|
9
8
|
var _context = require("@arcblock/ux/lib/Locale/context");
|
|
10
|
-
var _material = require("@mui/material");
|
|
11
9
|
var _react = require("@iconify/react");
|
|
12
|
-
var
|
|
10
|
+
var _material = require("@mui/material");
|
|
11
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
14
|
function parseLogoUrl(component) {
|
|
@@ -29,17 +28,6 @@ function RelatedComponentsDialog(_ref) {
|
|
|
29
28
|
t
|
|
30
29
|
} = (0, _context.useLocaleContext)();
|
|
31
30
|
const isMobile = (0, _material.useMediaQuery)(theme => theme.breakpoints.down('md'));
|
|
32
|
-
const requiredList = (0, _react2.useMemo)(() => {
|
|
33
|
-
if (!meta || !meta.components) {
|
|
34
|
-
return {};
|
|
35
|
-
}
|
|
36
|
-
return meta.components.reduce((acc, cur) => {
|
|
37
|
-
if (cur.required) {
|
|
38
|
-
acc[cur.did || cur.name] = true;
|
|
39
|
-
}
|
|
40
|
-
return acc;
|
|
41
|
-
}, {});
|
|
42
|
-
}, [meta]);
|
|
43
31
|
if (!meta, !show) {
|
|
44
32
|
return null;
|
|
45
33
|
}
|
|
@@ -64,7 +52,7 @@ function RelatedComponentsDialog(_ref) {
|
|
|
64
52
|
width: '100%',
|
|
65
53
|
height: window.innerHeight
|
|
66
54
|
} : {
|
|
67
|
-
maxWidth:
|
|
55
|
+
maxWidth: 500,
|
|
68
56
|
minWidth: 300,
|
|
69
57
|
width: '80%'
|
|
70
58
|
}
|
|
@@ -103,8 +91,11 @@ function RelatedComponentsDialog(_ref) {
|
|
|
103
91
|
if (!component.meta) {
|
|
104
92
|
return null;
|
|
105
93
|
}
|
|
94
|
+
const {
|
|
95
|
+
required
|
|
96
|
+
} = component;
|
|
106
97
|
let opacity;
|
|
107
|
-
if (installRelated ||
|
|
98
|
+
if (installRelated || required) {
|
|
108
99
|
opacity = 1;
|
|
109
100
|
} else {
|
|
110
101
|
opacity = 0.5;
|
|
@@ -135,10 +126,15 @@ function RelatedComponentsDialog(_ref) {
|
|
|
135
126
|
flexDirection: 'column',
|
|
136
127
|
justifyContent: 'start',
|
|
137
128
|
alignItems: 'start',
|
|
129
|
+
flex: 1,
|
|
138
130
|
marginLeft: 2
|
|
139
131
|
},
|
|
140
132
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_material.Box, {
|
|
141
133
|
sx: {
|
|
134
|
+
display: 'flex',
|
|
135
|
+
flexDirection: 'row',
|
|
136
|
+
justifyContent: 'start',
|
|
137
|
+
alignItems: 'center',
|
|
142
138
|
fontSize: '16px',
|
|
143
139
|
fontWeight: 'bold',
|
|
144
140
|
cursor: 'pointer',
|
|
@@ -153,7 +149,15 @@ function RelatedComponentsDialog(_ref) {
|
|
|
153
149
|
var _component$bundleSour2;
|
|
154
150
|
window.open("".concat(((_component$bundleSour2 = component.bundleSource) === null || _component$bundleSour2 === void 0 ? void 0 : _component$bundleSour2.store) || component.meta.homepage, "/blocklets/").concat(component.meta.did), '_blank');
|
|
155
151
|
},
|
|
156
|
-
children: [component.meta.title, /*#__PURE__*/(0, _jsxRuntime.
|
|
152
|
+
children: [component.meta.title, /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Box, {
|
|
153
|
+
sx: {
|
|
154
|
+
display: required ? 'inline-block' : 'none',
|
|
155
|
+
fontSize: '12px',
|
|
156
|
+
fontWeight: 'bold',
|
|
157
|
+
marginLeft: 1
|
|
158
|
+
},
|
|
159
|
+
children: t('blocklet.component.required')
|
|
160
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_material.Box, {
|
|
157
161
|
sx: {
|
|
158
162
|
paddingLeft: 1,
|
|
159
163
|
fontSize: '13px',
|
|
@@ -19,7 +19,7 @@ function useComponentsByBlockletMetaUrl(meta) {
|
|
|
19
19
|
const [components, setComponents] = (0, _react.useState)([]);
|
|
20
20
|
const [loading, setLoading] = (0, _react.useState)(false);
|
|
21
21
|
(0, _react.useEffect)(() => {
|
|
22
|
-
if (!blockletMetaUrl) {
|
|
22
|
+
if (!blockletMetaUrl || meta !== null && meta !== void 0 && meta.inputUrl) {
|
|
23
23
|
return;
|
|
24
24
|
}
|
|
25
25
|
setLoading(true);
|
package/lib/locales/ar.js
CHANGED
|
@@ -690,7 +690,9 @@ var _default = exports.default = {
|
|
|
690
690
|
resourceChangedWarning: 'لقد قمت بتعديل المورد، يرجى حفظه في الوقت المناسب',
|
|
691
691
|
installResourceTip: 'يرجى إضافة المكون في التطبيق، عنوان URL للمكون:',
|
|
692
692
|
installResourceTip2: 'إذا كنت ترغب في رؤية المزيد من النصائح، يرجى زيارة',
|
|
693
|
-
installResourceHelp: 'وثيقة المساعدة'
|
|
693
|
+
installResourceHelp: 'وثيقة المساعدة',
|
|
694
|
+
componentIncluded: 'مدرج',
|
|
695
|
+
componentForceRequired: 'مجبر مطلوب'
|
|
694
696
|
}
|
|
695
697
|
},
|
|
696
698
|
dashboard: {
|
package/lib/locales/de.js
CHANGED
|
@@ -690,7 +690,9 @@ var _default = exports.default = {
|
|
|
690
690
|
resourceChangedWarning: 'Sie haben die Ressource geändert, bitte rechtzeitig speichern',
|
|
691
691
|
installResourceTip: 'Bitte fügen Sie das Bauteil in einer Anwendung hinzu, Bauteil-URL:',
|
|
692
692
|
installResourceTip2: 'Wenn du mehr Tipps sehen möchtest, besuche bitte',
|
|
693
|
-
installResourceHelp: 'Hilfe-Dokument'
|
|
693
|
+
installResourceHelp: 'Hilfe-Dokument',
|
|
694
|
+
componentIncluded: 'Eingeschlossen',
|
|
695
|
+
componentForceRequired: 'Erzwungen Erforderlich'
|
|
694
696
|
}
|
|
695
697
|
},
|
|
696
698
|
dashboard: {
|
package/lib/locales/es.js
CHANGED
|
@@ -690,7 +690,9 @@ var _default = exports.default = {
|
|
|
690
690
|
resourceChangedWarning: 'Ha modificado el recurso, por favor guárdelo a tiempo',
|
|
691
691
|
installResourceTip: 'Por favor agrega el componente en una aplicación, URL del componente:',
|
|
692
692
|
installResourceTip2: 'Si desea ver más consejos, visite {name}',
|
|
693
|
-
installResourceHelp: 'Ayuda Documento'
|
|
693
|
+
installResourceHelp: 'Ayuda Documento',
|
|
694
|
+
componentIncluded: 'Incluido',
|
|
695
|
+
componentForceRequired: 'Obligatorio Requerido'
|
|
694
696
|
}
|
|
695
697
|
},
|
|
696
698
|
dashboard: {
|
package/lib/locales/fr.js
CHANGED
|
@@ -690,7 +690,9 @@ var _default = exports.default = {
|
|
|
690
690
|
resourceChangedWarning: "Vous avez modifié la ressource, veuillez l'enregistrer à temps",
|
|
691
691
|
installResourceTip: 'Veuillez ajouter le composant dans une application, URL du composant:',
|
|
692
692
|
installResourceTip2: 'Si vous souhaitez voir plus de conseils, veuillez visiter',
|
|
693
|
-
installResourceHelp: "Document d'aide"
|
|
693
|
+
installResourceHelp: "Document d'aide",
|
|
694
|
+
componentIncluded: 'Inclus',
|
|
695
|
+
componentForceRequired: 'Forcé Requis'
|
|
694
696
|
}
|
|
695
697
|
},
|
|
696
698
|
dashboard: {
|
package/lib/locales/hi.js
CHANGED
|
@@ -690,7 +690,9 @@ var _default = exports.default = {
|
|
|
690
690
|
resourceChangedWarning: 'आपने संसाधन को संशोधित किया है, कृपया समय पर इसे सहेजें',
|
|
691
691
|
installResourceTip: 'कृपया एक ऐप्लिकेशन में घटक जोड़ें, घटक URL:',
|
|
692
692
|
installResourceTip2: 'अगर आप और टिप्स देखना चाहते हैं, कृपया यहाँ जाएं',
|
|
693
|
-
installResourceHelp: 'सहायता दस्तावेज़'
|
|
693
|
+
installResourceHelp: 'सहायता दस्तावेज़',
|
|
694
|
+
componentIncluded: 'शामिल',
|
|
695
|
+
componentForceRequired: 'मजबूरी आवश्यक'
|
|
694
696
|
}
|
|
695
697
|
},
|
|
696
698
|
dashboard: {
|
package/lib/locales/i18n.db
CHANGED
|
Binary file
|
package/lib/locales/id.js
CHANGED
|
@@ -690,7 +690,9 @@ var _default = exports.default = {
|
|
|
690
690
|
resourceChangedWarning: 'Anda telah mengubah sumber daya, harap simpan tepat waktu',
|
|
691
691
|
installResourceTip: 'Silahkan tambahkan komponen dalam aplikasi, URL komponen:',
|
|
692
692
|
installResourceTip2: 'Jika Anda ingin melihat lebih banyak tips, silakan kunjungi',
|
|
693
|
-
installResourceHelp: 'Dokumen Bantuan'
|
|
693
|
+
installResourceHelp: 'Dokumen Bantuan',
|
|
694
|
+
componentIncluded: 'Termasuk',
|
|
695
|
+
componentForceRequired: 'Dipaksa Diperlukan'
|
|
694
696
|
}
|
|
695
697
|
},
|
|
696
698
|
dashboard: {
|
package/lib/locales/ja.js
CHANGED
|
@@ -690,7 +690,9 @@ var _default = exports.default = {
|
|
|
690
690
|
resourceChangedWarning: 'リソースを変更しましたので、時間内に保存してください',
|
|
691
691
|
installResourceTip: 'アプリケーションにコンポーネントを追加してください、コンポーネントURL:',
|
|
692
692
|
installResourceTip2: 'さらなるヒントを見たい場合は、{name} をご覧ください',
|
|
693
|
-
installResourceHelp: 'ヘルプドキュメント'
|
|
693
|
+
installResourceHelp: 'ヘルプドキュメント',
|
|
694
|
+
componentIncluded: '含まれています',
|
|
695
|
+
componentForceRequired: '強制必要'
|
|
694
696
|
}
|
|
695
697
|
},
|
|
696
698
|
dashboard: {
|
package/lib/locales/ko.js
CHANGED
|
@@ -690,7 +690,9 @@ var _default = exports.default = {
|
|
|
690
690
|
resourceChangedWarning: '리소스를 수정하였으니 시간 안에 저장하세요',
|
|
691
691
|
installResourceTip: '애플리케이션에 구성 요소를 추가하세요, 구성 요소 URL:',
|
|
692
692
|
installResourceTip2: '추가 팁을 보려면 {name}을(를) 방문하세요',
|
|
693
|
-
installResourceHelp: '도움말 문서'
|
|
693
|
+
installResourceHelp: '도움말 문서',
|
|
694
|
+
componentIncluded: '포함됨',
|
|
695
|
+
componentForceRequired: '강제 필수'
|
|
694
696
|
}
|
|
695
697
|
},
|
|
696
698
|
dashboard: {
|
package/lib/locales/pt.js
CHANGED
|
@@ -690,7 +690,9 @@ var _default = exports.default = {
|
|
|
690
690
|
resourceChangedWarning: 'Você modificou o recurso, por favor salve-o a tempo',
|
|
691
691
|
installResourceTip: 'Por favor, adicione o componente em um aplicativo, URL do componente:',
|
|
692
692
|
installResourceTip2: 'Se você deseja ver mais dicas, por favor visite',
|
|
693
|
-
installResourceHelp: 'Documento de ajuda'
|
|
693
|
+
installResourceHelp: 'Documento de ajuda',
|
|
694
|
+
componentIncluded: 'Incluído',
|
|
695
|
+
componentForceRequired: 'Forçado Obrigatório'
|
|
694
696
|
}
|
|
695
697
|
},
|
|
696
698
|
dashboard: {
|
package/lib/locales/ru.js
CHANGED
|
@@ -690,7 +690,9 @@ var _default = exports.default = {
|
|
|
690
690
|
resourceChangedWarning: 'Вы изменили ресурс, пожалуйста, сохраните его вовремя',
|
|
691
691
|
installResourceTip: 'Пожалуйста, добавьте компонент в приложение, URL компонента:',
|
|
692
692
|
installResourceTip2: 'Если вы хотите узнать больше советов, пожалуйста, посетите',
|
|
693
|
-
installResourceHelp: 'Документация помощи'
|
|
693
|
+
installResourceHelp: 'Документация помощи',
|
|
694
|
+
componentIncluded: 'Включено',
|
|
695
|
+
componentForceRequired: 'Принудительно Требуется'
|
|
694
696
|
}
|
|
695
697
|
},
|
|
696
698
|
dashboard: {
|
package/lib/locales/th.js
CHANGED
|
@@ -690,7 +690,9 @@ var _default = exports.default = {
|
|
|
690
690
|
resourceChangedWarning: 'คุณได้แก้ไขทรัพยากร โปรดบันทึกเวลาทันที',
|
|
691
691
|
installResourceTip: 'กรุณาเพิ่มคอมโพเนนต์ในแอปพลิเคชัน ที่อยู่ URL ของคอมโพเนนต์:',
|
|
692
692
|
installResourceTip2: 'หากคุณต้องการดูเคล็ดลับเพิ่มเติมโปรดเยือน',
|
|
693
|
-
installResourceHelp: 'เอกสารช่วยเหลือ'
|
|
693
|
+
installResourceHelp: 'เอกสารช่วยเหลือ',
|
|
694
|
+
componentIncluded: 'รวมอยู่ใน',
|
|
695
|
+
componentForceRequired: 'บังคับต้องการ'
|
|
694
696
|
}
|
|
695
697
|
},
|
|
696
698
|
dashboard: {
|
package/lib/locales/vi.js
CHANGED
|
@@ -690,7 +690,9 @@ var _default = exports.default = {
|
|
|
690
690
|
resourceChangedWarning: 'Bạn đã chỉnh sửa nguồn tài nguyên, vui lòng lưu lại đúng giờ',
|
|
691
691
|
installResourceTip: 'Vui lòng thêm thành phần vào ứng dụng, URL thành phần:',
|
|
692
692
|
installResourceTip2: 'Nếu bạn muốn xem thêm những mẹo khác, vui lòng truy cập',
|
|
693
|
-
installResourceHelp: 'Tài liệu giúp đỡ'
|
|
693
|
+
installResourceHelp: 'Tài liệu giúp đỡ',
|
|
694
|
+
componentIncluded: 'Bao gồm',
|
|
695
|
+
componentForceRequired: 'Bắt Buộc Yêu Cầu'
|
|
694
696
|
}
|
|
695
697
|
},
|
|
696
698
|
dashboard: {
|
package/lib/locales/zh-tw.js
CHANGED
|
@@ -690,7 +690,9 @@ var _default = exports.default = {
|
|
|
690
690
|
resourceChangedWarning: '您已修改資源,請儘速保存',
|
|
691
691
|
installResourceTip: '請將元件新增到應用程式中,元件URL:',
|
|
692
692
|
installResourceTip2: '如果您想查看更多提示,請訪問 {name}',
|
|
693
|
-
installResourceHelp: '幫助文件'
|
|
693
|
+
installResourceHelp: '幫助文件',
|
|
694
|
+
componentIncluded: '已包含',
|
|
695
|
+
componentForceRequired: '強制要求'
|
|
694
696
|
}
|
|
695
697
|
},
|
|
696
698
|
dashboard: {
|
package/lib/locales/zh.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abtnode/ux",
|
|
3
|
-
"version": "1.16.24-beta-
|
|
3
|
+
"version": "1.16.24-beta-3d2e25fd",
|
|
4
4
|
"description": "UX components shared across abtnode packages",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@abtnode/auth": "1.16.24-beta-
|
|
33
|
-
"@abtnode/constant": "1.16.24-beta-
|
|
34
|
-
"@abtnode/util": "1.16.24-beta-
|
|
32
|
+
"@abtnode/auth": "1.16.24-beta-3d2e25fd",
|
|
33
|
+
"@abtnode/constant": "1.16.24-beta-3d2e25fd",
|
|
34
|
+
"@abtnode/util": "1.16.24-beta-3d2e25fd",
|
|
35
35
|
"@ahooksjs/use-url-state": "^3.5.1",
|
|
36
36
|
"@arcblock/did": "^1.18.110",
|
|
37
37
|
"@arcblock/did-connect": "^2.9.38",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"@arcblock/react-hooks": "^2.9.38",
|
|
42
42
|
"@arcblock/terminal": "^2.9.38",
|
|
43
43
|
"@arcblock/ux": "^2.9.38",
|
|
44
|
-
"@blocklet/constant": "1.16.24-beta-
|
|
44
|
+
"@blocklet/constant": "1.16.24-beta-3d2e25fd",
|
|
45
45
|
"@blocklet/launcher-layout": "2.2.53",
|
|
46
46
|
"@blocklet/list": "^0.12.71",
|
|
47
|
-
"@blocklet/meta": "1.16.24-beta-
|
|
47
|
+
"@blocklet/meta": "1.16.24-beta-3d2e25fd",
|
|
48
48
|
"@blocklet/ui-react": "^2.9.38",
|
|
49
49
|
"@blocklet/uploader": "^0.0.73",
|
|
50
50
|
"@emotion/react": "^11.10.4",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"jest": "^29.7.0",
|
|
108
108
|
"jest-environment-jsdom": "^29.7.0"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "6dce348d0d02a6c0ef5735a0b73bfd8b2e1503fd",
|
|
111
111
|
"exports": {
|
|
112
112
|
".": {
|
|
113
113
|
"import": "./es/index.js",
|