@blocklet/pages-kit-inner-components 0.4.99 → 0.4.101
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 +378 -0
- package/lib/cjs/chunks/array-BMkoDb_A.js +507 -0
- package/lib/cjs/chunks/config-color-Da8lKUL0.js +21 -0
- package/lib/cjs/chunks/{draft-data-Quz8toC_.js → draft-data-UP_7unuZ.js} +1 -1
- package/lib/cjs/chunks/home-CMaoUDJD.js +36 -0
- package/lib/cjs/chunks/publish-button-ByqPCT2Y.js +1 -0
- package/lib/cjs/chunks/state-BoXTl4DM.js +1 -0
- package/lib/cjs/home.js +1 -1
- package/lib/cjs/locales.js +1 -1
- package/lib/cjs/setting.js +3 -23
- package/lib/cjs/theme.js +3 -3
- package/lib/es/add-component.js +2991 -0
- package/lib/es/chunks/array-C85JziT_.js +2086 -0
- package/lib/es/chunks/config-color-B-ax03qd.js +328 -0
- package/lib/es/chunks/{draft-data-B1GJKphX.js → draft-data-0n1CKRWr.js} +1 -1
- package/lib/es/chunks/home-BBfstt15.js +470 -0
- package/lib/es/chunks/{publish-button-BY10Od4q.js → publish-button-OwaTBakj.js} +8 -7
- package/lib/es/chunks/state-DsXKwImw.js +425 -0
- package/lib/es/home.js +10 -8
- package/lib/es/locales.js +17 -179
- package/lib/es/setting.js +929 -1112
- package/lib/es/theme.js +53 -59
- package/package.json +21 -19
- package/lib/cjs/chunks/home-D9IcqQld.js +0 -542
- package/lib/cjs/chunks/publish-button-6WQRr1s7.js +0 -1
- package/lib/cjs/chunks/state-eTpgUKhB.js +0 -1
- package/lib/es/chunks/home-Cclj5ETj.js +0 -2357
- package/lib/es/chunks/state-CYDNg8EG.js +0 -420
package/lib/es/locales.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { flatten as e } from "flat";
|
|
2
2
|
const t = e({
|
|
3
|
+
cannotFindPropertyKey: "Cannot find property key: {key}",
|
|
3
4
|
deleteProjectAlertPrefix: "This will permanently delete the project named",
|
|
4
5
|
resetProjectAlertPrefix: "This will reset the project named",
|
|
5
6
|
deleteProjectAlertSuffix: "project",
|
|
@@ -94,8 +95,9 @@ const t = e({
|
|
|
94
95
|
livePreview: "Live Preview",
|
|
95
96
|
production: "Production",
|
|
96
97
|
draft: "Draft",
|
|
97
|
-
configBackground: "Config background",
|
|
98
98
|
configColor: "Config color",
|
|
99
|
+
configColorMuiTheme: "Theme Color",
|
|
100
|
+
configColorCustomColor: "Custom Color",
|
|
99
101
|
import: "Import",
|
|
100
102
|
importDialog: {
|
|
101
103
|
upload: {
|
|
@@ -125,7 +127,7 @@ const t = e({
|
|
|
125
127
|
},
|
|
126
128
|
components: {
|
|
127
129
|
components: "Components",
|
|
128
|
-
addComponent: "Add
|
|
130
|
+
addComponent: "Add Component",
|
|
129
131
|
basicGroup: "Basic",
|
|
130
132
|
customGroup: "Custom",
|
|
131
133
|
resourceGroup: "Resource",
|
|
@@ -203,7 +205,8 @@ const t = e({
|
|
|
203
205
|
customImage: "Custom image/video",
|
|
204
206
|
boxed: "Nested box mode",
|
|
205
207
|
bigMode: "Big title mode",
|
|
206
|
-
|
|
208
|
+
paddingY: "Vertical Padding",
|
|
209
|
+
paddingX: "Horizontal Padding",
|
|
207
210
|
maxWidth: "Max Width",
|
|
208
211
|
stickyHeader: "Sticky Header",
|
|
209
212
|
translucent: "Translucent Mode",
|
|
@@ -404,92 +407,10 @@ const t = e({
|
|
|
404
407
|
redo: "Redo"
|
|
405
408
|
},
|
|
406
409
|
style: {
|
|
407
|
-
title: "
|
|
408
|
-
preview: {
|
|
409
|
-
content: "Preview Content"
|
|
410
|
-
},
|
|
411
|
-
width: {
|
|
412
|
-
title: "Width",
|
|
413
|
-
custom: "Custom Width"
|
|
414
|
-
},
|
|
415
|
-
height: {
|
|
416
|
-
title: "Height",
|
|
417
|
-
custom: "Custom Height"
|
|
418
|
-
},
|
|
419
|
-
spacing: {
|
|
420
|
-
title: "Spacing"
|
|
421
|
-
},
|
|
422
|
-
controls: {
|
|
423
|
-
unlink: "Configure each property separately",
|
|
424
|
-
link: "Configure all properties uniformly"
|
|
425
|
-
},
|
|
426
|
-
padding: {
|
|
427
|
-
title: "Padding",
|
|
428
|
-
description: "Set the distance between the element content and the border",
|
|
429
|
-
top: "Top",
|
|
430
|
-
right: "Right",
|
|
431
|
-
bottom: "Bottom",
|
|
432
|
-
left: "Left",
|
|
433
|
-
link: "Link all padding",
|
|
434
|
-
unlink: "Unlink all padding"
|
|
435
|
-
},
|
|
436
|
-
margin: {
|
|
437
|
-
title: "Margin",
|
|
438
|
-
description: "Set the distance between the element and the other elements",
|
|
439
|
-
top: "Top",
|
|
440
|
-
right: "Right",
|
|
441
|
-
bottom: "Bottom",
|
|
442
|
-
left: "Left",
|
|
443
|
-
link: "Link all margin",
|
|
444
|
-
unlink: "Unlink all margin"
|
|
445
|
-
},
|
|
446
|
-
size: {
|
|
447
|
-
title: "Size",
|
|
448
|
-
auto: "Auto",
|
|
449
|
-
full: "100%",
|
|
450
|
-
threeQuarters: "75%",
|
|
451
|
-
half: "50%",
|
|
452
|
-
quarter: "25%",
|
|
453
|
-
custom: "Custom",
|
|
454
|
-
px: "px",
|
|
455
|
-
percent: "%"
|
|
456
|
-
},
|
|
457
|
-
border: {
|
|
458
|
-
title: "Border",
|
|
459
|
-
style: "Border Style",
|
|
460
|
-
none: "None",
|
|
461
|
-
solid: "Solid",
|
|
462
|
-
dashed: "Dashed",
|
|
463
|
-
dotted: "Dotted",
|
|
464
|
-
width: "Border Width",
|
|
465
|
-
color: "Border Color"
|
|
466
|
-
},
|
|
467
|
-
borderRadius: {
|
|
468
|
-
title: "Border Radius",
|
|
469
|
-
description: "Set the radius of the element border",
|
|
470
|
-
all: "All",
|
|
471
|
-
topLeft: "Top Left",
|
|
472
|
-
topRight: "Top Right",
|
|
473
|
-
bottomLeft: "Bottom Left",
|
|
474
|
-
bottomRight: "Bottom Right"
|
|
475
|
-
},
|
|
476
|
-
shadow: {
|
|
477
|
-
title: "Shadow",
|
|
478
|
-
preset: "Shadow Preset",
|
|
479
|
-
description: "Set the shadow of the element",
|
|
480
|
-
none: "None",
|
|
481
|
-
light: "Light",
|
|
482
|
-
medium: "Medium",
|
|
483
|
-
strong: "Strong",
|
|
484
|
-
heavy: "Heavy",
|
|
485
|
-
intense: "Intense"
|
|
486
|
-
},
|
|
487
|
-
background: {
|
|
488
|
-
title: "Background",
|
|
489
|
-
color: "Background Color"
|
|
490
|
-
}
|
|
410
|
+
title: "Global Style"
|
|
491
411
|
}
|
|
492
|
-
}),
|
|
412
|
+
}), a = e({
|
|
413
|
+
cannotFindPropertyKey: "无法找到属性键:{key}",
|
|
493
414
|
deleteProjectAlertPrefix: "这将永久删除名称为",
|
|
494
415
|
resetProjectAlertPrefix: "这将重置名称为",
|
|
495
416
|
deleteProjectAlertSuffix: "的项目",
|
|
@@ -584,8 +505,9 @@ const t = e({
|
|
|
584
505
|
livePreview: "实时预览",
|
|
585
506
|
production: "正式版",
|
|
586
507
|
draft: "草稿",
|
|
587
|
-
configBackground: "设置背景",
|
|
588
508
|
configColor: "设置颜色",
|
|
509
|
+
configColorMuiTheme: "主题色",
|
|
510
|
+
configColorCustomColor: "自定义颜色",
|
|
589
511
|
import: "导入",
|
|
590
512
|
importDialog: {
|
|
591
513
|
upload: {
|
|
@@ -615,7 +537,7 @@ const t = e({
|
|
|
615
537
|
},
|
|
616
538
|
components: {
|
|
617
539
|
components: "组件",
|
|
618
|
-
addComponent: "
|
|
540
|
+
addComponent: "添加组件",
|
|
619
541
|
basicGroup: "基础组件",
|
|
620
542
|
customGroup: "自定义组件",
|
|
621
543
|
resourceGroup: "资源组件",
|
|
@@ -693,7 +615,8 @@ const t = e({
|
|
|
693
615
|
customImage: "自定义图片/视频",
|
|
694
616
|
boxed: "嵌套盒子模式",
|
|
695
617
|
bigMode: "大标题模式",
|
|
696
|
-
|
|
618
|
+
paddingY: "上下内边距",
|
|
619
|
+
paddingX: "左右内边距",
|
|
697
620
|
maxWidth: "最大宽度",
|
|
698
621
|
stickyHeader: "固定导航栏",
|
|
699
622
|
translucent: "沉浸式",
|
|
@@ -903,94 +826,9 @@ const t = e({
|
|
|
903
826
|
redo: "重做"
|
|
904
827
|
},
|
|
905
828
|
style: {
|
|
906
|
-
title: "
|
|
907
|
-
preview: {
|
|
908
|
-
content: "预览内容"
|
|
909
|
-
},
|
|
910
|
-
width: {
|
|
911
|
-
title: "宽度",
|
|
912
|
-
custom: "自定义宽度"
|
|
913
|
-
},
|
|
914
|
-
height: {
|
|
915
|
-
title: "高度",
|
|
916
|
-
custom: "自定义高度"
|
|
917
|
-
},
|
|
918
|
-
spacing: {
|
|
919
|
-
title: "间距设置"
|
|
920
|
-
},
|
|
921
|
-
controls: {
|
|
922
|
-
unlink: "单独配置属性",
|
|
923
|
-
link: "统一配置属性"
|
|
924
|
-
},
|
|
925
|
-
padding: {
|
|
926
|
-
title: "内边距",
|
|
927
|
-
description: "设置元素内容与边框之间的距离",
|
|
928
|
-
top: "上边距",
|
|
929
|
-
right: "右边距",
|
|
930
|
-
bottom: "下边距",
|
|
931
|
-
left: "左边距",
|
|
932
|
-
link: "统一设置所有边距",
|
|
933
|
-
unlink: "分别设置各边距"
|
|
934
|
-
},
|
|
935
|
-
margin: {
|
|
936
|
-
title: "外边距",
|
|
937
|
-
description: "设置元素与其他元素之间的距离",
|
|
938
|
-
top: "上边距",
|
|
939
|
-
right: "右边距",
|
|
940
|
-
bottom: "下边距",
|
|
941
|
-
left: "左边距",
|
|
942
|
-
link: "统一设置所有边距",
|
|
943
|
-
unlink: "分别设置各边距"
|
|
944
|
-
},
|
|
945
|
-
size: {
|
|
946
|
-
title: "尺寸设置",
|
|
947
|
-
auto: "自动",
|
|
948
|
-
full: "100%",
|
|
949
|
-
threeQuarters: "75%",
|
|
950
|
-
half: "50%",
|
|
951
|
-
quarter: "25%",
|
|
952
|
-
custom: "自定义",
|
|
953
|
-
px: "px",
|
|
954
|
-
percent: "%"
|
|
955
|
-
},
|
|
956
|
-
border: {
|
|
957
|
-
title: "边框设置",
|
|
958
|
-
style: "边框样式",
|
|
959
|
-
none: "无边框",
|
|
960
|
-
solid: "实线",
|
|
961
|
-
dashed: "虚线",
|
|
962
|
-
dotted: "点线",
|
|
963
|
-
width: "边框宽度",
|
|
964
|
-
color: "边框颜色"
|
|
965
|
-
},
|
|
966
|
-
borderRadius: {
|
|
967
|
-
title: "圆角设置",
|
|
968
|
-
description: "设置元素边框的圆角程度",
|
|
969
|
-
all: "所有角",
|
|
970
|
-
topLeft: "左上角",
|
|
971
|
-
topRight: "右上角",
|
|
972
|
-
bottomLeft: "左下角",
|
|
973
|
-
bottomRight: "右下角",
|
|
974
|
-
link: "统一设置所有圆角",
|
|
975
|
-
unlink: "分别设置各圆角"
|
|
976
|
-
},
|
|
977
|
-
shadow: {
|
|
978
|
-
title: "阴影设置",
|
|
979
|
-
preset: "阴影预设",
|
|
980
|
-
description: "设置元素的阴影效果",
|
|
981
|
-
none: "无阴影",
|
|
982
|
-
light: "轻微阴影",
|
|
983
|
-
medium: "中等阴影",
|
|
984
|
-
strong: "强烈阴影",
|
|
985
|
-
heavy: "重型阴影",
|
|
986
|
-
intense: "强烈扩散阴影"
|
|
987
|
-
},
|
|
988
|
-
background: {
|
|
989
|
-
title: "背景设置",
|
|
990
|
-
color: "背景颜色"
|
|
991
|
-
}
|
|
829
|
+
title: "公共样式"
|
|
992
830
|
}
|
|
993
|
-
}),
|
|
831
|
+
}), r = { en: t, zh: a };
|
|
994
832
|
export {
|
|
995
|
-
|
|
833
|
+
r as translations
|
|
996
834
|
};
|